ysy 1 ano atrás
pai
commit
d77883c433

BIN
main.rar


BIN
public/logo.png


BIN
src/assets/logo.png


+ 1 - 1
src/config/setting.js

@@ -2,7 +2,7 @@
 export const API_BASE_URL = process.env.VUE_APP_API_BASE_URL;
 
 // 项目名称
-export const PROJECT_NAME = process.env.VUE_APP_NAME;
+export const PROJECT_NAME = ''; // process.env.VUE_APP_NAME;
 // 系统名称
 export const SYSTEM_NAME = 'main-data';
 

+ 3 - 3
src/views/technology/route/components/user-taskinstance.vue

@@ -151,9 +151,9 @@ export default {
     addParamrter() {
       // console.log(this.$refs.ProductionCom?.selection);
       let arr = this.$refs.ProductionCom.selection;
-
+     let len =    this.$refs.table.getData().length + 1 
       let arrM = arr.map((item, index) => {
-        return { ...item.detail };
+        return { ...item.detail, orderNum: len + index  };
       });
       arrM.forEach((element) => {
         if (element.id) {
@@ -162,7 +162,7 @@ export default {
         }
       });
 
-      this.$refs.table.setData([...arrM, ...this.$refs.table.getData()]);
+      this.$refs.table.setData([ ...this.$refs.table.getData(), ...arrM,]);
       this.$emit('taskList', this.$refs.table.getData())
       this.closeAdd();
     },