From 7455c63dc8a9869948f311bf6568349142135589 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 21 九月 2023 16:25:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS-WEB/src/api/integration/sysInfo.js | 8 ++++++++
Source/UBCS-WEB/src/views/integration/systemInfo.vue | 25 +++++++++++++++----------
2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/integration/sysInfo.js b/Source/UBCS-WEB/src/api/integration/sysInfo.js
index 9090647..17bc628 100644
--- a/Source/UBCS-WEB/src/api/integration/sysInfo.js
+++ b/Source/UBCS-WEB/src/api/integration/sysInfo.js
@@ -44,3 +44,11 @@
params: params
})
}
+// 鍒嗙被鎺堟潈
+export const batchAddSave = (params) => {
+ return request({
+ url: '/api/ubcs-code/codeApplyWebManagementController/batchAddSave',
+ method: 'post',
+ params: params
+ })
+}
diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
index bd3103f..a6b21e5 100644
--- a/Source/UBCS-WEB/src/views/integration/systemInfo.vue
+++ b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
@@ -24,7 +24,7 @@
</template>
</avue-crud>
- <el-dialog :visible.sync="dialogVisible" append-to-body class="avue-dialog avue-dialog--top" title="鍒嗙被鎺堟潈" top="-10">
+ <el-dialog :visible.sync="dialogVisible" append-to-body class="avue-dialog avue-dialog--top" title="鍒嗙被鎺堟潈" top="-50px">
<el-row>
<el-col :span="10">
@@ -37,18 +37,19 @@
</el-col>
</el-row>
<div slot="footer" class="dialog-footer" style="height: 50px;line-height: 50px">
- <el-button type="primary" icon="el-icon-plus" size="small">鎺� 鏉�</el-button>
+ <el-button type="primary" icon="el-icon-plus" size="small" @click="empower">鎺� 鏉�</el-button>
<el-button icon="el-icon-close" size="small" type="danger">閲� 缃�</el-button>
</div>
</el-dialog>
</basic-container>
</template>
<script>
-import {getSysInfoList, sysInfoAdd, sysInfoEdit, sysInfoDel, sysInfoTree} from '@/api/integration/sysInfo.js'
+import {getSysInfoList, sysInfoAdd, sysInfoEdit, sysInfoDel, sysInfoTree,batchAddSave} from '@/api/integration/sysInfo.js'
export default {
data() {
return {
+ checkAll:[],
//閬垮厤缂撳瓨
reload: Math.random(),
TreeLoading: false,
@@ -127,12 +128,18 @@
},
methods: {
+ empower(){
+ batchAddSave({systemOid: this.checkAll.oid, systemId: this.checkAll.id}).then(res=>{
+ console.log(res)
+ })
+ },
//鍒嗙被鎺堟潈澶氶�夊洖璋�
checkChange(row,checked) {
- // console.log(row)
- // if(checked){
- //
- // }
+ if(checked){
+ // console.log('row',row)
+ this.checkAll.push(row);
+ console.log('checkAll',this.checkAll)
+ }
},
//鍒嗙被鎺堟潈
classifyHandler(row) {
@@ -266,9 +273,7 @@
},
// enter鎼滅储
handleEnter() {
- if (this.search[this.selectValue] === '') return
- else this.getDataList()
-
+ this.getDataList()
},
// 杈撳叆妗嗘竻绌�
handleClear() {
--
Gitblit v1.9.3