From cf1972fe1e1ec70717d3a9edd63d906090d33e09 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期五, 08 三月 2024 14:34:25 +0800 Subject: [PATCH] mrshi --- admin/src/views/business/deviceRole.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/src/views/business/deviceRole.vue b/admin/src/views/business/deviceRole.vue index 776c49d..c2c96cb 100644 --- a/admin/src/views/business/deviceRole.vue +++ b/admin/src/views/business/deviceRole.vue @@ -1,9 +1,9 @@ <template> <TableLayout :permissions="['business:devicerole:query']"> <!-- 鎼滅储琛ㄥ崟 --> - <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> - <el-form-item label="闂ㄧ缁勫悕绉�" prop="name"> - <el-input v-model="searchForm.name" placeholder="璇疯緭鍏ラ棬绂佺粍鍚嶇О" @keypress.enter.native="search"></el-input> + <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="110px" inline> + <el-form-item label="闂ㄧ鐐瑰垎缁勫悕绉�" prop="name"> + <el-input v-model="searchForm.name" placeholder="璇疯緭鍏ラ棬绂佺偣鍒嗙粍鍚嶇О" @keypress.enter.native="search"></el-input> </el-form-item> <section> <el-button type="primary" @click="search">鎼滅储</el-button> @@ -13,7 +13,7 @@ <!-- 琛ㄦ牸鍜屽垎椤� --> <template v-slot:table-wrap> <ul class="toolbar" v-permissions="['business:devicerole:create', 'business:devicerole:delete']"> - <li><el-button type="primary" @click="$refs.operaDeviceRoleWindow.open('鏂板缓闂ㄧ瑙掕壊')" icon="el-icon-plus" v-permissions="['business:devicerole:create']">鏂板缓</el-button></li> + <li><el-button type="primary" @click="$refs.operaDeviceRoleWindow.open('鏂板缓闂ㄧ鐐瑰垎缁�')" icon="el-icon-plus" v-permissions="['business:devicerole:create']">鏂板缓</el-button></li> <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:devicerole:delete']">鍒犻櫎</el-button></li> </ul> <el-table @@ -23,7 +23,7 @@ @selection-change="handleSelectionChange" > <el-table-column type="selection" width="55"></el-table-column> - <el-table-column prop="name" label="闂ㄧ缁勫悕绉�" min-width="100px"></el-table-column> + <el-table-column prop="name" label="闂ㄧ鐐瑰垎缁�" min-width="100px"></el-table-column> <el-table-column prop="memberNum" label="浣跨敤浜烘暟" min-width="100px"></el-table-column> <el-table-column prop="isDefault" label="鏄惁榛樿" min-width="100px"> <template slot-scope="{row}"> @@ -83,7 +83,7 @@ }, created () { this.config({ - module: '闂ㄧ瑙掕壊', + module: '闂ㄧ鐐瑰垎缁�', api: '/business/deviceRole', 'field.id': 'id', 'field.main': 'name' @@ -108,7 +108,7 @@ row.radio = 0 row.doorIds = [] } - this.$refs.operaDeviceRoleWindow.open('缂栬緫闂ㄧ瑙掕壊', row) + this.$refs.operaDeviceRoleWindow.open('缂栬緫闂ㄧ鐐瑰垎缁�', row) } } } -- Gitblit v1.9.3