|
@@ -387,10 +387,7 @@
|
|
|
fixed="right"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- size="btk"
|
|
|
- type="text"
|
|
|
- @click="handleshenpi1(scope.row)"
|
|
|
+ <el-button size="btk" type="text" @click="handleshenpi1(scope.row)"
|
|
|
>审批</el-button
|
|
|
>
|
|
|
<el-button
|
|
@@ -654,7 +651,7 @@ export default {
|
|
|
methods: {
|
|
|
// 人员姓名选中
|
|
|
qingRen(name) {
|
|
|
- this.$set(this.form, this.form.peopleName, name)
|
|
|
+ this.$set(this.form, this.form.peopleName, name);
|
|
|
},
|
|
|
// 获取人员
|
|
|
getRen(id) {
|
|
@@ -662,19 +659,19 @@ export default {
|
|
|
this.renYuan = response.data;
|
|
|
});
|
|
|
},
|
|
|
- // 获取人员
|
|
|
+ // 获取人员
|
|
|
getRen2(id) {
|
|
|
getQuanBu(id).then((response) => {
|
|
|
this.renYuan = response.data;
|
|
|
});
|
|
|
},
|
|
|
- // 获取人员
|
|
|
+ // 获取人员
|
|
|
getRen3(id) {
|
|
|
getQuanBu(id).then((response) => {
|
|
|
this.renYuan = response.data;
|
|
|
});
|
|
|
},
|
|
|
- // 获取人员
|
|
|
+ // 获取人员
|
|
|
getRen4(id) {
|
|
|
getQuanBu(id).then((response) => {
|
|
|
this.renYuan = response.data;
|
|
@@ -686,16 +683,19 @@ export default {
|
|
|
this.form.unitName = data.label;
|
|
|
this.getRen(this.form.unitId, 0);
|
|
|
},
|
|
|
+ // 一级审批单位触发
|
|
|
selectPeo2(data) {
|
|
|
this.form.unitId1 = data.id;
|
|
|
this.form.unitName1 = data.label;
|
|
|
this.getRen(this.form.unitId, 0);
|
|
|
},
|
|
|
+ // 二级审批单位触发
|
|
|
selectPeo3(data) {
|
|
|
this.form.unitId2 = data.id;
|
|
|
this.form.unitName2 = data.label;
|
|
|
this.getRen(this.form.unitId, 0);
|
|
|
},
|
|
|
+ // 三级审批单位触发
|
|
|
selectPeo4(data) {
|
|
|
this.form.unitId3 = data.id;
|
|
|
this.form.unitName3 = data.label;
|
|
@@ -846,11 +846,11 @@ export default {
|
|
|
})
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
- handleshenpi1(row){
|
|
|
- console.log()
|
|
|
- listRecuperate({common:row.common}).then(res=>{
|
|
|
- console.log(res)
|
|
|
- })
|
|
|
+ handleshenpi1(row) {
|
|
|
+ console.log();
|
|
|
+ listRecuperate({ common: row.common }).then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ });
|
|
|
},
|
|
|
},
|
|
|
};
|