This commit is contained in:
张成
2025-12-24 22:55:01 +08:00
parent 5acf0a52cc
commit db574986dd
3 changed files with 9 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
<FormItem label="登录名" prop="login_name">
<Input v-model="formData.login_name" placeholder="请输入登录名" />
</FormItem>
<FormItem label="密码" prop="pwd">
<FormItem label="密码" prop="pwd" v-if="!isEdit">
<Input v-model="formData.pwd" type="password" placeholder="请输入密码" />
</FormItem>
<FormItem label="搜索关键词">
@@ -98,7 +98,7 @@
<Card title="排序优先级配置" style="margin-bottom: 16px;">
<FormItem label="排序优先级">
<div class="priority-config">
<div v-for="(item, index) in priorityList" :key="item.key" class="priority-item">
<div v-for="item in priorityList" :key="item.key" class="priority-item">
<div class="priority-label">
<Icon type="ios-menu" class="drag-handle" />
<span>{{ getPriorityLabel(item.key) }}</span>
@@ -322,7 +322,8 @@ export default {
this.formData.sn_code = row.sn_code || ''
this.formData.platform_type = row.platform_type || ''
this.formData.login_name = row.login_name || ''
this.formData.pwd = row.pwd || ''
// 编辑模式下不加载密码,密码修改需要使用单独的接口
this.formData.pwd = ''
this.formData.keyword = row.keyword || ''
// 复制编辑字段