Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
import { requestClient } from '#/api/request';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询客户服务工单看板统计
|
||||||
|
* @param params
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
export function countsList(params?:any) {
|
||||||
|
return requestClient.get('/property/customerServece/counts', { params });
|
||||||
|
}
|
||||||
|
|
@@ -1,6 +1,7 @@
|
|||||||
import type {FormSchemaGetter} from '#/adapter/form';
|
import type {FormSchemaGetter} from '#/adapter/form';
|
||||||
import type {VxeGridProps} from '#/adapter/vxe-table';
|
import type {VxeGridProps} from '#/adapter/vxe-table';
|
||||||
import {renderDict} from "#/utils/render";
|
import {renderDict} from "#/utils/render";
|
||||||
|
import {getDictOptions} from "#/utils/dict";
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
@@ -62,4 +63,37 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
export const ordersModalSchema: FormSchemaGetter = () => [
|
||||||
|
{
|
||||||
|
label: 'id',
|
||||||
|
fieldName: 'id',
|
||||||
|
component: 'Input',
|
||||||
|
dependencies: {
|
||||||
|
show: () => false,
|
||||||
|
triggerFields: [''],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '状态',
|
||||||
|
fieldName: 'status',
|
||||||
|
component: 'Select',
|
||||||
|
componentProps: {
|
||||||
|
options: getDictOptions('wy_gdclzt'),
|
||||||
|
},
|
||||||
|
rules: 'selectRequired',
|
||||||
|
disabled: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '处理人',
|
||||||
|
fieldName: 'handler',
|
||||||
|
component: 'ApiSelect',
|
||||||
|
formItemClass: 'col-span-2',
|
||||||
|
rules: 'selectRequired',
|
||||||
|
dependencies: {
|
||||||
|
disabled: (formValue) =>formValue.status === '2' ,
|
||||||
|
triggerFields: ['status'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ import {defaultFormValueGetter, useBeforeCloseDiff} from '#/utils/popup';
|
|||||||
import {ordersModalSchema} from './data';
|
import {ordersModalSchema} from './data';
|
||||||
import {personList} from "#/api/property/resident/person";
|
import {personList} from "#/api/property/resident/person";
|
||||||
import {renderDictValue} from "#/utils/render";
|
import {renderDictValue} from "#/utils/render";
|
||||||
import {onMounted, ref} from "vue";
|
import {ref} from "vue";
|
||||||
import { useUserStore } from '@vben/stores';
|
import { useUserStore } from '@vben/stores';
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
@@ -3,6 +3,7 @@ import type {VxeGridProps} from '#/adapter/vxe-table';
|
|||||||
import {renderDict} from "#/utils/render";
|
import {renderDict} from "#/utils/render";
|
||||||
import {h} from "vue";
|
import {h} from "vue";
|
||||||
import {Rate} from "ant-design-vue";
|
import {Rate} from "ant-design-vue";
|
||||||
|
import {getDictOptions} from "#/utils/dict";
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
@@ -103,3 +104,36 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
export const ordersModalSchema: FormSchemaGetter = () => [
|
||||||
|
{
|
||||||
|
label: 'id',
|
||||||
|
fieldName: 'id',
|
||||||
|
component: 'Input',
|
||||||
|
dependencies: {
|
||||||
|
show: () => false,
|
||||||
|
triggerFields: [''],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '状态',
|
||||||
|
fieldName: 'status',
|
||||||
|
component: 'Select',
|
||||||
|
componentProps: {
|
||||||
|
options: getDictOptions('wy_gdclzt'),
|
||||||
|
},
|
||||||
|
rules: 'selectRequired',
|
||||||
|
disabled: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '处理人',
|
||||||
|
fieldName: 'handler',
|
||||||
|
component: 'ApiSelect',
|
||||||
|
formItemClass: 'col-span-2',
|
||||||
|
rules: 'selectRequired',
|
||||||
|
dependencies: {
|
||||||
|
disabled: (formValue) =>formValue.status === '2' ,
|
||||||
|
triggerFields: ['status'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]
|
||||||
|
@@ -2,37 +2,158 @@
|
|||||||
import { EditOutlined } from '@ant-design/icons-vue';
|
import { EditOutlined } from '@ant-design/icons-vue';
|
||||||
import {EchartsUI, type EchartsUIType, useEcharts} from "@vben/plugins/echarts";
|
import {EchartsUI, type EchartsUIType, useEcharts} from "@vben/plugins/echarts";
|
||||||
import {onMounted, ref} from "vue";
|
import {onMounted, ref} from "vue";
|
||||||
import {statisticsByTime} from "#/api/property/reportStatistics";
|
import {countsList} from '#/api/property/customerService/centerConsole'
|
||||||
|
|
||||||
const orderLineRef = ref<EchartsUIType>();
|
const board = ref ({})
|
||||||
const { renderEcharts } = useEcharts(orderLineRef);
|
const getBoard = async () => {
|
||||||
|
board.value = await countsList();
|
||||||
|
}
|
||||||
const xAxisData = ref<any[]>([]);
|
const xAxisData = ref<any[]>([]);
|
||||||
const seriesData = ref<any[]>([]);
|
const seriesData = ref<any[]>([]);
|
||||||
async function fetchOrderTrend() {
|
|
||||||
const res = await statisticsByTime({ timeUnit: 1 });
|
// 工单计数
|
||||||
xAxisData.value = res?.time ?? [];
|
const workOrderCount = ref<EchartsUIType>();
|
||||||
seriesData.value = res?.counts ?? [];
|
const { renderEcharts: renderWorkOrderCount } = useEcharts(workOrderCount);
|
||||||
renderEcharts({
|
async function fetchWorkOrderCount() {
|
||||||
title: { text: '客户续租率趋势' },
|
xAxisData.value = board.value.recentWeekWorkOrders
|
||||||
|
console.log(xAxisData.value)
|
||||||
|
renderWorkOrderCount({
|
||||||
tooltip: { trigger: 'axis' },
|
tooltip: { trigger: 'axis' },
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'category',
|
type: 'category',
|
||||||
data: xAxisData.value,
|
|
||||||
boundaryGap: false,
|
boundaryGap: false,
|
||||||
|
data: ['06-17周二', '06-17周二', '06-17周二', '06-17周二', '06-17周二', '06-17周二', '06-17周二']
|
||||||
|
},
|
||||||
|
yAxis: {
|
||||||
|
type: 'value',
|
||||||
|
name: '近一周工单数',
|
||||||
},
|
},
|
||||||
yAxis: { type: 'value', axisLabel: { formatter: (value) => `${value * 100}%` } },
|
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '订单趋势',
|
data: [6, 2, 0, 1, 0, 0, 1],
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: seriesData.value || [],
|
areaStyle: {},
|
||||||
smooth: true,
|
smooth: true,
|
||||||
},
|
}
|
||||||
],
|
]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 满意度指数
|
||||||
|
const satisfactionLevel = ref<EchartsUIType>();
|
||||||
|
const { renderEcharts: renderSatisfactionLevel } = useEcharts(satisfactionLevel);
|
||||||
|
async function fetchSatisfactionLevel() {
|
||||||
|
renderSatisfactionLevel({
|
||||||
|
title: {text: '满意度指数',left: '18px'},
|
||||||
|
tooltip: { trigger: 'item'},
|
||||||
|
radar: {
|
||||||
|
indicator: [
|
||||||
|
{name: '1星', max: 1000},
|
||||||
|
{name: '2星', max: 1000},
|
||||||
|
{name: '3星', max: 1000},
|
||||||
|
{name: '4星', max: 1000},
|
||||||
|
{name: '5星', max: 1000},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
type: 'radar',
|
||||||
|
name: '满意度指数',
|
||||||
|
data: [
|
||||||
|
{
|
||||||
|
value: [500, 400, 800, 600, 400],
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 近半年工单数
|
||||||
|
const orderNumber = ref<EchartsUIType>();
|
||||||
|
const { renderEcharts: renderOrderNumber } = useEcharts(orderNumber);
|
||||||
|
async function fetchOrderNumber() {
|
||||||
|
renderOrderNumber({
|
||||||
|
title: {text: '近半年工单数',left: '18px'},
|
||||||
|
legend: {},
|
||||||
|
tooltip: { trigger: 'axis' },
|
||||||
|
dataset: {
|
||||||
|
source: [
|
||||||
|
['product', '物业', '入驻员工'],
|
||||||
|
['2025-01', 2, 5.8],
|
||||||
|
['2025-02', 10.1, 7.4],
|
||||||
|
['2025-03', 6.4, 5.2],
|
||||||
|
['2025-04', 3.3, 5.8],
|
||||||
|
['2025-05', 8.1, 7.4],
|
||||||
|
['2025-06', 6.4, 5.2],
|
||||||
|
]
|
||||||
|
},
|
||||||
|
xAxis: { type: 'category' },
|
||||||
|
yAxis: {},
|
||||||
|
series: [{ type: 'bar' }, { type: 'bar' }]
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 工单类型分类占比
|
||||||
|
const orderTyper = ref<EchartsUIType>();
|
||||||
|
const { renderEcharts: renderOrderTyper } = useEcharts(orderTyper);
|
||||||
|
async function fetchOrderTyper() {
|
||||||
|
renderOrderTyper({
|
||||||
|
title: {text: '工单类型分类占比',left: '18px',top: '18px'},
|
||||||
|
tooltip: {
|
||||||
|
trigger: 'item'
|
||||||
|
},
|
||||||
|
legend: {
|
||||||
|
top: '40%',
|
||||||
|
right: '10%',
|
||||||
|
orient: 'vertical',
|
||||||
|
icon: 'circle',
|
||||||
|
itemWidth: 8,
|
||||||
|
itemHeight: 8
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
type: 'pie',
|
||||||
|
center: ['40%', '55%'],
|
||||||
|
radius: ['40%', '70%'],
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
position: 'center',
|
||||||
|
formatter: '员工单数量\n{num|56个}',
|
||||||
|
fontSize: 14,
|
||||||
|
fontWeight: 'bold',
|
||||||
|
color: 'gray',
|
||||||
|
rich: {
|
||||||
|
num: {
|
||||||
|
fontSize: 18,
|
||||||
|
fontWeight: 'bolder',
|
||||||
|
color:'black',
|
||||||
|
padding: [10, 0, 0, 0],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
avoidLabelOverlap: false,
|
||||||
|
labelLine: {
|
||||||
|
show: false
|
||||||
|
},
|
||||||
|
data: [
|
||||||
|
{ value: 1048, name: 'Search Engine' },
|
||||||
|
{ value: 735, name: 'Direct' },
|
||||||
|
{ value: 580, name: 'Email' },
|
||||||
|
{ value: 484, name: 'Union Ads' },
|
||||||
|
{ value: 300, name: 'Video Ads' }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await fetchOrderTrend();
|
await getBoard()
|
||||||
|
await fetchWorkOrderCount()
|
||||||
|
await fetchSatisfactionLevel()
|
||||||
|
await fetchOrderNumber()
|
||||||
|
await fetchOrderTyper()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -45,7 +166,7 @@ onMounted(async () => {
|
|||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>工单总数:</div>
|
<div>工单总数:</div>
|
||||||
<div>56</div>
|
<div>{{ board.workOrdersTotal }}</div>
|
||||||
<div style="color: #1890FF">点击前往工单池</div>
|
<div style="color: #1890FF">点击前往工单池</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-edit"><EditOutlined /></div>
|
<div class="icon-edit"><EditOutlined /></div>
|
||||||
@@ -53,7 +174,7 @@ onMounted(async () => {
|
|||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>待派工单数:</div>
|
<div>待派工单数:</div>
|
||||||
<div>56</div>
|
<div>{{ board.notWorkOrdersTotal }}</div>
|
||||||
<div style="color: #1890FF">点击前往工单待办</div>
|
<div style="color: #1890FF">点击前往工单待办</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-edit"><EditOutlined /></div>
|
<div class="icon-edit"><EditOutlined /></div>
|
||||||
@@ -61,24 +182,24 @@ onMounted(async () => {
|
|||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>未办结超时工单:</div>
|
<div>未办结超时工单:</div>
|
||||||
<div>56</div>
|
<div>{{ board.novertimeOrdersTotal }}</div>
|
||||||
<div>处理中的工单数:<span style="color: green">5</span></div>
|
<div>处理中的工单数:<span style="color: green">{{ board.inHandOrdersTotal }}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-edit"><EditOutlined /></div>
|
<div class="icon-edit"><EditOutlined /></div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>当月工单超时率:</div>
|
<div>当月工单超时率:</div>
|
||||||
<div>56</div>
|
<div>{{ board.novertimeOrdersRate }}%</div>
|
||||||
<div>超时工单数:<span style="color: red">0</span></div>
|
<div>超时工单数:<span style="color: red">{{ board.outTimeOrdersTotal }}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-edit"><EditOutlined /></div>
|
<div class="icon-edit"><EditOutlined /></div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>当月满意度:</div>
|
<div>当月满意度:</div>
|
||||||
<div>100%</div>
|
<div>{{ board.monthoSatisfaction }}%</div>
|
||||||
<div>满意度:5</div>
|
<div>满意度:{{ board.satisfaction }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-edit"><EditOutlined /></div>
|
<div class="icon-edit"><EditOutlined /></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -87,25 +208,48 @@ onMounted(async () => {
|
|||||||
<div class="chart">
|
<div class="chart">
|
||||||
<div class="chart-one">
|
<div class="chart-one">
|
||||||
<div>
|
<div>
|
||||||
|
<div>
|
||||||
|
<div style="font-size: 20px;font-weight: bold;margin-bottom: 20px;color: #464646">工单计数</div>
|
||||||
|
<div style="margin-left: 20px;line-height: 30px">
|
||||||
|
<div>累计处理工单数</div>
|
||||||
|
<div>12</div>
|
||||||
|
<div>累计回复数</div>
|
||||||
|
<div>2</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<EchartsUI
|
<EchartsUI
|
||||||
ref="orderLineRef"
|
ref="workOrderCount"
|
||||||
height="350px"
|
height="400px"
|
||||||
width="100%"
|
width="100%"
|
||||||
style="background: #fff; border-radius: 8px"
|
style="background: #fff; border-radius: 8px;padding-top: 30px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<EchartsUI
|
||||||
|
ref="satisfactionLevel"
|
||||||
|
height="400px"
|
||||||
|
width="100%"
|
||||||
|
style="background: #fff; border-radius: 8px;padding-top: 18px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style="background-color: red"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="chart-two">
|
<div class="chart-two">
|
||||||
<div>
|
<div>
|
||||||
<EchartsUI
|
<EchartsUI
|
||||||
ref="orderLineRef"
|
ref="orderNumber"
|
||||||
height="350px"
|
height="400px"
|
||||||
|
width="100%"
|
||||||
|
style="background: #fff; border-radius: 8px;padding-top: 18px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<EchartsUI
|
||||||
|
ref="orderTyper"
|
||||||
|
height="400px"
|
||||||
width="100%"
|
width="100%"
|
||||||
style="background: #fff; border-radius: 8px"
|
style="background: #fff; border-radius: 8px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style="background-color: red"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -158,6 +302,17 @@ onMounted(async () => {
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 2fr 1fr;
|
grid-template-columns: 2fr 1fr;
|
||||||
gap: 40px;
|
gap: 40px;
|
||||||
|
|
||||||
|
>div:first-child{
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 6fr;
|
||||||
|
|
||||||
|
>div:first-child{
|
||||||
|
padding: 18px 0 0 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.chart-two{
|
.chart-two{
|
||||||
margin-top:40px;
|
margin-top:40px;
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
import type {ContingenPlanVO} from '#/api/property/customerService/contingenPlan/model';
|
import type {ContingenPlanVO} from '#/api/property/customerService/contingenPlan/model';
|
||||||
import {shallowRef} from 'vue';
|
import {shallowRef} from 'vue';
|
||||||
import {useVbenModal} from '@vben/common-ui';
|
import {useVbenModal} from '@vben/common-ui';
|
||||||
import {Descriptions, DescriptionsItem} from 'ant-design-vue';
|
import {Descriptions, DescriptionsItem, Rate} from 'ant-design-vue';
|
||||||
import {contingenPlanInfo} from '#/api/property/customerService/contingenPlan';
|
import {contingenPlanInfo} from '#/api/property/customerService/contingenPlan';
|
||||||
import {renderDict} from "#/utils/render";
|
import {renderDict} from "#/utils/render";
|
||||||
|
|
||||||
@@ -29,29 +29,41 @@ async function handleOpenChange(open: boolean) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BasicModal :footer="false" :fullscreen-button="false" title="详情" class="w-[70%]">
|
<BasicModal :footer="false" :fullscreen-button="false" title="详情" class="w-[70%]">
|
||||||
<Descriptions v-if="contingenPlanIDetail" size="small" :column="2" bordered :labelStyle="{width:'100px'}">
|
<Descriptions v-if="contingenPlanIDetail" size="small" :column="2" bordered :labelStyle="{width:'120px'}">
|
||||||
<DescriptionsItem label="预案名称">
|
<DescriptionsItem label="预案名称">
|
||||||
{{ contingenPlanIDetail.contingenPlanName }}
|
{{ contingenPlanIDetail.contingenPlanName }}
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="创建时间">
|
||||||
|
{{ contingenPlanIDetail.createTime }}
|
||||||
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="预案类型" v-if="contingenPlanIDetail.contingenPlanType!=null">
|
<DescriptionsItem label="预案类型" v-if="contingenPlanIDetail.contingenPlanType!=null">
|
||||||
<component
|
<component
|
||||||
:is="renderDict(contingenPlanIDetail.contingenPlanType,'type_contingency_plan')"
|
:is="renderDict(contingenPlanIDetail.contingenPlanType,'type_contingency_plan')"
|
||||||
/>
|
/>
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="发起人">
|
<DescriptionsItem label="最后更新时间">
|
||||||
{{ contingenPlanIDetail.initiat }}
|
{{ contingenPlanIDetail.updateTime }}
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="演练状态" v-if="contingenPlanIDetail.status!=null">
|
<DescriptionsItem label="演练状态" v-if="contingenPlanIDetail.status!=null">
|
||||||
<component
|
<component
|
||||||
:is="renderDict(contingenPlanIDetail.status,'pro_exercise_status')"
|
:is="renderDict(contingenPlanIDetail.status,'pro_exercise_status')"
|
||||||
/>
|
/>
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="责任人">
|
|
||||||
{{ contingenPlanIDetail.dutyPersion}}
|
|
||||||
</DescriptionsItem>
|
|
||||||
<DescriptionsItem label="完成时间">
|
<DescriptionsItem label="完成时间">
|
||||||
{{ contingenPlanIDetail.compleTimes }}
|
{{ contingenPlanIDetail.compleTimes }}
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="发起人">
|
||||||
|
{{ contingenPlanIDetail.initiatName }}
|
||||||
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="责任人">
|
||||||
|
{{ contingenPlanIDetail.dutyPersionName}}
|
||||||
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="预案内容" :span="2">
|
||||||
|
<div v-html="contingenPlanIDetail.contingenPlanContent"></div>
|
||||||
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="风险等级">
|
||||||
|
<Rate :value="contingenPlanIDetail.grade" disabled />
|
||||||
|
</DescriptionsItem>
|
||||||
</Descriptions>
|
</Descriptions>
|
||||||
</BasicModal>
|
</BasicModal>
|
||||||
</template>
|
</template>
|
||||||
|
@@ -68,7 +68,7 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '发起人',
|
title: '发起人',
|
||||||
field: 'initiat',
|
field: 'initiatName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '演练状态',
|
title: '演练状态',
|
||||||
@@ -81,7 +81,7 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '责任人',
|
title: '责任人',
|
||||||
field: 'dutyPersion',
|
field: 'dutyPersionName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '完成时间',
|
title: '完成时间',
|
||||||
|
@@ -191,6 +191,22 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
rules: 'selectRequired'
|
rules: 'selectRequired'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '',
|
||||||
|
fieldName: 'time',
|
||||||
|
component: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '授权期限',
|
||||||
|
fieldName: 'authTime',
|
||||||
|
component: 'RangePicker',
|
||||||
|
componentProps: {
|
||||||
|
showTime: true,
|
||||||
|
format: 'YYYY-MM-DD HH:mm:ss',
|
||||||
|
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||||
|
},
|
||||||
|
rules: 'required',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '通行权限组',
|
label: '通行权限组',
|
||||||
fieldName: 'authGroupId',
|
fieldName: 'authGroupId',
|
||||||
|
@@ -174,6 +174,22 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '',
|
||||||
|
fieldName: 'time',
|
||||||
|
component: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '授权期限',
|
||||||
|
fieldName: 'authTime',
|
||||||
|
component: 'RangePicker',
|
||||||
|
componentProps: {
|
||||||
|
showTime: true,
|
||||||
|
format: 'YYYY-MM-DD HH:mm:ss',
|
||||||
|
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||||
|
},
|
||||||
|
rules: 'required',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '通行权限组',
|
label: '通行权限组',
|
||||||
fieldName: 'authGroupId',
|
fieldName: 'authGroupId',
|
||||||
|
Reference in New Issue
Block a user