|
|
|
@ -195,7 +195,7 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
visible: false,
|
|
|
|
|
title: "新建",
|
|
|
|
|
title: "新增",
|
|
|
|
|
form: {
|
|
|
|
|
companyId: "",
|
|
|
|
|
companyName: "",
|
|
|
|
@ -335,7 +335,7 @@ export default {
|
|
|
|
|
this.num = num;
|
|
|
|
|
await this.obtain_select_list(); // 请求下拉
|
|
|
|
|
if (num === "1") {
|
|
|
|
|
this.title = "新建";
|
|
|
|
|
this.title = "新增";
|
|
|
|
|
this.disabled = false;
|
|
|
|
|
this.form = {
|
|
|
|
|
companyId: "",
|
|
|
|
@ -447,8 +447,8 @@ export default {
|
|
|
|
|
addPerceptionList(this.form).then((res) => {
|
|
|
|
|
this.visible = false;
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.$message.success("新建成功");
|
|
|
|
|
// 新建数据成功后,表格刷新
|
|
|
|
|
this.$message.success("新增成功");
|
|
|
|
|
// 新增数据成功后,表格刷新
|
|
|
|
|
this.$emit("refresh_perception");
|
|
|
|
|
});
|
|
|
|
|
} else if (this.num === "5") {
|
|
|
|
|