Commit 69abc167 authored by 李苏's avatar 李苏 💬

参数修改

parent 8342bfcc
...@@ -21,13 +21,15 @@ ...@@ -21,13 +21,15 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="教育人"> <el-form-item label="教育人">
<el-input :readonly="readonly" v-model="vMain.rowItem.ldjyr" ></el-input> <!-- <el-input :readonly="readonly" v-model="vMain.rowItem.ldjyr" ></el-input> -->
<personSelector :readonly="readonly" :label="vMain.rowItem.ldjyrName||vMain.rowItem.ldjyr||'暂无'" @selected='ldjyrSelected' ></personSelector>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="被教育人"> <el-form-item label="被教育人">
<el-input :readonly="readonly" v-model="vMain.rowItem.ldbjyr" rows="5" > <!-- <el-input :readonly="readonly" v-model="vMain.rowItem.ldbjyr" rows="5" >
</el-input> </el-input> -->
<personSelector :readonly="readonly" :label="vMain.rowItem.ldbjyrName||vMain.rowItem.ldbjyr||'暂无'" @selected='ldbjyrSelected' ></personSelector>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -59,6 +61,12 @@ ...@@ -59,6 +61,12 @@
}, },
props:['vMain'], props:['vMain'],
methods: { methods: {
ldbjyrSelected(row){
this.vMain.rowItem.ldbjyr=row.id
},
ldjyrSelected(row){
this.vMain.rowItem.ldjyr=row.id
},
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiUpdate(params).then(res => {
......
...@@ -11,12 +11,13 @@ ...@@ -11,12 +11,13 @@
<!-- 权限--> <!-- 权限-->
</el-row> </el-row>
<br> <br>
<el-form ref="form" label-width='80px' :model="form" > <el-form ref="form" label-width='80px' >
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="教育人"> <el-form-item label="教育人">
<el-input v-model="vMain.rowItem.fsjyr" :readonly="readonly" rows="5" > <!-- <el-input v-model="vMain.rowItem.fsjyr" :readonly="readonly" rows="5" >
</el-input> </el-input> -->
<personSelector :readonly="readonly" :label="vMain.rowItem.fsjyrName||vMain.rowItem.fsjyr||'暂无'" @selected='fsjyrSelected' ></personSelector>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
...@@ -46,6 +47,9 @@ ...@@ -46,6 +47,9 @@
}, },
props:['vMain'], props:['vMain'],
methods: { methods: {
fsjyrSelected(){
this.vMain.rowItem.fsjyr=row.id
},
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiUpdate(params).then(res => {
......
...@@ -15,8 +15,9 @@ ...@@ -15,8 +15,9 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="教育人"> <el-form-item label="教育人">
<el-input v-model="vMain.rowItem.aqjyr" :readonly="readonly" rows="5" > <!-- <el-input v-model="vMain.rowItem.aqjyr" :readonly="readonly" rows="5" >
</el-input> </el-input> -->
<personSelector :readonly="readonly" :label="vMain.rowItem.aqjyrName||vMain.rowItem.aqjyr||'暂无'" @selected='aqjyrSelected' ></personSelector>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
...@@ -46,6 +47,9 @@ ...@@ -46,6 +47,9 @@
}, },
props:['vMain'], props:['vMain'],
methods: { methods: {
aqjyrSelected(row){
this.vMain.rowItem.aqjyr=row.id
},
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiUpdate(params).then(res => {
......
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