|
@@ -8,7 +8,6 @@
|
|
|
@cancel="handleCancel"
|
|
|
destroyOnClose
|
|
|
>
|
|
|
- >
|
|
|
<template #footer>
|
|
|
<a-button @click="handleCancel" style="margin-left: 8px;">取消</a-button>
|
|
|
<a-button type="primary" @click="addNotice" style="margin-left: 8px;" :disabled="!(formState.state=='1')">通知</a-button>
|
|
@@ -268,6 +267,8 @@
|
|
|
import { putAction,getAction } from '@/api/manage'
|
|
|
import JUpload from '@/components/jeecg/JUpload'
|
|
|
import JSearchSelectTag from '@/components/dict/JSearchSelectTag'
|
|
|
+ import moment from 'moment'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'IncidentTicketModalDetail',
|
|
|
mixins: [JEditableTableMixin],
|
|
@@ -276,6 +277,7 @@
|
|
|
JSelectBizComponent,
|
|
|
JUpload,
|
|
|
JSearchSelectTag,
|
|
|
+ moment
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -545,6 +547,7 @@
|
|
|
var zhuId = '' //主表id
|
|
|
this.formState=res.result //详情
|
|
|
this.formState=res.result //详情
|
|
|
+ this.formState.accidentData = moment( this.formState.accidentData).format('YYYY-MM-DD');
|
|
|
this.accessory2 = this.formState.accessory2?JSON.parse(this.formState.accessory2):[]
|
|
|
var accessory2Z =[]
|
|
|
this.accessory2.map(item=>{
|