Commit 93bf10c2 authored by 李苏's avatar 李苏 💬

rowItem=>singleItem

parent 1db34564
......@@ -5,7 +5,7 @@
<el-col :span="24">
<el-form-item label="整改说明" ref="clff" prop="clff">
<el-input type="textarea" v-model="rowItem.clff" ></el-input>
<el-input type="textarea" v-model="singleItem.clff" ></el-input>
</el-form-item>
</el-col>
......@@ -31,11 +31,11 @@
}
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
this.singleItem=_.cloneDeep(this.app.singleItem)
},
data() {
return {
rowItem:{
singleItem:{
clff:''
},
......@@ -43,10 +43,11 @@
methods: {
save(){
let params={
id:this.rowItem.id,
clff:this.rowItem.clff,
id:this.singleItem.id,
clff:this.singleItem.clff,
}
doZg(params).then(res=>{
if(res.success){
this.$success('提交成功')
this.app.$refs['TablePager'].reLoad()
......
......@@ -16,7 +16,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="复查说明" ref="fcsm" prop="fcsm">
<el-input type="textarea" v-model="rowItem.fcsm" ></el-input>
<el-input type="textarea" v-model="singleItem.fcsm" ></el-input>
</el-form-item>
</el-col>
......@@ -42,9 +42,9 @@
}
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
this.fcjg=this.rowItem.fcjg
console.log(this.rowItem)
this.singleItem=_.cloneDeep(this.app.singleItem)
this.fcjg=this.singleItem.fcjg
console.log(this.singleItem)
},
data() {
return {
......@@ -56,7 +56,7 @@
label: '不通过'
}],
fcjg:'Y',
rowItem:{
singleItem:{
fcsm:''
},
......@@ -65,8 +65,8 @@
save(){
let params={
fcjg:this.fcjg,
fcsm:this.rowItem.fcsm,
id:this.rowItem.id
fcsm:this.singleItem.fcsm,
id:this.singleItem.id
}
doFc(params).then(res=>{
if(res.success){
......
......@@ -5,13 +5,13 @@
<el-col :span="12">
<el-form-item label="责任人" ref="zrr" prop="zrr">
<personSelector :label="rowItem.zrrName||'暂无'" @selected='zrrSelected' ></personSelector>
<personSelector :label="singleItem.zrrName||'暂无'" @selected='zrrSelected' ></personSelector>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="复查人" ref="fcr" prop="fcr">
<!-- <el-input :readonly="readonly" v-model="form.zrr" ></el-input> -->
<personSelector :label="rowItem.fcrName||'暂无'" @selected='fcrSelected' ></personSelector>
<personSelector :label="singleItem.fcrName||'暂无'" @selected='fcrSelected' ></personSelector>
</el-form-item>
</el-col>
......@@ -37,12 +37,12 @@
}
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
this.singleItem=_.cloneDeep(this.app.singleItem)
},
name: 'role',
data() {
return {
rowItem:{
singleItem:{
zrr:'',
zrrName:'',
fcr:'',
......@@ -53,9 +53,9 @@
methods: {
save(){
let params={
id:this.rowItem.id,
fcr:this.rowItem.fcr,
zrr:this.rowItem.zrr,
id:this.singleItem.id,
fcr:this.singleItem.fcr,
zrr:this.singleItem.zrr,
}
doFp(params).then(res=>{
if(res.success){
......@@ -67,10 +67,10 @@ save(){
})
},
zrrSelected(row){
this.rowItem.zrr=row.id
this.singleItem.zrr=row.id
},
fcrSelected(row){
this.rowItem.fcr=row.id
this.singleItem.fcr=row.id
}
}
}
......
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