|
@@ -63,12 +63,12 @@ const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/
|
|
|
const proTableRef = ref<RefType>(); // 表格ref
|
|
|
// 表格配置项
|
|
|
const columns = ref<any[]>([
|
|
|
- { prop: 'expiredStatusText', label: '超期状态', align: 'center',fixed: 'left',width: 80},
|
|
|
+ { prop: 'expiredStatusText', label: '超期状态', align: 'center', fixed: 'left', width: 80 },
|
|
|
{ prop: 'no', label: '工单编码', width: 150 },
|
|
|
{ prop: 'order.isProvinceText', label: '省/市工单', width: 100 },
|
|
|
{ prop: 'title', label: '工单标题', width: 300 },
|
|
|
{ prop: 'currentStepName', label: '办理节点', width: 120 },
|
|
|
- { prop: 'actualHandlerName', label: '审批人', width: 150 },
|
|
|
+ { prop: 'actualHandlerName', label: '审批人', width: 150 },
|
|
|
{ prop: 'delayStateText', label: '延期申请状态', width: 120 },
|
|
|
{
|
|
|
prop: 'order.startTime',
|
|
@@ -79,47 +79,47 @@ const columns = ref<any[]>([
|
|
|
},
|
|
|
},
|
|
|
{ prop: 'order.acceptorName', label: '受理人', width: 120 },
|
|
|
- { prop: 'order.hotspotName', label: '热点分类', width: 120 },
|
|
|
- { prop: 'order.acceptType', label: '受理类型', width: 120 },
|
|
|
- {prop: 'order.orgLevelOneName', label: '一级部门', width: 120 },
|
|
|
- { prop: 'order.actualHandleOrgName', label: '接办部门', width: 120 },
|
|
|
- {
|
|
|
- prop: 'order.actualHandleTime',
|
|
|
- label: '接办时间',
|
|
|
- width: 170,
|
|
|
- render: (scope) => {
|
|
|
- return <span>{formatDate(scope.row.order?.actualHandleTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'creationTime',
|
|
|
- label: '延期申请时间',
|
|
|
- width: 170,
|
|
|
- render: (scope) => {
|
|
|
- return <span>{formatDate(scope.row.creationTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
- },
|
|
|
- },
|
|
|
- { prop: 'creatorName', label: '延期申请人', width: 120 },
|
|
|
- { prop: 'creatorOrgName', label: '延期申请部门', width: 120 },
|
|
|
- { prop: 'delayNum', label: '延期申请时限', width: 120 },
|
|
|
- { prop: 'delayUnitText', label: '延期申请单位', width: 120 },
|
|
|
- { prop: 'delayReason', label: '申请理由', width: 120 },
|
|
|
- {
|
|
|
- prop: 'beforeDelay',
|
|
|
- label: '申请前期满时间',
|
|
|
- width: 170,
|
|
|
- render: (scope) => {
|
|
|
- return <span>{formatDate(scope.row.beforeDelay, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'afterDelay',
|
|
|
- label: '通过后期满时间',
|
|
|
- width: 170,
|
|
|
- render: (scope) => {
|
|
|
- return <span>{formatDate(scope.row.afterDelay, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
- },
|
|
|
- },
|
|
|
+ { prop: 'order.hotspotName', label: '热点分类', width: 120 },
|
|
|
+ { prop: 'order.acceptType', label: '受理类型', width: 120 },
|
|
|
+ { prop: 'order.orgLevelOneName', label: '一级部门', width: 120 },
|
|
|
+ { prop: 'order.actualHandleOrgName', label: '接办部门', width: 120 },
|
|
|
+ {
|
|
|
+ prop: 'order.actualHandleTime',
|
|
|
+ label: '接办时间',
|
|
|
+ width: 170,
|
|
|
+ render: (scope) => {
|
|
|
+ return <span>{formatDate(scope.row.order?.actualHandleTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'creationTime',
|
|
|
+ label: '延期申请时间',
|
|
|
+ width: 170,
|
|
|
+ render: (scope) => {
|
|
|
+ return <span>{formatDate(scope.row.creationTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ { prop: 'creatorName', label: '延期申请人', width: 120 },
|
|
|
+ { prop: 'creatorOrgName', label: '延期申请部门', width: 120 },
|
|
|
+ { prop: 'delayNum', label: '延期申请时限', width: 120 },
|
|
|
+ { prop: 'delayUnitText', label: '延期申请单位', width: 120 },
|
|
|
+ { prop: 'delayReason', label: '申请理由', width: 120 },
|
|
|
+ {
|
|
|
+ prop: 'beforeDelay',
|
|
|
+ label: '申请前期满时间',
|
|
|
+ width: 170,
|
|
|
+ render: (scope) => {
|
|
|
+ return <span>{formatDate(scope.row.beforeDelay, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'afterDelay',
|
|
|
+ label: '通过后期满时间',
|
|
|
+ width: 170,
|
|
|
+ render: (scope) => {
|
|
|
+ return <span>{formatDate(scope.row.afterDelay, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
+ },
|
|
|
+ },
|
|
|
{ prop: 'operation', label: '操作', fixed: 'right', width: 170, align: 'center' },
|
|
|
]);
|
|
|
// 定义变量内容
|
|
@@ -146,8 +146,8 @@ const getBaseData = async () => {
|
|
|
};
|
|
|
// 手动查询,将页码设置为1
|
|
|
const handleQuery = () => {
|
|
|
- state.queryParams.PageIndex = 1;
|
|
|
- queryList();
|
|
|
+ state.queryParams.PageIndex = 1;
|
|
|
+ queryList();
|
|
|
};
|
|
|
/** 获取列表 */
|
|
|
const queryList = () => {
|
|
@@ -161,14 +161,14 @@ const queryList = () => {
|
|
|
.catch((err: any) => {
|
|
|
state.loading = false;
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
const resetQuery = (formEl: FormInstance | undefined) => {
|
|
|
if (!formEl) return;
|
|
|
formEl.resetFields();
|
|
|
queryList();
|
|
|
-}
|
|
|
+};
|
|
|
// 导出
|
|
|
const onExport = () => {
|
|
|
console.log('导出');
|