From b624ceba2053f5f9d82a63ea0682ca87ca54dc12 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期三, 14 十二月 2022 16:35:30 +0800
Subject: [PATCH] 2022-12-14 肖辉 用户管理模块-新建用户密码校验修改 智能巡查模块-预警研判样式修改
---
src/views/operate/fivepack/threepack/components/updateUser/index.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/views/operate/fivepack/threepack/components/updateUser/index.vue b/src/views/operate/fivepack/threepack/components/updateUser/index.vue
index 52e369a..4bf856b 100644
--- a/src/views/operate/fivepack/threepack/components/updateUser/index.vue
+++ b/src/views/operate/fivepack/threepack/components/updateUser/index.vue
@@ -222,7 +222,6 @@
onSubmit() {
this.$refs.store.validate((valid) => {
if (valid) {
- debugger;
this.store.type = this.store.type[1];
if (this.isCreated()) {
addStoreInfo(this.store)
@@ -244,6 +243,20 @@
}
});
},
+
+ async created() {
+ if (this.storeInfo) {
+ this.$set(this, 'store', this.storeInfo);
+ const result = await getVideoPoint({ current: 1, size: 100 });
+ this.relationVideoList = result.records;
+ if (this.storeInfo && this.isStorePage) {
+ this.store.relationVideo = this.store.videoPoint.name;
+ }
+ if (!this.isView()) {
+ await this.getShopTypeList();
+ }
+ }
+ },
isView() {
return this.dialogType === "view";
--
Gitblit v1.8.0