diff --git a/src/views/homePage/components/setConfig/channelSet.vue b/src/views/homePage/components/setConfig/channelSet.vue new file mode 100644 index 0000000..0d42b14 --- /dev/null +++ b/src/views/homePage/components/setConfig/channelSet.vue @@ -0,0 +1,1294 @@ + + + diff --git a/src/views/homePage/components/setConfig/config.vue b/src/views/homePage/components/setConfig/config.vue new file mode 100644 index 0000000..6526925 --- /dev/null +++ b/src/views/homePage/components/setConfig/config.vue @@ -0,0 +1,128 @@ + + + diff --git a/src/views/homePage/components/tableMain.vue b/src/views/homePage/components/tableMain.vue index a1a9898..7043f65 100644 --- a/src/views/homePage/components/tableMain.vue +++ b/src/views/homePage/components/tableMain.vue @@ -1162,6 +1162,9 @@ :msgCompany="msgCompany" :multipleSelection="multipleSelection" > + + + @@ -1176,6 +1179,7 @@ import { } from "@/utils/api/index"; import rowMsgDialog from "./rowMsgDialog.vue"; import msgList from "./msglist.vue"; +import config from "./setConfig/config"; import htmlToExcel from "@/utils/htmlToExcel"; import { saveAs } from "file-saver"; import XLSX from "xlsx"; @@ -1191,6 +1195,7 @@ export default { components: { rowMsgDialog, msgList, + config, }, data() { //判断ip @@ -2129,9 +2134,19 @@ export default { this.pushFileVisible = true; return; case 15: - console.log("推送大文件"); - this.configVisible = true; - this.getconfigList(); + console.log("修改配置文件"); + // this.configVisible = true; + if (this.multipleSelection.length !== 1) { + this.$message({ + duration: 1500, + showClose: true, + message: "只能选中一个设备", + type: "warning", + }); + return; + } + this.$refs.configRef.display(); + // this.getconfigList(); return; } }, diff --git a/src/views/report/index.vue b/src/views/report/index.vue index e45f4d5..b96d30f 100644 --- a/src/views/report/index.vue +++ b/src/views/report/index.vue @@ -50,8 +50,13 @@ 设备ID:{{ item.terminal.cmdid }} - apk版本:{{ item.cmdMap.fileName }}配置路径:{{ item.cmdMap.path }}{{ item.cmdMap.fileName }} 命令:{{ cmdCn[item.name] }} @@ -130,7 +135,18 @@ >设备ID:{{ item.terminal.cmdid }} 命令:{{ cmdCn[item.name] }} - 配置文件:{{ item.cmdMap.path }}{{ item.cmdMap.fileName }} + apk版本:{{ item.cmdMap.fileName }} cmd:{{ item.cmdMap }} @@ -200,6 +216,7 @@ export default { pull_files: "拉取文件", push_file: "推送文件", dl_file: "推送大文件", + upd_cfg: "修改配置文件", }, cmdtimer: null, endtimer: null,