Browse Source

绩效考核 还没做完(节点api)

ys321973351 1 year ago
parent
commit
c137d5438a

+ 15 - 1
itdmWeb/src/views/module-iTDM/flowpath/modules/ItdmRunFlowPathForm.vue

@@ -14,7 +14,7 @@
           </a-col>
           <a-col :span="24">
             <a-form-model-item label="委托编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="weituoNo">
-              <a-input v-model="model.weituoNo" placeholder="请输入委托编号"  ></a-input>
+              <j-search-select-tag  placeholder="请选择委托编号"  v-model="model.weituoNo"   :dictOptions="weituoNoList" />
             </a-form-model-item>
           </a-col>
         </a-row>
@@ -43,6 +43,7 @@
     },
     data () {
       return {
+        weituoNoList: [],
         flowPathOptions:[],
 
         model:{
@@ -77,10 +78,23 @@
 
     },
     methods: {
+
       initFlowPathDictData() {
         queryFlowPathSelectList().then(response => {
           this.flowPathOptions = response.result
         })
+
+        console.log("xxxxxxxxxxxxxxxxxxx")
+
+        getAction('/weituo/itdmWeituoInfo/shenheList').then((res) => {
+          if (res.success) {
+            console.log(res.result)
+            this.weituoNoList = res.result.map(i=>{
+              return { value: i.weituoNo, text: i.weituoNo}
+            })
+            console.log(this.weituoNoList)
+          }
+        })
       },
       add () {
         this.edit(this.modelDefault);