diff --git a/api/system/ApiList.js b/api/system/ApiList.js index 3d11d23..8143427 100644 --- a/api/system/ApiList.js +++ b/api/system/ApiList.js @@ -54,11 +54,19 @@ export function eventChangeIsReport(data) { }) } // 五种审核个数 -export function fiveEventCount(data) { +export function fiveEventCount(params) { return request({ url: `/api/earlyWarningAudit/massEvents/fiveEventCount`, method: 'get', - data + params + }) +} +// 查询工单详情 +export function massEventsId(params) { + return request({ + url: `/api/earlyWarningAudit/massEvents/${params}`, + method: 'get', + // params }) } diff --git a/components/LieBIaoList/LieBIaoList.vue b/components/LieBIaoList/LieBIaoList.vue new file mode 100644 index 0000000..0557a73 --- /dev/null +++ b/components/LieBIaoList/LieBIaoList.vue @@ -0,0 +1,305 @@ + + + + + \ No newline at end of file diff --git a/components/myceshi/myceshi.vue b/components/myceshi/myceshi.vue new file mode 100644 index 0000000..3311138 --- /dev/null +++ b/components/myceshi/myceshi.vue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/config.js b/config.js index fc1ed5e..91a3fd4 100644 --- a/config.js +++ b/config.js @@ -1,7 +1,7 @@ // 应用全局配置 module.exports = { // baseUrl: 'https://vue.ruoyi.vip/prod-api', - baseUrl: 'http://192.168.0.112:9102', + baseUrl: 'http://192.168.0.107:9102', // 应用信息 appInfo: { // 应用名称 diff --git a/pages.json b/pages.json index 1189370..6882dc1 100644 --- a/pages.json +++ b/pages.json @@ -94,6 +94,14 @@ "navigationStyle": "custom", // 隐藏系统导航栏 "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 } + }, + { + "path" : "Xiangqing/Xiangqing", + "style" : + { + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一 + } }] }], diff --git a/views/Xiangqing/Xiangqing.vue b/views/Xiangqing/Xiangqing.vue new file mode 100644 index 0000000..59d26ea --- /dev/null +++ b/views/Xiangqing/Xiangqing.vue @@ -0,0 +1,253 @@ + + + + + \ No newline at end of file diff --git a/views/jiashicangshenhe/jiashicangshenhe - 副本.vue b/views/jiashicangshenhe/jiashicangshenhe - 副本.vue new file mode 100644 index 0000000..f68b4c3 --- /dev/null +++ b/views/jiashicangshenhe/jiashicangshenhe - 副本.vue @@ -0,0 +1,461 @@ + + + + + \ No newline at end of file diff --git a/views/jiashicangshenhe/jiashicangshenhe.vue b/views/jiashicangshenhe/jiashicangshenhe.vue index f68b4c3..2a72e4b 100644 --- a/views/jiashicangshenhe/jiashicangshenhe.vue +++ b/views/jiashicangshenhe/jiashicangshenhe.vue @@ -95,16 +95,18 @@ {{$store.state.tijiaoList.shijianList.length}} - + - + + + 重新上报驾驶舱 @@ -237,6 +239,15 @@ this.listtotle = res.data.total this.ObjitemTow = res.data.records[0] }) + this.$nextTick(res=>{ + let obj ={ + tabscurrent:this.tabscurrent, + innerEventId:this.innerEventId + } + this.$refs.LieBIaoListis.open(obj) + console.log(this.$refs.LieBIaoListis); + }) + }, // 获取详情 getByInnerEventIdmy() { @@ -244,6 +255,7 @@ if (res.code == 200) { this.Objitem = res.data } + }) }, // 退回或者提交 @@ -260,19 +272,10 @@ }); return } - let caseSerialData = {} - if (this.navbarValue == "同人同诉") { - this.$store.state.tijiaoList.shijianList.forEach(res => { - caseSerialData[res.key] = res.value - }) - } else { - this.$store.state.tijiaoList.shijianList.forEach(res => { - caseSerialData[res] = 1 - }) - } + let obj = { - caseSerial: caseSerialData, + caseSerial: this.$store.state.tijiaoList.shijianList, innerEventId: this.innerEventId, isReport, msgType: this.Objitem.msgType @@ -312,6 +315,7 @@ this.innerEventId = opcent.innerEventId this.getByInnerEventIdmy() this.getList() + }, onShow() { this.getByInnerEventIdmy() @@ -458,4 +462,12 @@ .lishi-box-jiacu { font-weight: bold; } + + .LieBIaoList { + padding: 10rpx; + height: 50vh; + width: 100%; + overflow: auto; + background-color: #f7f7f7fa; + } \ No newline at end of file diff --git a/views/yemianxianqging/yemianxianqging - 副本.vue b/views/yemianxianqging/yemianxianqging - 副本.vue new file mode 100644 index 0000000..23c93b5 --- /dev/null +++ b/views/yemianxianqging/yemianxianqging - 副本.vue @@ -0,0 +1,351 @@ + + + + + \ No newline at end of file diff --git a/views/yemianxianqging/yemianxianqging.vue b/views/yemianxianqging/yemianxianqging.vue index 23c93b5..5c8931e 100644 --- a/views/yemianxianqging/yemianxianqging.vue +++ b/views/yemianxianqging/yemianxianqging.vue @@ -36,47 +36,18 @@ - - - - - - - - 非同人事件 - - - - - 非同诉事件 - - - - + - {{navbarValue=='重点人员'?'非重点事件':navbarValue=='一人多诉'?'非同一人事件':'非同一事件'}} + 不符合 - {{navbarValue=='重点人员'?'重点事件':navbarValue=='一人多诉'?'同一人事件':'同一事件'}} + 符合 @@ -118,52 +89,17 @@ //判断是否为同人同诉,如果为,那么判断点击时的状态 2 为非同人 ,对应字段caseSerialShowleft //3 为 非同诉,对应字段caseSerialShowRight - if (this.navbarValue == '同人同诉') { - let obj = { - key: item.caseSerial, - value: type - } - if (type == 2) { - - item.caseSerialShowleft = !item.caseSerialShowleft - item.caseSerialShowRight = false - if (!item.caseSerialShowleft) { - //删除操作 - this.shijianList = this.shijianList.filter((obj) => { - return obj.key != item.caseSerial; - }); - } else { - this.shijianList = this.shijianList.filter((obj) => { - return obj.key != item.caseSerial; - }); - this.shijianList.push(obj) - } - } else if (type == 3) { - item.caseSerialShowRight = !item.caseSerialShowRight - item.caseSerialShowleft = false - if (!item.caseSerialShowRight) { - // 删除操作 - this.shijianList = this.shijianList.filter((obj) => { - return obj.key != item.caseSerial; - }); - } else { - this.shijianList = this.shijianList.filter((obj) => { - return obj.key != item.caseSerial; - }); - this.shijianList.push(obj) - } - } - } else { - item.caseSerialShow = !item.caseSerialShow - if (!item.caseSerialShow) { - this.shijianList = this.shijianList.filter((obj) => { - return obj != item.caseSerial; - }); - } else { - this.shijianList.push(item.caseSerial) - } + item.caseSerialShow = !item.caseSerialShow + if (!item.caseSerialShow) { + this.shijianList = this.shijianList.filter((obj) => { + return obj != item.caseSerial; + }); + } else { + this.shijianList.push(item.caseSerial) } + + this.$store.dispatch("setstate", this.shijianList) console.log(this.shijianList); console.log(this.$store.state.tijiaoList.shijianList); @@ -176,28 +112,14 @@ this.tiaoshu = res.data.total this.contentList = res.data.records - if (this.navbarValue == '同人同诉') { - this.contentList = this.contentList.map((obj) => { - - const caseSerialShowleft = storeList.some(res => res.key == obj.caseSerial && - res.value == 2); - const caseSerialShowRight = storeList.some(res => res.key == obj.caseSerial && - res.value == 3); - return { - ...obj, - caseSerialShowleft, - caseSerialShowRight - }; - }); - } else { - this.contentList = this.contentList.map((obj) => { - const caseSerialShow = storeList.includes(obj.caseSerial); - return { - ...obj, - caseSerialShow - }; - }); - } + + this.contentList = this.contentList.map((obj) => { + const caseSerialShow = storeList.includes(obj.caseSerial); + return { + ...obj, + caseSerialShow + }; + }); })