codeMan 2 éve
szülő
commit
20ab7d42ea

+ 1 - 0
src/HDrpManagement/dispatch/details/index.vue

@@ -180,6 +180,7 @@ import defaultInfo from '../modules/defaultInfo.vue'
           })
           this.tool.showMessage(res,()=>{
             this.queryMainData()
+            this.$refs.product && this.$refs.product.listData()
           })
         }).catch(() => {
           this.$message({

+ 2 - 0
src/HDrpManagement/workReport/modules/reportSet/components/add.vue

@@ -224,6 +224,7 @@ export default {
       this.selectPeople.push(...result)
     },
     selectOptionFun (data) {
+      this.form.sys_workreportpresetids = [1]
       console.log(data);
       data.forEach(item => {
         item.sequence = item.rowindex
@@ -237,6 +238,7 @@ export default {
     },
     delOption (data) {
       this.selectOption.splice(this.selectOption.findIndex(item => item.sys_workreportpresetid == data.sys_workreportpresetid),1)
+      if (!this.selectOption.length) this.form.sys_workreportpresetids = []
     },
     onSubmit(){
       this.form.sys_workreportpresetids = this.selectOption.map((item) => {

+ 1 - 1
src/views/message/index.vue

@@ -41,7 +41,6 @@
 import list from '@/views/message/components/list'
 
 import pagination from '@/components/pagination/Pagination'
-import { log } from '@antv/g2plot/lib/utils';
 export default {
   name: '',
   data () {
@@ -139,6 +138,7 @@ export default {
       this.$router.push(this.message.link)
     },
     isCategory(data) {
+      
       switch (data.objectname) {
         case 'sat_courseware':
             data.name = '商学院'