|
|
@@ -57,7 +57,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="审核方式">
|
|
|
- <el-select :size="overSize" v-model="queryForm.auditType" clearable placeholder="请选择审核方式" style="width: 100%">
|
|
|
+ <el-select :size="overSize" v-model="queryForm.auditType" clearable placeholder="请选择审核方式"
|
|
|
+ style="width: 100%">
|
|
|
<el-option label="人工审核" :value="1"></el-option>
|
|
|
<el-option label="自动审核" :value="2"></el-option>
|
|
|
</el-select>
|
|
|
@@ -177,10 +178,13 @@
|
|
|
<el-table-column prop="modifiedName" label="修改人" align="center" width="130"></el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="200" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
+ <kt-button label="复制协议" :size="overSize" type="text" perms="agreement:input:update"
|
|
|
+ @click="agreementCopy(scope.$index, scope.row)" style="color: #2D4D89 !important " />
|
|
|
<kt-button label="编辑" :size="overSize" type="text" perms="agreement:input:update"
|
|
|
@click="uplatequery(scope.$index, scope.row)" style="color: #2D4D89 !important " />
|
|
|
<kt-button label="删除" :size="overSize" type="text" perms="agreement:input:delete"
|
|
|
@click="deletequery(scope.$index, scope.row)" style="color: #D42426 !important " />
|
|
|
+
|
|
|
<!-- <el-button type="text" size="mini">
|
|
|
<el-dropdown trigger="click">
|
|
|
<span class="el-dropdown-link" style="font-size: 12px">
|
|
|
@@ -3335,6 +3339,37 @@ export default {
|
|
|
this.dept.push(ele);
|
|
|
});
|
|
|
},
|
|
|
+ //协议复制
|
|
|
+ agreementCopy(index, row) {
|
|
|
+ this.$confirm("复制该条协议, 是否继续?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.$api.insCompany.agreementCopy({ id: row.id }).then((res) => {
|
|
|
+ if (res.code == '200') {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'error',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: "info",
|
|
|
+ message: "已取消",
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
//编辑事件
|
|
|
uplatequery(index, row) {
|
|
|
//每次修改时,先把变量清空,解决累加存储问题
|