From c4d4c5d25cd78fa302fe07a824c8d7b3412bd9f1 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 06 五月 2025 16:42:15 +0800 Subject: [PATCH] 修改内容 --- ruoyi-ui/src/views/secret/secretInfo.vue | 73 ++++++++++++++++++++++++++++++------ 1 files changed, 61 insertions(+), 12 deletions(-) diff --git a/ruoyi-ui/src/views/secret/secretInfo.vue b/ruoyi-ui/src/views/secret/secretInfo.vue index 1432e2e..8ec22ed 100644 --- a/ruoyi-ui/src/views/secret/secretInfo.vue +++ b/ruoyi-ui/src/views/secret/secretInfo.vue @@ -24,7 +24,7 @@ </el-form-item> <el-form-item label="绫诲埆" prop="type"> <el-select v-model="formData.type" placeholder="璇疯緭鍏ョ被鍒�" allow-create - filterable clearable :style="{width: '100%'}" > + filterable clearable :style="{width: '100%'}" :disabled="dsb"> <el-option v-for="(item, index) in typeOpt" :key="index" :label="item.label" :value="item.value" ></el-option> </el-select> @@ -158,7 +158,7 @@ ></video> <img v-else class="el-upload-list__item-thumbnail" - src="../../assets/401_images/401.gif" + src="../../assets/images/deviceLis.png" alt="" style="width: 147px; height: 147px" fit="cover"> @@ -355,6 +355,7 @@ this.loading = true; getSecretInfo({id}).then((response) => { _this.formData = response.data; + console.log(_this.formData,'123') if(_this.formData.isFinger==1) _this.formData.isFinger = '鏄�' else @@ -546,17 +547,17 @@ }); } else { if(this.formData.isFinger==1) - this.formData.isFinger = '鏄�' - else - this.formData.isFinger = '鍚�' + this.formData.isFinger = '鏄�' + else + this.formData.isFinger = '鍚�' if(this.formData.isFace==1) - this.formData.isFace = '鏄�' - else - this.formData.isFace = '鍚�' - if(this.formData.isPrivate==0) - this.formData.isPrivate = '鍏湁' - else - this.formData.isPrivate = '绉佹湁' + this.formData.isFace = '鏄�' + else + this.formData.isFace = '鍚�' + if(this.formData.isPrivate==0) + this.formData.isPrivate = '鍏湁' + else + this.formData.isPrivate = '绉佹湁' this.$modal.msgSuccess("淇敼澶辫触"); } @@ -624,6 +625,18 @@ updateSecret(this.formData).then(response => { this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); // this.open = false; + if(this.formData.isFinger==1) + this.formData.isFinger = '鏄�' + else + this.formData.isFinger = '鍚�' + if(this.formData.isFace==1) + this.formData.isFace = '鏄�' + else + this.formData.isFace = '鍚�' + if(this.formData.isPrivate==0) + this.formData.isPrivate = '鍏湁' + else + this.formData.isPrivate = '绉佹湁' }); } @@ -680,6 +693,18 @@ this.formData.isPrivate = 1 updateSecret(this.formData).then(response => { this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); + if(this.formData.isFinger==1) + this.formData.isFinger = '鏄�' + else + this.formData.isFinger = '鍚�' + if(this.formData.isFace==1) + this.formData.isFace = '鏄�' + else + this.formData.isFace = '鍚�' + if(this.formData.isPrivate==0) + this.formData.isPrivate = '鍏湁' + else + this.formData.isPrivate = '绉佹湁' }); } @@ -778,6 +803,18 @@ _this.formData.isPrivate = 1 updateSecret(_this.formData).then(response => { this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛"); + if(this.formData.isFinger==1) + this.formData.isFinger = '鏄�' + else + this.formData.isFinger = '鍚�' + if(this.formData.isFace==1) + this.formData.isFace = '鏄�' + else + this.formData.isFace = '鍚�' + if(this.formData.isPrivate==0) + this.formData.isPrivate = '鍏湁' + else + this.formData.isPrivate = '绉佹湁' // this.open = false; this.getData() this.fileListOther1=[] @@ -840,6 +877,18 @@ updateSecret(_this.formData).then(response => { _this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛"); // this.open = false; + if(this.formData.isFinger==1) + this.formData.isFinger = '鏄�' + else + this.formData.isFinger = '鍚�' + if(this.formData.isFace==1) + this.formData.isFace = '鏄�' + else + this.formData.isFace = '鍚�' + if(this.formData.isPrivate==0) + this.formData.isPrivate = '鍏湁' + else + this.formData.isPrivate = '绉佹湁' }); // } -- Gitblit v1.9.1