From e1ac26d7d749012a04afa8f98acf8607cbf0fbfe Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 17 九月 2025 14:19:58 +0800
Subject: [PATCH] 最新版本541200007
---
admin/src/views/platform/set/index.vue | 55 +++++++++++++++++++++++++++++--------------------------
1 files changed, 29 insertions(+), 26 deletions(-)
diff --git a/admin/src/views/platform/set/index.vue b/admin/src/views/platform/set/index.vue
index 9c2c790..a839c01 100644
--- a/admin/src/views/platform/set/index.vue
+++ b/admin/src/views/platform/set/index.vue
@@ -25,7 +25,13 @@
</el-table-column>
<el-table-column
prop="workingNum"
- label="鍚屾椂浣滀笟杞﹁締鏁�"
+ label="鍚屾椂鍙彿鏁伴噺"
+ min-width="100"
+ show-overflow-tooltip
+ />
+ <el-table-column
+ prop="callReadyNum"
+ label="鍚屾椂鍑嗗鏁伴噺"
min-width="100"
show-overflow-tooltip
/>
@@ -82,10 +88,12 @@
@current-change="getList"
:pagination="pagination"
/>
- <el-dialog
+ <GlobalWindow
:title="param.id ? '缂栬緫鏈堝彴閰嶇疆' : '鏂板鏈堝彴閰嶇疆'"
:visible.sync="isShowEdit"
width="600px"
+ :confirm-working="subLoading"
+ @confirm="handleSub"
>
<el-form
:model="param"
@@ -114,8 +122,12 @@
format="HH:mm"
/>
</el-form-item>
- <el-form-item label="鍚屾椂浣滀笟杞﹁締鏁�">
+ <el-form-item label="鍚屾椂鍙彿鏁伴噺">
<el-input v-model="param.workingNum" class="w300"></el-input>
+ <span class="ml10">涓�</span>
+ </el-form-item>
+ <el-form-item label="鍚屾椂鍑嗗鏁伴噺">
+ <el-input v-model="param.callReadyNum" class="w300"></el-input>
<span class="ml10">涓�</span>
</el-form-item>
<el-form-item label="鍋滅暀瓒呮椂鎶ヨ鏃堕棿">
@@ -152,27 +164,27 @@
<span class="ml10">鍒嗛挓</span>
</el-form-item>
</el-form>
- <span slot="footer" class="dialog-footer">
- <el-button @click="isShowEdit = false">鍙栨秷</el-button>
- <el-button type="primary" @click="handleSub">纭畾</el-button>
- </span>
- </el-dialog>
+ </GlobalWindow>
</div>
</template>
<script>
import Pagination from '@/components/common/Pagination'
import QueryForm from '@/components/common/QueryForm'
-import { getPlatform, PlatformEdit, PlatformDel } from '@/api'
+import GlobalWindow from '@/components/common/GlobalWindow'
+// import { getPlatform, PlatformEdit, PlatformDel } from '@/api'
+import { PlatformEdit, PlatformDel } from '@/api'
export default {
components: {
Pagination,
- QueryForm
+ QueryForm,
+ GlobalWindow
},
data () {
return {
filters: {},
loading: false,
+ subLoading: false,
queryFormConfig: {
formItems: [
{
@@ -201,12 +213,12 @@
getList (page) {
const { filters, pagination } = this
pagination.page = page || pagination.page
- getPlatform({
- model: { ...filters },
- ...pagination
- }).then(res => {
- this.dataList = res.records
- })
+ // getPlatform({
+ // model: { ...filters },
+ // ...pagination
+ // }).then(res => {
+ // this.dataList = res.records
+ // })
},
handleDel (item) {
this.$confirm('纭畾鍒犻櫎璇ユ湀鍙板悧, 鏄惁缁х画?', '鎻愮ず', {
@@ -218,16 +230,6 @@
this.getList()
this.$tip.success('鍒犻櫎鎴愬姛')
})
- })
- },
- handleSub () {
- const { param } = this
- PlatformEdit({
- ...param
- }).then(res => {
- this.isShowEdit = false
- this.$tip.success('鎻愪氦鎴愬姛')
- this.getList()
})
},
changeStatus (item) {
@@ -249,6 +251,7 @@
},
handleSizeChange (capacity) {
this.pagination.capacity = capacity
+ this.getList(1)
}
}
}
--
Gitblit v1.9.3