From d233d809dd78aa2bf973cdb2ad577dc823eb6ddc Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期二, 28 二月 2023 11:45:36 +0800
Subject: [PATCH] 2023/2/28 肖辉 违建登记添加-身份证正反面调整
---
src/views/systemSetting/baseSetting/department/index.vue | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/views/systemSetting/baseSetting/department/index.vue b/src/views/systemSetting/baseSetting/department/index.vue
index a3c8d40..e897ba3 100644
--- a/src/views/systemSetting/baseSetting/department/index.vue
+++ b/src/views/systemSetting/baseSetting/department/index.vue
@@ -33,8 +33,11 @@
<div class="mainContent">
<!-- 鏁版嵁灞曠ず -->
<el-table
+ border
+ stripe
ref="multipleTable"
:header-cell-style="{
+ 'background':'#F5F5F5',
'font-size': '14px',
'font-weight': '650',
'line-height': '45px',
@@ -76,6 +79,10 @@
<span @click="handleUpdate(scope.row)">淇敼</span>
<span class="line">|</span>
<span @click="handleDelete(scope.row)">鍒犻櫎</span>
+ <span class="line">|</span>
+ <span @click="handleChangeStatus(scope.row)">{{
+ scope.row.status === true ? "鍋滅敤" : "鍚敤"
+ }}</span>
</div>
</template>
</el-table-column>
@@ -318,7 +325,7 @@
// 淇敼鐘舵��
handleChangeStatus(obj) {
let {id, status} = obj;
- status == true ? (status = 1) : (status = 0);
+ status == true ? (status = 0) : (status = 1);
this.$axios
.post(`sccg/depart/status`, {id: id, status: status})
.then((res) => {
@@ -441,15 +448,16 @@
<style lang="scss" scoped>
.userList {
text-align: left;
- margin: 10px 20px;
+ padding: 10px 20px;
// color: #4b9bb7;
-
+ //height: 100%;
+ border: 1px solid #ccc;
header {
// background-color: white;
// border: 1 pox solid #fff;
.headerContent {
- padding: 0 40px;
+ padding: 0;
display: flex;
line-height: 100px;
justify-content: space-between;
@@ -483,14 +491,14 @@
.el-button {
padding: 12px 25px;
- border-radius: 20px;
+ //border-radius: 20px;
}
}
.addBtn {
- background-color: #eb5d01;
+ //background-color: #eb5d01;
border: none;
- border-radius: 20px;
+ //border-radius: 20px;
padding: 12px 30px;
}
}
@@ -510,10 +518,12 @@
display: flex;
justify-content: space-between;
align-items: center;
- padding: 0 20px;
+ padding: 0;
.funs-sp {
// border: 1px solid #17324c;
+ border: 1px solid #DCDFE6;
+ background-color: #fff;
}
.funs {
@@ -583,7 +593,7 @@
.line {
padding: 0 5px;
}
-
+ color: var(--operation-color);
span:hover {
cursor: pointer;
}
--
Gitblit v1.8.0