更换corpId
This commit is contained in:
@@ -311,6 +311,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
const corpId = "wwb182f88f0327b37f"
|
||||||
import DvMap from './components/DvMap'
|
import DvMap from './components/DvMap'
|
||||||
import DoughnutChart from './components/DoughnutChart'
|
import DoughnutChart from './components/DoughnutChart'
|
||||||
export default {
|
export default {
|
||||||
@@ -849,8 +850,7 @@
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
||||||
params: {
|
params: {
|
||||||
gridParentId: this.gridId,
|
gridParentId: this.gridId, corpId
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -865,8 +865,7 @@
|
|||||||
this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A'
|
this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A'
|
||||||
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
||||||
params: {
|
params: {
|
||||||
gridParentId: gridId || '',
|
gridParentId: gridId || '', corpId
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -884,7 +883,7 @@
|
|||||||
getInfo () {
|
getInfo () {
|
||||||
this.instance.post(`/api/wxgridinfo/comprehensiveOverview`, null, {
|
this.instance.post(`/api/wxgridinfo/comprehensiveOverview`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -894,7 +893,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/wxGroupTag`, null, {
|
this.instance.post(`/api/wxgridinfo/wxGroupTag`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -915,7 +914,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/wxGroupOverview`, null, {
|
this.instance.post(`/api/wxgridinfo/wxGroupOverview`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId
|
gridId: this.gridId || this.gridParentId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -926,7 +925,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/wjwqgk`, null, {
|
this.instance.post(`/api/wxgridinfo/wjwqgk`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId
|
gridId: this.gridId || this.gridParentId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -937,7 +936,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/wjwqgkGMFB`, null, {
|
this.instance.post(`/api/wxgridinfo/wjwqgkGMFB`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId
|
gridId: this.gridId || this.gridParentId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -948,7 +947,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/cyActivity`, null, {
|
this.instance.post(`/api/wxgridinfo/cyActivity`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId
|
gridId: this.gridId || this.gridParentId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -1166,7 +1165,7 @@
|
|||||||
|
|
||||||
.el-input__suffix {
|
.el-input__suffix {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
top: 0px;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
|
|||||||
@@ -258,7 +258,7 @@
|
|||||||
<div class="info-title">
|
<div class="info-title">
|
||||||
<h2>事件详情</h2>
|
<h2>事件详情</h2>
|
||||||
</div>
|
</div>
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/dv/qxn/close.png" @click="isShow = false" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/dv/qxn/close.png" @click="isShow = false"/>
|
||||||
<h3 :title="eventInfo.desc">{{ eventInfo.desc }}</h3>
|
<h3 :title="eventInfo.desc">{{ eventInfo.desc }}</h3>
|
||||||
<div class="info-wrapper">
|
<div class="info-wrapper">
|
||||||
<div class="info-wrapper__item">
|
<div class="info-wrapper__item">
|
||||||
@@ -312,9 +312,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import DvMap from './components/DvMap'
|
const corpId = "wwb182f88f0327b37f"
|
||||||
import DoughnutChart from './components/DoughnutChart'
|
import DvMap from './components/DvMap'
|
||||||
export default {
|
import DoughnutChart from './components/DoughnutChart'
|
||||||
|
|
||||||
|
export default {
|
||||||
name: 'AppQxnEventDv',
|
name: 'AppQxnEventDv',
|
||||||
label: '事件上报',
|
label: '事件上报',
|
||||||
|
|
||||||
@@ -327,7 +329,7 @@
|
|||||||
DoughnutChart
|
DoughnutChart
|
||||||
},
|
},
|
||||||
|
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
policeStationList: [],
|
policeStationList: [],
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
@@ -354,22 +356,22 @@
|
|||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
||||||
borderColor: 'rgba(0, 102, 154, 0.65)',
|
borderColor: 'rgba(0, 102, 154, 0.65)',
|
||||||
textStyle: { color: '#fff' },
|
textStyle: {color: '#fff'},
|
||||||
axisPointer: { type: 'cross' }
|
axisPointer: {type: 'cross'}
|
||||||
},
|
},
|
||||||
color: ['#33CCCC', '#DBB36E'],
|
color: ['#33CCCC', '#DBB36E'],
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: "category",
|
type: "category",
|
||||||
axisTick: {show: false},
|
axisTick: {show: false},
|
||||||
axisLine: { lineStyle: { color: 'rgba(179, 223, 255, 0.4)' } },
|
axisLine: {lineStyle: {color: 'rgba(179, 223, 255, 0.4)'}},
|
||||||
axisLabel: {color: '#8FABBF', fontSize: 12}
|
axisLabel: {color: '#8FABBF', fontSize: 12}
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
nameGap: 23,
|
nameGap: 23,
|
||||||
minInterval: 1,
|
minInterval: 1,
|
||||||
splitLine: { lineStyle: { color: 'rgba(108, 128, 151, 0.3)', type: 'dashed' } },
|
splitLine: {lineStyle: {color: 'rgba(108, 128, 151, 0.3)', type: 'dashed'}},
|
||||||
axisLabel: {color: '#8FABBF', fontSize: 12},
|
axisLabel: {color: '#8FABBF', fontSize: 12},
|
||||||
axisPointer: { snap: true }
|
axisPointer: {snap: true}
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
@@ -407,22 +409,22 @@
|
|||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
||||||
borderColor: 'rgba(0, 102, 154, 0.65)',
|
borderColor: 'rgba(0, 102, 154, 0.65)',
|
||||||
textStyle: { color: '#fff' },
|
textStyle: {color: '#fff'},
|
||||||
axisPointer: { type: 'cross' }
|
axisPointer: {type: 'cross'}
|
||||||
},
|
},
|
||||||
color: ['#33CCCC', '#2C97E8','#BFEAFF', '#DBB36E'],
|
color: ['#33CCCC', '#2C97E8', '#BFEAFF', '#DBB36E'],
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: "category",
|
type: "category",
|
||||||
axisTick: {show: false},
|
axisTick: {show: false},
|
||||||
axisLine: { lineStyle: { color: 'rgba(179, 223, 255, 0.4)' } },
|
axisLine: {lineStyle: {color: 'rgba(179, 223, 255, 0.4)'}},
|
||||||
axisLabel: {color: '#8FABBF', fontSize: 12}
|
axisLabel: {color: '#8FABBF', fontSize: 12}
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
nameGap: 23,
|
nameGap: 23,
|
||||||
minInterval: 1,
|
minInterval: 1,
|
||||||
splitLine: { lineStyle: { color: 'rgba(108, 128, 151, 0.3)', type: 'dashed' } },
|
splitLine: {lineStyle: {color: 'rgba(108, 128, 151, 0.3)', type: 'dashed'}},
|
||||||
axisLabel: {color: '#8FABBF', fontSize: 12},
|
axisLabel: {color: '#8FABBF', fontSize: 12},
|
||||||
axisPointer: { snap: true }
|
axisPointer: {snap: true}
|
||||||
},
|
},
|
||||||
daemon: (color) => ({
|
daemon: (color) => ({
|
||||||
showSymbol: false,
|
showSymbol: false,
|
||||||
@@ -440,27 +442,27 @@
|
|||||||
y: 0,
|
y: 0,
|
||||||
y2: 1,
|
y2: 1,
|
||||||
colorStops: [
|
colorStops: [
|
||||||
{ offset: 0, color: this.Hex2RGBA(color, 0.3) },
|
{offset: 0, color: this.Hex2RGBA(color, 0.3)},
|
||||||
{ offset: 1, color: this.Hex2RGBA(color, 0.1) }
|
{offset: 1, color: this.Hex2RGBA(color, 0.1)}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
chartData3: [] ,
|
chartData3: [],
|
||||||
chartConfig3: {
|
chartConfig3: {
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: "category",
|
type: "category",
|
||||||
axisTick: {show: false},
|
axisTick: {show: false},
|
||||||
axisLabel: {color: '#8FABBF', fontSize: 12},
|
axisLabel: {color: '#8FABBF', fontSize: 12},
|
||||||
axisLine: { lineStyle: { color: 'rgba(179, 223, 255, 0.4)' } }
|
axisLine: {lineStyle: {color: 'rgba(179, 223, 255, 0.4)'}}
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
backgroundColor: 'rgba(0, 102, 154, 0.65)',
|
||||||
borderColor: 'rgba(0, 102, 154, 0.65)',
|
borderColor: 'rgba(0, 102, 154, 0.65)',
|
||||||
textStyle: { color: '#fff' },
|
textStyle: {color: '#fff'},
|
||||||
axisPointer: { type: 'cross' }
|
axisPointer: {type: 'cross'}
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '0%',
|
||||||
@@ -477,14 +479,14 @@
|
|||||||
yAxis: {
|
yAxis: {
|
||||||
nameGap: 23,
|
nameGap: 23,
|
||||||
minInterval: 1,
|
minInterval: 1,
|
||||||
splitLine: { lineStyle: { color: 'rgba(255,255,255,.2)', type: 'dashed' } },
|
splitLine: {lineStyle: {color: 'rgba(255,255,255,.2)', type: 'dashed'}},
|
||||||
axisPointer: { show: false },
|
axisPointer: {show: false},
|
||||||
axisLabel: {color: '#8FABBF', fontSize: 12}
|
axisLabel: {color: '#8FABBF', fontSize: 12}
|
||||||
},
|
},
|
||||||
axisPointer: {
|
axisPointer: {
|
||||||
type: 'shadow',
|
type: 'shadow',
|
||||||
triggerTooltip: false,
|
triggerTooltip: false,
|
||||||
shadowStyle: { color: 'rgba(46, 153, 255, .2)' }
|
shadowStyle: {color: 'rgba(46, 153, 255, .2)'}
|
||||||
},
|
},
|
||||||
color: [
|
color: [
|
||||||
{
|
{
|
||||||
@@ -494,8 +496,8 @@
|
|||||||
y: 0,
|
y: 0,
|
||||||
y2: 1,
|
y2: 1,
|
||||||
colorStops: [
|
colorStops: [
|
||||||
{ offset: 0, color: 'rgba(51, 204, 204, 1)' },
|
{offset: 0, color: 'rgba(51, 204, 204, 1)'},
|
||||||
{ offset: 1, color: 'rgba(31, 89, 89, 0.25)' }
|
{offset: 1, color: 'rgba(31, 89, 89, 0.25)'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -505,8 +507,8 @@
|
|||||||
y: 0,
|
y: 0,
|
||||||
y2: 1,
|
y2: 1,
|
||||||
colorStops: [
|
colorStops: [
|
||||||
{ offset: 0, color: 'rgba(44, 151, 232, 1)' },
|
{offset: 0, color: 'rgba(44, 151, 232, 1)'},
|
||||||
{ offset: 1, color: 'rgba(21, 154, 255, 0)' }
|
{offset: 1, color: 'rgba(21, 154, 255, 0)'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -516,8 +518,8 @@
|
|||||||
y: 0,
|
y: 0,
|
||||||
y2: 1,
|
y2: 1,
|
||||||
colorStops: [
|
colorStops: [
|
||||||
{ offset: 0, color: 'rgba(191, 234, 255, 1)' },
|
{offset: 0, color: 'rgba(191, 234, 255, 1)'},
|
||||||
{ offset: 1, color: 'rgba(191, 234, 255, 0.1)' }
|
{offset: 1, color: 'rgba(191, 234, 255, 0.1)'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -527,8 +529,8 @@
|
|||||||
y: 0,
|
y: 0,
|
||||||
y2: 1,
|
y2: 1,
|
||||||
colorStops: [
|
colorStops: [
|
||||||
{ offset: 0, color: 'rgba(219, 179, 110, 1)' },
|
{offset: 0, color: 'rgba(219, 179, 110, 1)'},
|
||||||
{ offset: 1, color: 'rgba(219, 179, 110, 0.1)' }
|
{offset: 1, color: 'rgba(219, 179, 110, 0.1)'}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -558,18 +560,18 @@
|
|||||||
wxGridReportOverviewInfo: {},
|
wxGridReportOverviewInfo: {},
|
||||||
tableData1: [],
|
tableData1: [],
|
||||||
colConfigs1: [
|
colConfigs1: [
|
||||||
{ prop: 'createTime', label: '时间', align: 'center', width: '60px', dateFormat: 'MM/DD' },
|
{prop: 'createTime', label: '时间', align: 'center', width: '60px', dateFormat: 'MM/DD'},
|
||||||
{ prop: 'reporterName', label: '姓名', align: 'center' },
|
{prop: 'reporterName', label: '姓名', align: 'center'},
|
||||||
{ prop: 'caseName', label: '事件名称', align: 'left', width: 130 }
|
{prop: 'caseName', label: '事件名称', align: 'left', width: 130}
|
||||||
],
|
],
|
||||||
eventInfo: {},
|
eventInfo: {},
|
||||||
reportHandleList: [],
|
reportHandleList: [],
|
||||||
colConfigs2: [
|
colConfigs2: [
|
||||||
{ slot: 'index' },
|
{slot: 'index'},
|
||||||
{ prop: 'name', label: '姓名', align: 'center' },
|
{prop: 'name', label: '姓名', align: 'center'},
|
||||||
{ prop: 'overCount', label: '已办结', align: 'center', width: 60 },
|
{prop: 'overCount', label: '已办结', align: 'center', width: 60},
|
||||||
{ prop: 'handleCount', label: '办理中', align: 'center', width: 60 },
|
{prop: 'handleCount', label: '办理中', align: 'center', width: 60},
|
||||||
{ prop: 'reportCount', label: '上报数', align: 'center', width: 60 },
|
{prop: 'reportCount', label: '上报数', align: 'center', width: 60},
|
||||||
{
|
{
|
||||||
prop: 'reportCount',
|
prop: 'reportCount',
|
||||||
label: '联系TA',
|
label: '联系TA',
|
||||||
@@ -599,8 +601,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
colConfigs3: [
|
colConfigs3: [
|
||||||
{ prop: 'createTime', label: '时间', align: 'center', dateFormat: 'MM/DD' },
|
{prop: 'createTime', label: '时间', align: 'center', dateFormat: 'MM/DD'},
|
||||||
{ prop: 'desc', label: '事件内容', align: 'left', width: 300 },
|
{prop: 'desc', label: '事件内容', align: 'left', width: 300},
|
||||||
{
|
{
|
||||||
prop: 'status',
|
prop: 'status',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
@@ -659,7 +661,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
chartData1 () {
|
chartData1() {
|
||||||
if (!this.wxGridReportOverviewInfo['上报来源分布+事件办理情况']) {
|
if (!this.wxGridReportOverviewInfo['上报来源分布+事件办理情况']) {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
@@ -673,7 +675,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
chartData2 () {
|
chartData2() {
|
||||||
if (!this.wxGridReportOverviewInfo['上报来源分布+事件办理情况']) {
|
if (!this.wxGridReportOverviewInfo['上报来源分布+事件办理情况']) {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
@@ -688,17 +690,17 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
sllData () {
|
sllData() {
|
||||||
return [{
|
return [{
|
||||||
key: '累计受理事件',
|
key: '累计受理事件',
|
||||||
value: this.wxGridReportOverviewInfo['全部上报事件数量'] - this.wxGridReportOverviewInfo['待受理数量']
|
value: this.wxGridReportOverviewInfo['全部上报事件数量'] - this.wxGridReportOverviewInfo['待受理数量']
|
||||||
},{
|
}, {
|
||||||
key: '累计上报事件',
|
key: '累计上报事件',
|
||||||
value: this.wxGridReportOverviewInfo['全部上报事件数量']
|
value: this.wxGridReportOverviewInfo['全部上报事件数量']
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
|
||||||
sllRate () {
|
sllRate() {
|
||||||
if (!this.wxGridReportOverviewInfo['全部上报事件数量']) {
|
if (!this.wxGridReportOverviewInfo['全部上报事件数量']) {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@@ -706,11 +708,11 @@
|
|||||||
return Number((((this.wxGridReportOverviewInfo['全部上报事件数量'] - this.wxGridReportOverviewInfo['待受理数量']) / this.wxGridReportOverviewInfo['全部上报事件数量']) * 100).toFixed(2))
|
return Number((((this.wxGridReportOverviewInfo['全部上报事件数量'] - this.wxGridReportOverviewInfo['待受理数量']) / this.wxGridReportOverviewInfo['全部上报事件数量']) * 100).toFixed(2))
|
||||||
},
|
},
|
||||||
|
|
||||||
sjbjData () {
|
sjbjData() {
|
||||||
return [{key: '累计办结事件', value: this.wxGridReportOverviewInfo['已办结数量']}, {key: '累计受理事件', value: this.wxGridReportOverviewInfo['全部上报事件数量'] - this.wxGridReportOverviewInfo['待受理数量']}]
|
return [{key: '累计办结事件', value: this.wxGridReportOverviewInfo['已办结数量']}, {key: '累计受理事件', value: this.wxGridReportOverviewInfo['全部上报事件数量'] - this.wxGridReportOverviewInfo['待受理数量']}]
|
||||||
},
|
},
|
||||||
|
|
||||||
sjbjRate () {
|
sjbjRate() {
|
||||||
if (!this.wxGridReportOverviewInfo['全部上报事件数量']) {
|
if (!this.wxGridReportOverviewInfo['全部上报事件数量']) {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@@ -719,11 +721,11 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted() {
|
||||||
this.instance.post(`/api/wxgridcata/list`, null, {
|
this.instance.post(`/api/wxgridcata/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
level: 1,
|
level: 1,
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -734,7 +736,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
mapProcessType (status) {
|
mapProcessType(status) {
|
||||||
return {
|
return {
|
||||||
'1': '创建',
|
'1': '创建',
|
||||||
'2': '受理',
|
'2': '受理',
|
||||||
@@ -746,10 +748,10 @@
|
|||||||
}[status]
|
}[status]
|
||||||
},
|
},
|
||||||
|
|
||||||
getLaunchCode (wxUserId) {
|
getLaunchCode(wxUserId) {
|
||||||
this.instance.post(`/api/appdvcpconfig/getLaunchCode`, null, {
|
this.instance.post(`/api/appdvcpconfig/getLaunchCode`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
userid: wxUserId,
|
userid: wxUserId,
|
||||||
operatorUserid: this.$store.state.user.info.wxUserId
|
operatorUserid: this.$store.state.user.info.wxUserId
|
||||||
}
|
}
|
||||||
@@ -760,7 +762,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
mapStatus (status, type) {
|
mapStatus(status, type) {
|
||||||
const index = Number(status)
|
const index = Number(status)
|
||||||
return [{
|
return [{
|
||||||
color: '#FFB300',
|
color: '#FFB300',
|
||||||
@@ -781,13 +783,13 @@
|
|||||||
}][index][type]
|
}][index][type]
|
||||||
},
|
},
|
||||||
|
|
||||||
init (gridId) {
|
init(gridId) {
|
||||||
this.gridId = ''
|
this.gridId = ''
|
||||||
this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A'
|
this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A'
|
||||||
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
||||||
params: {
|
params: {
|
||||||
gridParentId: gridId || '',
|
gridParentId: gridId || '',
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -801,12 +803,12 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onStationChange () {
|
onStationChange() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
this.instance.post(`/api/wxgridinfo/tree`, null, {
|
||||||
params: {
|
params: {
|
||||||
gridParentId: this.gridId,
|
gridParentId: this.gridId,
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -816,11 +818,11 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getEventInfo (orderId, info) {
|
getEventInfo(orderId, info) {
|
||||||
this.instance.post(`/api/wxgridinfo/reportInfo`, null, {
|
this.instance.post(`/api/wxgridinfo/reportInfo`, null, {
|
||||||
params: {
|
params: {
|
||||||
orderId,
|
orderId,
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -835,15 +837,15 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onTypeChange (index) {
|
onTypeChange(index) {
|
||||||
this.currIndex = index
|
this.currIndex = index
|
||||||
this.getWxGridReportCata()
|
this.getWxGridReportCata()
|
||||||
},
|
},
|
||||||
|
|
||||||
onChange () {
|
onChange() {
|
||||||
this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, {
|
this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId,
|
gridId: this.gridId || this.gridParentId,
|
||||||
type: this.type
|
type: this.type
|
||||||
}
|
}
|
||||||
@@ -854,7 +856,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onReportChange (index) {
|
onReportChange(index) {
|
||||||
this.dateRange = index
|
this.dateRange = index
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -862,10 +864,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getReportList () {
|
getReportList() {
|
||||||
this.instance.post(`/api/wxgridinfo/reportList`, null, {
|
this.instance.post(`/api/wxgridinfo/reportList`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId,
|
gridId: this.gridId || this.gridParentId,
|
||||||
size: '50',
|
size: '50',
|
||||||
...this.search
|
...this.search
|
||||||
@@ -877,12 +879,12 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getWxGridReportCata () {
|
getWxGridReportCata() {
|
||||||
this.instance.post(`/api/wxgridinfo/wxGridReportCata`, null, {
|
this.instance.post(`/api/wxgridinfo/wxGridReportCata`, null, {
|
||||||
params: {
|
params: {
|
||||||
categoryId: this.eventList[this.currIndex].categoryId,
|
categoryId: this.eventList[this.currIndex].categoryId,
|
||||||
gridId: this.gridId || this.gridParentId,
|
gridId: this.gridId || this.gridParentId,
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -899,10 +901,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getReportHandleList () {
|
getReportHandleList() {
|
||||||
this.instance.post(`/api/wxgridinfo/reportHandleList`, null, {
|
this.instance.post(`/api/wxgridinfo/reportHandleList`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId,
|
gridId: this.gridId || this.gridParentId,
|
||||||
size: '50',
|
size: '50',
|
||||||
dateRange: this.dateRange
|
dateRange: this.dateRange
|
||||||
@@ -916,10 +918,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getInfo () {
|
getInfo() {
|
||||||
this.instance.post(`/api/wxgridinfo/comprehensiveOverview`, null, {
|
this.instance.post(`/api/wxgridinfo/comprehensiveOverview`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
corpId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
@@ -933,7 +935,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/wxGridReportOverview`, null, {
|
this.instance.post(`/api/wxgridinfo/wxGridReportOverview`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId
|
gridId: this.gridId || this.gridParentId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -944,7 +946,7 @@
|
|||||||
|
|
||||||
this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, {
|
this.instance.post(`/api/wxgridinfo/wxGridReportNew`, null, {
|
||||||
params: {
|
params: {
|
||||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA',
|
corpId,
|
||||||
gridId: this.gridId || this.gridParentId,
|
gridId: this.gridId || this.gridParentId,
|
||||||
type: this.type
|
type: this.type
|
||||||
}
|
}
|
||||||
@@ -976,11 +978,11 @@
|
|||||||
return "#" + hex.toString(16);
|
return "#" + hex.toString(16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.AppQxnDv {
|
.AppQxnDv {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
@@ -1015,6 +1017,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.event-info {
|
.event-info {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -1139,7 +1142,7 @@
|
|||||||
&:after {
|
&:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 37px;
|
top: 37px;
|
||||||
left: 0%;
|
left: 0;
|
||||||
width: 105px;
|
width: 105px;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
background: #647886;
|
background: #647886;
|
||||||
@@ -1286,7 +1289,7 @@
|
|||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all ease 300;
|
transition: all ease 300ms;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
@@ -1304,6 +1307,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-index {
|
.table-index {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -1381,6 +1385,7 @@
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -1472,7 +1477,7 @@
|
|||||||
|
|
||||||
.el-input__suffix {
|
.el-input__suffix {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
top: 0px;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
@@ -1509,7 +1514,7 @@
|
|||||||
|
|
||||||
.el-input__suffix {
|
.el-input__suffix {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
top: 0px;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
@@ -1521,26 +1526,26 @@
|
|||||||
.el-table {
|
.el-table {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #d0e1e8;
|
color: #d0e1e8;
|
||||||
background-color: transparent!important;
|
background-color: transparent !important;
|
||||||
|
|
||||||
th.el-table__cell.is-leaf, .el-table td.el-table__cell {
|
th.el-table__cell.is-leaf, .el-table td.el-table__cell {
|
||||||
border: none!important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.el-table__row--striped td {
|
tr.el-table__row--striped td {
|
||||||
background: rgba(33, 180, 253, 0.1)!important;
|
background: rgba(33, 180, 253, 0.1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__header tr th:first-child .cell {
|
.el-table__header tr th:first-child .cell {
|
||||||
padding: 0!important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__body tr td:first-child .cell {
|
.el-table__body tr td:first-child .cell {
|
||||||
padding: 0!important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
|
&.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
|
||||||
background-color: rgba(33, 180, 253, 0.1)!important;
|
background-color: rgba(33, 180, 253, 0.1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
th.el-table__cell {
|
th.el-table__cell {
|
||||||
@@ -1557,11 +1562,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-table__header tr .cell {
|
.el-table__header tr .cell {
|
||||||
color: #02FEFF!important;
|
color: #02FEFF !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ai-table__header {
|
.ai-table__header {
|
||||||
background: rgba(33, 180, 253, 0.1)!important;
|
background: rgba(33, 180, 253, 0.1) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1623,6 +1629,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-middle {
|
.right-middle {
|
||||||
width: 556px;
|
width: 556px;
|
||||||
margin: 0 40px;
|
margin: 0 40px;
|
||||||
@@ -1724,5 +1731,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user