From 7aa43e7f0edb7680762b3ffaed7f944742bfc0ea Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 06 三月 2026 09:57:59 +0800
Subject: [PATCH] 最新版本541200007
---
admin/src/views/business/deviceBroadcastChannel.vue | 75 +++----------------------------------
1 files changed, 6 insertions(+), 69 deletions(-)
diff --git a/admin/src/views/business/deviceBroadcastChannel.vue b/admin/src/views/business/deviceBroadcastChannel.vue
index 63bc99c..c10e474 100644
--- a/admin/src/views/business/deviceBroadcastChannel.vue
+++ b/admin/src/views/business/deviceBroadcastChannel.vue
@@ -28,16 +28,6 @@
<el-table-column prop="channelNo" label="閫氶亾鍙�"></el-table-column>
<el-table-column prop="regionName" label="鍖哄煙鍚嶇О"></el-table-column>
<el-table-column prop="hkDate" label="鍚屾鏃堕棿"></el-table-column>
- <el-table-column
- label="鎿嶄綔"
- align="center"
- min-width="120"
- fixed="right"
- >
- <template slot-scope="{row}">
- <el-button type="text" @click="send(row)" icon="el-icon-edit" >鍙戦�佹挱鎶�</el-button>
- </template>
- </el-table-column>
</el-table>
<pagination
@size-change="handleSizeChange"
@@ -47,24 +37,7 @@
</pagination>
</template>
<!-- 鏂板缓/淇敼 -->
- <el-dialog
- :visible.sync="visibleSend"
- style="z-index: 100000"
- append-to-body
- width="50%"
- height="50%"
- :title="'鍙戦�佹挱鎶�-'+ form.name"
- >
- <el-form :model="form" ref="form" >
- <el-form-item label="鎾姤鍐呭" prop="name" required>
- <el-input v-model="form.sendInfo" type="textarea" placeholder="璇疯緭鍏ユ挱鎶ュ唴瀹�" v-trim/>
- </el-form-item>
- </el-form>
- <template v-slot:footer >
- <el-button @click="sendBobao()" type="primary" :loading="isWorkSending">纭</el-button>
- <el-button @click="sendClose()">杩斿洖</el-button>
- </template>
- </el-dialog>
+<!-- <OperaDeviceWindow ref="operaDeviceWindow" @success="handlePageChange"/>-->
</TableLayout>
</template>
@@ -72,11 +45,12 @@
import BaseTable from '@/components/base/BaseTable'
import TableLayout from '@/layouts/TableLayout'
import Pagination from '@/components/common/Pagination'
+import OperaDeviceWindow from '@/components/business/OperaDeviceWindow'
import { syncDevices, updateEntranceById } from '@/api/business/device'
export default {
name: 'Device',
extends: BaseTable,
- components: { TableLayout, Pagination },
+ components: { TableLayout, Pagination, OperaDeviceWindow },
data () {
return {
// 鎼滅储
@@ -87,14 +61,6 @@
online: '',
type: 3
},
- isWorkSending: false,
- form: {
- sendInfo: '',
- id: '',
- hkId: '',
- name: ''
- },
- visibleSend: false,
options: []
}
},
@@ -108,36 +74,7 @@
this.search()
},
methods: {
- sendBobao () {
- if (!this.form.sendInfo) {
- return
- }
- this.$dialog.actionConfirm('纭杩涜骞挎挱鎾姤鍚楋紵', '鎿嶄綔纭鎻愰啋')
- .then(() => {
- this.isWorkSending = true
- this.api.sendBobao(this.form)
- .then(res => {
- this.$tip.apiSuccess(res || '鎾姤璇锋眰鎴愬姛')
- this.sendClose()
- })
- .catch(e => {
- })
- .finally(() => {
- this.isWorkSending = false
- })
- })
- .catch(() => {})
- },
- send (row) {
- this.visibleSend = true
- this.form = { sendInfo: '', id: row.id, hkId: row.hkId, name: row.name }
- },
- sendClose () {
- this.visibleSend = false
- this.isWorkSending = false
- this.form = { sendInfo: '', id: '', hkId: '', name: '' }
- },
- changeManufature (e, row) {
+ changeManufature(e, row) {
updateEntranceById({
id: row.id,
isEntrance: e
@@ -147,13 +84,13 @@
this.$dialog.actionConfirm('鎿嶄綔纭鎻愰啋', '鎮ㄧ‘璁ゅ悓姝ュ叏閮ㄤ俊鎭悧锛�')
.then(() => {
this.isWorking.delete = true
- syncDevices({ type: 3 })
+ syncDevices({type: 3})
.then(res => {
this.$tip.apiSuccess(res || '鍚屾鎴愬姛')
this.search()
})
.catch(e => {
- // this.$tip.apiFailed(e)
+ // this.$tip.apiFailed(e)
})
.finally(() => {
this.isWorking.delete = false
--
Gitblit v1.9.3