From cc359f238d4ce86c96b224498a87902e1b2de557 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 06 六月 2024 15:41:20 +0800
Subject: [PATCH] ‘’
---
admin/src/api/index.js | 1 +
admin/src/views/platform/index.vue | 21 +++++++++++++++------
admin/src/views/business/approvalConfiguration.vue | 8 ++++----
admin/src/views/operation/serviceCar/apprConfig.vue | 8 ++++----
4 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/admin/src/api/index.js b/admin/src/api/index.js
index 8ed72e4..22239b3 100644
--- a/admin/src/api/index.js
+++ b/admin/src/api/index.js
@@ -1,3 +1,4 @@
export const uploadFile = '/admin_interface/visitsAdmin/cloudService/public/upload'
export * from './business/index'
+export * from './platform'
diff --git a/admin/src/views/business/approvalConfiguration.vue b/admin/src/views/business/approvalConfiguration.vue
index f274f74..622d55f 100644
--- a/admin/src/views/business/approvalConfiguration.vue
+++ b/admin/src/views/business/approvalConfiguration.vue
@@ -324,9 +324,9 @@
type: activeType,
paramList: temp
}).then(res => {
- if (res.code === 200) {
- this.$message.success('淇濆瓨鎴愬姛')
- }
+ // if (res.code === 200) {
+ this.$message.success('淇濆瓨鎴愬姛')
+ // }
})
},
handleDel () {
@@ -335,7 +335,7 @@
this.activeIndex = 0
},
handleAddAppr () {
- this.apprList.splice(this.apprList.length - 2, 0, { remark: '瀹℃壒浜�', active: false, type: 0, objIds: [] })
+ this.apprList.splice(this.apprList.length - 1, 0, { remark: '瀹℃壒浜�', active: false, type: 0, objIds: [] })
// this.apprList.push({ remark: '瀹℃壒浜�', active: false, type: '0' })
},
diff --git a/admin/src/views/operation/serviceCar/apprConfig.vue b/admin/src/views/operation/serviceCar/apprConfig.vue
index 096155e..9f2d3e6 100644
--- a/admin/src/views/operation/serviceCar/apprConfig.vue
+++ b/admin/src/views/operation/serviceCar/apprConfig.vue
@@ -333,9 +333,9 @@
type: activeType,
paramList: temp
}).then(res => {
- if (res.code === 200) {
- this.$message.success('淇濆瓨鎴愬姛')
- }
+ // if (res.code === 200) {
+ this.$tip.success('淇濆瓨鎴愬姛')
+ // }
})
},
handleDel () {
@@ -344,7 +344,7 @@
this.activeIndex = 0
},
handleAddAppr () {
- this.apprList.splice(this.apprList.length - 2, 0, { remark: '瀹℃壒浜�', active: false, type: 0, objIds: [] })
+ this.apprList.splice(this.apprList.length - 1, 0, { remark: '瀹℃壒浜�', active: false, type: 0, objIds: [] })
// this.apprList.push({ remark: '瀹℃壒浜�', active: false, type: '0' })
},
diff --git a/admin/src/views/platform/index.vue b/admin/src/views/platform/index.vue
index d5f30a6..2cb6a8d 100644
--- a/admin/src/views/platform/index.vue
+++ b/admin/src/views/platform/index.vue
@@ -213,8 +213,9 @@
</template>
<script>
+import { getPlatform } from '@/api'
export default {
- data() {
+ data () {
return {
currentPlatform: '',
platformList: [],
@@ -227,22 +228,30 @@
queuingForm: {}
}
},
+ created () {
+ this.getPlatList()
+ },
methods: {
- handleQueuing(row) {
+ handleQueuing (row) {
this.isShowQueuing = true
},
- handleFinish(item) {
+ handleFinish (item) {
this.$confirm('楂樻灦搴�6鍙锋湀鍙� 鐨朅12345 浣滀笟缁撴潫', '娓╅Θ鎻愮ず', {
confirmButtonText: '纭畾',
cancelButtonText: '鍙栨秷',
type: 'warning'
})
},
- handleSet() {
+ getPlatList () {
+ getPlatform({
+ model: {}
+ })
+ },
+ handleSet () {
this.isShowSet = true
},
- setReset() { },
- setSub() { }
+ setReset () { },
+ setSub () { }
}
}
</script>
--
Gitblit v1.9.3