qq 1 viikko sitten
vanhempi
commit
58f38ce2e4

+ 3 - 1
package.json

@@ -43,5 +43,7 @@
     "vite": "5.0.4",
     "vite-plugin-compression": "0.5.1",
     "vite-plugin-svg-icons": "2.0.1"
-  }
+  },
+  "main": "vite.config.js",
+  "keywords": []
 }

+ 8 - 3
src/components/AmatterClass/index.vue

@@ -45,7 +45,7 @@
                 </div>
                 <span class="required">*</span>
               </template>
-            
+
             </el-descriptions-item>
           </el-descriptions> -->
         </div>
@@ -797,13 +797,17 @@ const {
   xue_li,
   yrdw_industry_involved,
   yjrc_qianyue_date,
+  rclk_dwxz,
+  rclk_dzqx,
 } = proxy.useDict(
   "yjrc_type",
   "politics_status",
   "zheng_jian_type",
   "xue_li",
   "yrdw_industry_involved",
-  "yjrc_qianyue_date"
+  "yjrc_qianyue_date",
+  "rclk_dwxz",
+  "rclk_dzqx"
 );
 const personFormLoading = ref(false);
 const personFormRef = ref(null);
@@ -1229,7 +1233,8 @@ const handleUpdateMaterial = (row) => {
 const getList = () => {
   materialLoading.value = true;
   listConifg({
-    cardType: route.query.type,
+    // cardType: route.query.type,
+    cardType: 'A',
   })
     .then((res) => {
       materialTable.value = res.rows;

+ 2 - 1
src/components/BmatterClass/index.vue

@@ -1,6 +1,7 @@
 <!-- @format -->
 <template>
-  <div></div>
+  <div>111</div>
 </template>
 <script setup></script>
 <style lang=""></style>
+

+ 1 - 1
src/views/login.vue

@@ -8,7 +8,7 @@
       :rules="loginRules"
       class="login-form"
     >
-      <h3 class="title">英才卡申请平台</h3>
+      <h3 class="title">英才卡管理平台</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"

+ 41 - 0
src/views/materialApplication/indexb.vue

@@ -0,0 +1,41 @@
+<!-- @format -->
+
+<template>
+  <div class="app-container">
+    <BmatterClass
+      v-model:materialCalssId="materialCalssId"
+      @handleSubmit="handleSubmit"
+      :isDisabled="false"
+      :is="activeCom"
+    ></BmatterClass>
+  </div>
+</template>
+<script setup>
+import AmatterClass from "@/components/AmatterClass/index";
+import BmatterClass from "@/components/BmatterClass/index";
+import { useRoute } from "vue-router";
+
+const route = useRoute();
+const activeCom = ref(BmatterClass);
+const materialCalssId = ref(null);
+const handleSubmit = () => {};
+
+if (route.query.materialCalssId != undefined) {
+  materialCalssId.value = route.query.materialCalssId;
+}
+
+defineOptions({
+  name: "materialApplication",
+});
+</script>
+<style lang="scss" scoped>
+.steps {
+  width: 80%;
+  margin: 0 auto;
+}
+.buttonGrounp {
+  width: 100%;
+  display: flex;
+  justify-content: center;
+}
+</style>

+ 18 - 5
src/views/talentManagement/categoryB/index.vue

@@ -65,7 +65,7 @@
         </el-select>
       </el-form-item>
 
-      <!-- 
+      <!--
       <el-form-item label="复核日期">
         <el-date-picker
           v-model="value1"
@@ -338,7 +338,8 @@ import {
   updateList,
 } from "@/api/talentManagement/category";
 import { computed } from "vue";
-
+import {useRouter} from "vue-router";
+const router = useRouter();
 const { proxy } = getCurrentInstance();
 const {
   zhi_ka_type,
@@ -504,13 +505,25 @@ function handleSelectionChange(selection) {
   multiple.value = !selection.length;
 }
 
+// /** 新增按钮操作 */
+// function handleAdd() {
+//   reset();
+//   open.value = true;
+//   title.value = "添加人才库列";
+// }
+
 /** 新增按钮操作 */
 function handleAdd() {
-  reset();
-  open.value = true;
-  title.value = "添加人才库列";
+  router.push({
+    path: "/materialApplication/indexb",
+    query: {
+      methodType: "post",
+    },
+  });
 }
 
+
+
 /** 修改按钮操作 */
 function handleUpdate(row) {
   reset();

+ 1 - 1
vite.config.js

@@ -27,7 +27,7 @@ export default defineConfig(({ mode, command }) => {
     },
     // vite 相关配置
     server: {
-      port: 81,
+      port: 8082,
       host: "0.0.0.0",
       open: true,
       proxy: {