From 815ecdda5cc9a89cf4d35e3a085617fd94f3e313 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期二, 25 四月 2023 09:22:45 +0800 Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web --- ruoyi-ui/src/views/contacts/contactsInfo.vue | 51 ++++++++++++++++++++------------------------------- 1 files changed, 20 insertions(+), 31 deletions(-) diff --git a/ruoyi-ui/src/views/contacts/contactsInfo.vue b/ruoyi-ui/src/views/contacts/contactsInfo.vue index d092eef..28d001c 100644 --- a/ruoyi-ui/src/views/contacts/contactsInfo.vue +++ b/ruoyi-ui/src/views/contacts/contactsInfo.vue @@ -2,17 +2,17 @@ <div class="app-container"> <div class="form-header mt"> <h4 class="dt h4">閫氳褰曡缁嗕俊鎭� </h4> - <el-button type="primary" class="pt" icon="el-icon-edit" @click="handleEdit()" :disabled="btn">缂栬緫</el-button> - <!-- <br>--> - <!-- <el-button type="primary" class="pt" @click="handleExport"--> - <!-- v-hasPermi="['self:user:export']" >瀵煎嚭</el-button>--> + <el-button v-if="isShow" type="primary" class="pt" icon="el-icon-edit" @click="handleEdit()" >缂栬緫</el-button> +<!-- <br>--> +<!-- <el-button type="primary" class="pt" @click="handleExport"--> +<!-- v-hasPermi="['self:user:export']" >瀵煎嚭</el-button>--> </div> <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px"> - <!-- <el-form-item label="id" prop="id">--> - <!-- <el-input v-model="formData.id" placeholder="璇疯緭鍏d" :maxlength="11" show-word-limit :disabled="true"--> - <!-- clearable prefix-icon='el-icon-mobile' :style="{width: '100%'}"></el-input>--> - <!-- </el-form-item>--> +<!-- <el-form-item label="id" prop="id">--> +<!-- <el-input v-model="formData.id" placeholder="璇疯緭鍏d" :maxlength="11" show-word-limit :disabled="true"--> +<!-- clearable prefix-icon='el-icon-mobile' :style="{width: '100%'}"></el-input>--> +<!-- </el-form-item>--> <el-form-item label="鎴愬憳濮撳悕" prop="myName"> <el-input v-model="formData.myName" placeholder="璇疯緭鍏ユ垚鍛樺鍚�" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> @@ -47,6 +47,11 @@ </el-form-item> <el-form-item label="鏄惁甯歌仈绯�" prop="isAlways"> <el-input v-model="formData.isAlways" placeholder="鏄惁甯歌仈绯�" clearable :style="{width: '100%'}" :disabled="dsb"> +<!-- <template slot-scope="scope">--> +<!-- <span v-if="scope.row.isAlways===1">鏄�</span>--> +<!-- <span v-if="scope.row.isAlways===0">鍚�</span>--> +<!-- <span v-if="scope.row.isAlways== null">鈥斺��</span>--> +<!-- </template>--> </el-input> </el-form-item> <el-form-item label="澶囨敞锛堟槸鍚﹀瓨鍦ㄩ噾閽卞叧绯伙級" prop="remark"> @@ -98,26 +103,7 @@ </div> </el-upload> - <h4 class="form-header">鍏朵粬闄勪欢 </h4> - <el-upload - action="" - :file-list="fileListOther" - class="upload-demo" - multiple - :on-preview="handlePreview" - - :on-remove="handleRemove" - :http-request="requestUpload" - :show-file-list="true" - > - <el-button type="primary">鐐瑰嚮涓婁紶</el-button> - <template #tip> - <div class="el-upload__tip"> - </div> - </template> - - - </el-upload> + <el-form-item size="large"> <el-button type="primary" @click="submitForm" :disabled="dsb">淇敼</el-button> @@ -152,7 +138,7 @@ ], dsb:true, btn:false, - + isShow:true, // 閫氳褰曡〃鏍兼暟鎹� contactList: [], @@ -339,7 +325,8 @@ handleEdit() { this.dsb = false - this.btn = true + // this.btn = true + this.isShow=false }, requestUpload(params) { @@ -378,6 +365,9 @@ </script> <style scoped> +.app-container{ + background-color: #FEF7FC; +} .mt { position: relative; @@ -393,4 +383,3 @@ position: absolute; } </style> - -- Gitblit v1.9.1