From 32148fb89c6cbedc24aaf9cb93a215a6cc665f2b Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期二, 09 七月 2024 16:56:14 +0800 Subject: [PATCH] 修改了一些报错,完善了用户管理配偶的选择模块 --- ruoyi-ui/src/views/meeting/meetingInfo.vue | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/meeting/meetingInfo.vue b/ruoyi-ui/src/views/meeting/meetingInfo.vue index 4938380..77d23e9 100644 --- a/ruoyi-ui/src/views/meeting/meetingInfo.vue +++ b/ruoyi-ui/src/views/meeting/meetingInfo.vue @@ -95,7 +95,7 @@ </el-form-item> </el-cow> <el-cow> - <el-form-item label="鏄惁鎷滆姘寸墝" prop="isPlacebrand" label-width="120px" + <el-form-item label="鏄惁鎽嗘斁姘寸墝" prop="isPlacebrand" label-width="120px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> <el-select v-model="formData.isPlacebrand" placeholder="璇烽�夋嫨 " clearable :style="{width: '100%'}" :disabled="dsb"> @@ -124,12 +124,19 @@ <el-form-item label="鐘舵��" prop="statu" label-width="120px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> <el-select v-model="formData.statu" placeholder="璇烽�夋嫨 " clearable :style="{width: '100%'}" - :disabled="dsb"> + :disabled="true"> <el-option v-for="(item, index) in typeOptions2" :key="index" :label="item.label" :value="item.value"></el-option> </el-select> </el-form-item> </el-cow> + <!-- <el-cow> + <el-form-item label="鐘舵��" prop="statu" label-width="90px" + style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> + <el-input v-if="!dsb" v-model="formData.connPhone" placeholder="寰呭鎵�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input> + <el-input v-if="dsb" v-model="formData.connPhone" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"></el-input> + </el-form-item> + </el-cow> --> </el-row> </el-container> @@ -241,7 +248,7 @@ }], isPlacebrand: [{ required: true, - message: '璇烽�夋嫨鏄惁鎷滆姘寸墝', + message: '璇烽�夋嫨鏄惁鎽嗘斁姘寸墝', trigger: 'blur' }], connPerson: [{ @@ -257,7 +264,7 @@ statu: [{ required: true, message: '璇烽�夋嫨鐘舵��', - trigger: 'blur' + trigger: 'change' }], }, @@ -279,6 +286,10 @@ { value: 0, label: '鎷掔粷', + }, + { + value: 3 , + label: '寰呭鎵�', } ], } @@ -372,6 +383,7 @@ this.$refs['elForm'].validate(valid => { if (valid) { if (this.formData.id != undefined) { + this.formData.statu = 3 updateMeeting(this.formData).then(response => { this.$modal.msgSuccess("淇敼鎴愬姛"); // if (this.formData.status == 1) -- Gitblit v1.9.1