|
@@ -130,13 +130,20 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="auditUserId" slot-scope="{row,index}">
|
|
<template slot="auditUserId" slot-scope="{row,index}">
|
|
|
- <el-select
|
|
|
|
|
|
|
+ <el-input
|
|
|
v-model="row.auditUserId"
|
|
v-model="row.auditUserId"
|
|
|
- filterable
|
|
|
|
|
- multiple
|
|
|
|
|
- collapse-tags
|
|
|
|
|
- placeholder="审核人"
|
|
|
|
|
- ></el-select>
|
|
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+<!-- <el-select-->
|
|
|
|
|
+<!-- v-model="row.auditUserId"-->
|
|
|
|
|
+<!-- filterable-->
|
|
|
|
|
+<!-- multiple-->
|
|
|
|
|
+<!-- collapse-tags-->
|
|
|
|
|
+<!-- placeholder="审核人"-->
|
|
|
|
|
+<!-- >-->
|
|
|
|
|
+<!-- <el-option>-->
|
|
|
|
|
+<!-- </el-option>-->
|
|
|
|
|
+<!-- </el-select>-->
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="menuLeft">
|
|
<template slot="menuLeft">
|
|
|
<el-button
|
|
<el-button
|
|
@@ -236,9 +243,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
// 编辑
|
|
// 编辑
|
|
|
editOpen(row) {
|
|
editOpen(row) {
|
|
|
- console.log(row)
|
|
|
|
|
detailData({id: row.id}).then(res => {
|
|
detailData({id: row.id}).then(res => {
|
|
|
- console.log(res)
|
|
|
|
|
this.dataForm = res.data.data
|
|
this.dataForm = res.data.data
|
|
|
this.detailData = res.data.data.auditPathsLevels
|
|
this.detailData = res.data.data.auditPathsLevels
|
|
|
})
|
|
})
|
|
@@ -251,15 +256,17 @@ export default {
|
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
- return removeList(row.id);
|
|
|
|
|
- }).then(() => {
|
|
|
|
|
- this.$message({
|
|
|
|
|
- type: "success",
|
|
|
|
|
- message: "操作成功!"
|
|
|
|
|
- });
|
|
|
|
|
- this.page.currentPage = 1;
|
|
|
|
|
- this.onLoad(this.page);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ removeList(row.id).then(res =>{
|
|
|
|
|
+ if(res.data.success){
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: "success",
|
|
|
|
|
+ message: "操作成功!"
|
|
|
|
|
+ });
|
|
|
|
|
+ this.page.currentPage = 1;
|
|
|
|
|
+ this.onLoad(this.page);
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
//点击搜索按钮触发
|
|
//点击搜索按钮触发
|
|
|
searchChange(params, done) {
|
|
searchChange(params, done) {
|
|
@@ -317,6 +324,17 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
+ const params ={
|
|
|
|
|
+ ...this.dataForm,
|
|
|
|
|
+ auditPathsLevels : this.detailData
|
|
|
|
|
+ }
|
|
|
|
|
+ modify(params).then(res =>{
|
|
|
|
|
+ if(res.data.success){
|
|
|
|
|
+ this.$message.success("操作成功!")
|
|
|
|
|
+ this.visible = false
|
|
|
|
|
+ this.refreshChange()
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|