From 6e5c3105e4921bf5e75c71351c27dfd345d45073 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期四, 08 六月 2023 16:02:50 +0800
Subject: [PATCH] 集成接口管理模块-系统管理删除接口添加
---
Source/UBCS-WEB/src/components/Tree/classifyTrees.vue | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
index f3d1fd1..71747d3 100644
--- a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
@@ -187,7 +187,6 @@
TreeObjcet,
TreeEnable,
TreeDeactivate,
- importClassify,
gridCodeClassifyTemplate,
getObjectByOid,
gridCodeClassifyTemplateAttr,
@@ -197,7 +196,6 @@
editSave,
copy
} from "@/api/template/templateAttr";
-import done from "@/views/work/done";
export default {
name: "classifyTrees.vue",
@@ -406,14 +404,13 @@
getAtrrList().then(res => {
this.Treedata = res.data;
this.CloneTreedata = res.data;
- this.Treedata.forEach((item) => {
+ this.Treedata.forEach(() => {
for (let i = 0; i < this.Treedata.length; i++) {
this.Treedata[i].value = i;
}
})
//璋冪敤淇敼灞炴�у悕鏂规硶
- this.ModifyProperties(this.Treedata, 'text', 'label');
- this.ModifyProperties(this.CloneTreedata, 'text', 'label');
+ this.ModifyProperties(this.CloneTreedata, 'name', 'label');
}).catch(res => {
this.$message.error(res)
})
@@ -547,7 +544,7 @@
cancelButtonText: '鍙栨秷',
type: 'warning'
}).then(() => {
- TreeEnable(this.nodeClickList).then((res) => {
+ TreeEnable(this.nodeClickList).then(() => {
this.$message({
type: 'success',
message: '鍚敤鎴愬姛!'
@@ -575,7 +572,7 @@
cancelButtonText: '鍙栨秷',
type: 'warning'
}).then(() => {
- TreeDeactivate(this.nodeClickList).then((res) => {
+ TreeDeactivate(this.nodeClickList).then(() => {
this.$message({
type: 'success',
message: '鍋滅敤鎴愬姛!'
@@ -723,7 +720,7 @@
} else {
let codeClassifyOid = this.codeClassifyOid
this.$set(row, "codeclassifyoid", codeClassifyOid)
- addSave(row).then(res => {
+ addSave(row).then(() => {
this.$message({
type: "success",
message: "娣诲姞鎴愬姛!"
@@ -740,7 +737,7 @@
},
//妯℃澘绠$悊淇敼
CrudRowUpdata(row,index,done) {
- editSave(row).then((res) => {
+ editSave(row).then(() => {
this.CrudRend()
this.$message({
type: "success",
@@ -753,7 +750,7 @@
},
//妯℃澘绠$悊鍒犻櫎
CrudRowDel(row) {
- deleteData(row).then(res => {
+ deleteData(row).then(()=> {
this.CrudRend()
}).catch(res => {
this.$message({
@@ -831,7 +828,7 @@
//閲嶆柊璧嬪�糃loneSelect浼犻�掔殑鏁版嵁涓鸿緭鍏ユ鍙互淇敼鐨勬暟鎹紝CloneModel鎻愪氦琛ㄥ崟杈撳叆妗嗗弻鍚戠粦瀹氭暟鎹�
this.CloneSelect[0].id=this.CloneModel.id;
this.CloneSelect[0].name=this.CloneModel.name;
- copy(this.CloneSelect[0]).then(res=>{
+ copy(this.CloneSelect[0]).then(()=>{
//鍥犱负鏄祵濂楀脊绐楁墍浠ユ墜鍔ㄥ叧闂瑿loneinnerVisible锛孋loneVisible涓や釜寮圭獥銆�
this.CloneinnerVisible=false
this.CloneVisible=false
--
Gitblit v1.9.3