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

修复bug

parent 00f15a68
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="履职内容" ref="content" prop="content"> <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> <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-input :readonly="readonly" v-model="form.content" ></el-input> -->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -55,23 +54,23 @@ ...@@ -55,23 +54,23 @@
}, },
computed:{ computed:{
flid:function(){ // flid:function(){
return this.form.flid // return this.form.flid
} // }
}, },
watch:{ watch:{
flid(val){ // flid(val){
console.log('查询详细') // console.log('查询详细')
queryFlnr({flid:val}).then(res=>{ // queryFlnr({flid:val}).then(res=>{
if(res.data&&res.data.records){ // if(res.data&&res.data.records){
if(this.type=='add'){ // if(this.type=='add'){
this.form.content='' // this.form.content=''
} // }
this.optionsData=res.data.records||[] // this.optionsData=res.data.records||[]
} // }
}) // })
} // }
}, },
/* 组件名称*/ /* 组件名称*/
name: "dutyEdit", 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