diff --git a/src/views/system/license/license.vue b/src/views/system/license/license.vue
index 900aea3..f0f3074 100644
--- a/src/views/system/license/license.vue
+++ b/src/views/system/license/license.vue
@@ -62,7 +62,7 @@
新增
+ >新增接口分类
@@ -77,7 +77,7 @@
-
+
@@ -233,6 +233,70 @@
:before-close="hideForm"
width="60%"
top="5vh"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -356,6 +419,7 @@ export default {
subData: {},
formName: null,
subFormVisible: false,
+ subFormVisible1: false,
showSearch: true,
currentRow: null,
filterQuery: {
@@ -599,13 +663,13 @@ export default {
this.formName = formName;
this.check = row;
this.subData = row;
- this.subFormVisible = true;
+ this.subFormVisible1 = true;
},
reviewOrder(row, formName) {
this.formName = formName;
this.check = row;
this.subData = row;
- this.subFormVisible = true;
+ this.subFormVisible1 = true;
},
@@ -613,17 +677,66 @@ export default {
this.formName = formName;
this.check = row;
this.subData = {};
- this.subFormVisible = true;
+ this.subFormVisible1 = true;
},
add(data, formName) {
- this.subFormVisible = true;
- this.subData = {};
this.formName = formName;
+ this.subData = {};
this.check = data;
+ this.subFormVisible = true;
},
hideForm() {
this.subFormVisible = false;
+ },
+ hideForm1() {
+ this.subFormVisible1 = false;
+ },
+ forInvSubmit1() {
+ if (this.formName === "add" && this.check == null) {
+ //新增接口分类
+ this.subData.parentId = 0;
+ insertLicense(this.subData)
+ .then((res) => {
+ if (res.code == 20000) {
+ this.$message.success("添加成功!")
+ this.subFormVisible1 = false;
+ this.getList();
+ }
+ })
+ } else if (this.formName === "add" && this.check != null) {
+ //新增子接口
+ this.subData.parentId = this.check.id;
+ insertLicense(this.subData)
+ .then((res) => {
+ if (res.code == 20000) {
+ this.$message.success("添加成功!")
+ this.subFormVisible1 = false;
+ this.getList();
+ }
+ })
+ } else if (this.formName === "edit" && this.check.parentId == 0) {
+ //编辑接口分类
+ updateLicense(this.subData).then((res) => {
+ if (res.code == 20000) {
+ this.$message.success("修改成功!")
+ this.subFormVisible1 = false;
+ this.getList();
+ }
+ })
+ } else {
+ updateLicense(this.subData).then((res) => {
+ if (res.code == 20000) {
+ this.$message.success("修改成功!")
+ this.subFormVisible1 = false;
+ this.getlower();
+ }
+
+ })
+
+ }
+
+
},
forInvSubmit() {
if (this.formName === "add" && this.check == null) {
diff --git a/src/views/udi/trace/manu/index.vue b/src/views/udi/trace/manu/index.vue
index 286379a..5c3d704 100644
--- a/src/views/udi/trace/manu/index.vue
+++ b/src/views/udi/trace/manu/index.vue
@@ -261,7 +261,7 @@
- 单据 {{ currentRow == null ? '' : currentRow.billNo }}-业务扫码校验结果
+ 单据 {{ currentRow == null ? '' : currentRow.billNo }}-业务详情
diff --git a/src/views/userManage/registerManage.vue b/src/views/userManage/registerManage.vue
index 7a697bd..898db00 100644
--- a/src/views/userManage/registerManage.vue
+++ b/src/views/userManage/registerManage.vue
@@ -248,6 +248,7 @@
:visible.sync="centerDialogVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
+ :before-close="Refresh"
width="60%"
center
>
@@ -593,6 +594,11 @@ export default {
this.filterQuery.page = 1;
this.getList();
},
+ Refresh(){
+ this.centerDialogVisible=false;
+ this.getList();
+ },
+
getList() {
this.loading = true;
selectReslist(this.filterQuery)
@@ -795,7 +801,7 @@ export default {
type: "success",
message: "审核成功!",
});
- this.centerDialogVisible = false;
+ this.Refresh();
}else{
this.$message.error(res.message);
}