From b9698fdce1734673e847ee5f62244dfd27077027 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 11 一月 2023 15:33:36 +0800
Subject: [PATCH] 地图功能
---
src/views/systemSetting/baseSetting/department/index.vue | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/views/systemSetting/baseSetting/department/index.vue b/src/views/systemSetting/baseSetting/department/index.vue
index a3c8d40..54691db 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) => {
@@ -443,7 +450,7 @@
text-align: left;
margin: 10px 20px;
// color: #4b9bb7;
-
+ border: 1px solid #ccc;
header {
// background-color: white;
// border: 1 pox solid #fff;
@@ -483,14 +490,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;
}
}
@@ -514,6 +521,7 @@
.funs-sp {
// border: 1px solid #17324c;
+ border: 1px solid #DCDFE6;
}
.funs {
--
Gitblit v1.8.0