Commit 77998bfc authored by 李苏's avatar 李苏 💬

修复bug

parent 00f15a68
......@@ -22,8 +22,7 @@
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="履职内容" ref="content" prop="content">
<RelSelect :optionsData='optionsData' style="width: 100%;" :params="{flid:form.flid}" clearable :match="{value:'content',label:'content'}" v-model='form.content' ></RelSelect>
<!-- <el-input :readonly="readonly" v-model="form.content" ></el-input> -->
<RelSelect linkage :linkParams="{flid:form.flid}" :readonly="readonly" style="width: 100%;" src='/aqgl/rcgl/lzbz/query' filterable clearable :match="{value:'content',label:'content'}" v-model='form.content' ></RelSelect>
</el-form-item>
</el-col>
</el-row>
......@@ -55,23 +54,23 @@
},
computed:{
flid:function(){
return this.form.flid
}
// flid:function(){
// return this.form.flid
// }
},
watch:{
flid(val){
console.log('查询详细')
queryFlnr({flid:val}).then(res=>{
if(res.data&&res.data.records){
if(this.type=='add'){
this.form.content=''
}
// flid(val){
// console.log('查询详细')
// queryFlnr({flid:val}).then(res=>{
// if(res.data&&res.data.records){
// if(this.type=='add'){
// this.form.content=''
// }
this.optionsData=res.data.records||[]
}
})
}
// this.optionsData=res.data.records||[]
// }
// })
// }
},
/* 组件名称*/
name: "dutyEdit",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment