From 7ca1a8ec18fccca9102cd1179e05fdc877bdc511 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 18 五月 2022 16:47:40 +0800 Subject: [PATCH] 提交代码 --- src/views/construction/system/index.vue | 29 ++++++++++++----------------- 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/src/views/construction/system/index.vue b/src/views/construction/system/index.vue index f378477..6ba6fbd 100644 --- a/src/views/construction/system/index.vue +++ b/src/views/construction/system/index.vue @@ -1,5 +1,5 @@ <template> - <div class="app-container"> + <div class="construction-view"> <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="90px"> <el-form-item label="杞欢鍚嶇О" prop="name"> <el-input @@ -33,7 +33,6 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['oa:system:add']" >鏂板 </el-button> </el-col> @@ -45,7 +44,6 @@ size="mini" :disabled="single" @click="handleUpdate" - v-hasPermi="['oa:system:edit']" >淇敼 </el-button> </el-col> @@ -57,7 +55,6 @@ size="mini" :disabled="multiple" @click="handleDelete" - v-hasPermi="['oa:system:remove']" >鍒犻櫎 </el-button> </el-col> @@ -71,19 +68,19 @@ </template> </el-table-column> <el-table-column label="杞欢鍚嶇О" align="center" prop="name"/> - <el-table-column label="鐗堟湰" align="center" prop="edition"/> - <el-table-column label="鍔熻兘鎻忚堪" align="center" prop="functionDescription"/> - <el-table-column label="鎺堟潈鏂瑰紡" align="center" prop="authorizationMethod_dictText"/> - <el-table-column label="鎺堟潈鏁伴噺" align="center" prop="authorizedQuantity"/> + <el-table-column label="鐗堟湰" min-width="180" align="center" prop="edition"/> + <el-table-column label="鍔熻兘鎻忚堪" min-width="180" align="center" prop="functionDescription"/> + <el-table-column label="鎺堟潈鏂瑰紡" min-width="180" align="center" prop="authorizationMethod_dictText"/> + <el-table-column label="鎺堟潈鏁伴噺" min-width="180" align="center" prop="authorizedQuantity"/> <el-table-column label="杞戒綋鏈嶅姟鍣�" align="center" prop="serverId_dictText"> <template slot-scope="scope"> <el-link type="primary" @click="serverClick(scope.row)">{{scope.row.serverId_dictText}}</el-link> </template> </el-table-column> - <el-table-column label="鏂藉伐鎵规" align="center" prop="constructionBatchId_dictText"/> - <el-table-column label="鐢熶骇鍘傚晢" align="center" prop="manufacturerId_dictText"/> - <el-table-column label="澶囨敞" align="center" prop="remarks"/> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> + <el-table-column label="鏂藉伐鎵规" min-width="180" align="center" prop="constructionBatchId_dictText"/> + <el-table-column label="鐢熶骇鍘傚晢" min-width="220" align="center" prop="manufacturerId_dictText"/> + <el-table-column label="澶囨敞" align="center" min-width="180" prop="remarks"/> + <el-table-column label="鎿嶄綔" align="center" fixed="right" width="220" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button size="mini" @@ -97,7 +94,6 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['oa:system:edit']" >淇敼 </el-button> <el-button @@ -113,7 +109,6 @@ class="del-btn" icon="el-icon-delete" @click="handleDelete(scope.row)" - v-hasPermi="['oa:system:remove']" >鍒犻櫎 </el-button> </template> @@ -144,7 +139,7 @@ </el-col> </el-row> <el-form-item label="鍔熻兘鎻忚堪" prop="functionDescription"> - <el-input v-model="form.functionDescription" :rows="8" maxlength="64" show-word-limit type="textarea" + <el-input v-model="form.functionDescription" :rows="8" maxlength="512" show-word-limit type="textarea" placeholder="璇疯緭鍏ュ唴瀹�"/> </el-form-item> <el-row> @@ -183,7 +178,7 @@ </el-col> </el-row> <el-form-item label="澶囨敞" prop="remarks"> - <el-input v-model="form.remarks" type="textarea" placeholder="璇疯緭鍏ュ唴瀹�"/> + <el-input v-model="form.remarks" :rows="8" maxlength="512" show-word-limit type="textarea" placeholder="璇疯緭鍏ュ唴瀹�"/> </el-form-item> </el-form> <div slot="footer" class="dialog-footer"> @@ -443,7 +438,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const ids = row.id || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎杞欢绯荤粺缂栧彿涓�"' + ids + '"鐨勬暟鎹」锛�').then(() => { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(() => { this.loading = true; return delSystem(ids); }).then(() => { -- Gitblit v1.9.1