From 52da7460a26b0f99d2f72ff4dc61765daca30e50 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期二, 03 一月 2023 09:47:03 +0800
Subject: [PATCH] 跨域配置修改
---
src/views/systemSetting/baseSetting/department/index.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/systemSetting/baseSetting/department/index.vue b/src/views/systemSetting/baseSetting/department/index.vue
index a3c8d40..7f0f8d5 100644
--- a/src/views/systemSetting/baseSetting/department/index.vue
+++ b/src/views/systemSetting/baseSetting/department/index.vue
@@ -76,6 +76,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 +322,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) => {
--
Gitblit v1.8.0