|
|
@@ -83,6 +83,7 @@
|
|
|
|
|
|
<el-table-column prop="names" label="操作">
|
|
|
<template v-slot="{ row }">
|
|
|
+ <el-button type="text" @click="editII(row)">编辑</el-button>
|
|
|
<el-button type="text" @click="removeRow(row)">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -141,6 +142,11 @@ export default {
|
|
|
this.tableData.push(data);
|
|
|
// console.log(data, "ddd");
|
|
|
},
|
|
|
+ editII(row) {
|
|
|
+
|
|
|
+ this.$refs.DialogSelect.show(row);
|
|
|
+ this.tableData = this.tableData.filter((item) => item !== row);
|
|
|
+ },
|
|
|
//新增签署
|
|
|
openSelect() {
|
|
|
this.$refs.DialogSelect.show();
|
|
|
@@ -197,7 +203,7 @@ export default {
|
|
|
this.$refs.form.resetFields();
|
|
|
},
|
|
|
onSubmit() {
|
|
|
- console.log(this.formData,"this.formData")
|
|
|
+ // console.log(this.formData,"this.formData")
|
|
|
this.$refs.form.validate(async (isValidate) => {
|
|
|
if (!isValidate) return;
|
|
|
this.formData.bookUsers=this.tableData;
|