lihang
2023-07-05 d4b425d1f115aafd23b4dcf377eef4ed1ba400cc
Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -90,7 +90,12 @@
            },
            deep:true,
            immediate:true
        }
        },
      parameter:{
          handler(newval,oldval){
            console.log('子',newval)
          }
      }
    },
    data() {
        return {
@@ -112,8 +117,6 @@
    },
    mounted() {
        // this.apiInit()
        // this.apiDict()
      console.log('---',this.parameter)
    },
  created() {
@@ -132,7 +135,7 @@
            return this.initFrom.findIndex(i => i.taskId === arr1)
        },
        async apiInit() {
            const response = await personnelInit({ type: this.parameter[this.parameterKeys.type], templateId: this.parameter[this.parameterKeys.code] })
            const response = await personnelInit({ type: this.parameter[this.parameterKeys.type], templateId: this.parameter[this.parameterKeys.code],ids:this.parameter.ids, codeClassifyOid:this.parameter.codeClassifyOid})
            if (response.status === 200) {
                console.log(response)
                this.initFrom = response.data.data.user