|
@@ -11,14 +11,14 @@
|
|
|
<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>
|
|
|
- <a-popconfirm title="确定反馈通知吗?" ok-text="是" cancel-text="否" @confirm="feedbackNotice">
|
|
|
- <a-button type="primary" style="margin-left: 8px;" :disabled="!(formState.state=='2')">反馈通知</a-button>
|
|
|
+ <a-popconfirm title="确定反馈通知吗?" ok-text="是" cancel-text="否" @confirm="feedbackNotice" :visible="visibleFk">
|
|
|
+ <a-button type="primary" style="margin-left: 8px;" :disabled="!(formState.state=='2')" @click="()=>visibleFk = true">反馈通知</a-button>
|
|
|
</a-popconfirm>
|
|
|
- <a-popconfirm title="确定推送吗?" ok-text="是" cancel-text="否" @confirm="push">
|
|
|
- <a-button type="primary" style="margin-left: 8px;" :disabled="!(formState.state=='3')">推送</a-button>
|
|
|
+ <a-popconfirm title="确定推送吗?" ok-text="是" cancel-text="否" @confirm="push" :visible="visibleTs">
|
|
|
+ <a-button type="primary" style="margin-left: 8px;" :disabled="!(formState.state=='3')" @click="()=>visibleTs = true">推送</a-button>
|
|
|
</a-popconfirm>
|
|
|
- <a-popconfirm title="确定完结吗?" ok-text="是" cancel-text="否" @confirm="end">
|
|
|
- <a-button type="primary" style="margin-left: 8px;" :disabled="!(formState.state=='4')">完结</a-button>
|
|
|
+ <a-popconfirm title="确定完结吗?" ok-text="是" cancel-text="否" @confirm="end" :visible="visibleWj">
|
|
|
+ <a-button type="primary" style="margin-left: 8px;" :disabled="!(formState.state=='4')" @click="()=>visibleWj = true">完结</a-button>
|
|
|
</a-popconfirm>
|
|
|
</template>
|
|
|
<a-spin :spinning="confirmLoading">
|
|
@@ -67,8 +67,9 @@
|
|
|
</a-row>
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="8">
|
|
|
- <a-form-model-item label="添加附件" prop="accessory2">
|
|
|
- <a-input v-model="formState.accessory2" placeholder="请输入" readOnly></a-input>
|
|
|
+ <a-form-model-item label="添加附件" prop="accessory2">
|
|
|
+ <j-upload v-model="formState.accessory2" ></j-upload>
|
|
|
+ <!-- <a-input v-model="formState.accessory2" placeholder="请输入"></a-input> -->
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="8">
|
|
@@ -93,12 +94,14 @@
|
|
|
import { validateDuplicateValue } from '@/utils/util'
|
|
|
import JDictSelectTag from "@/components/dict/JDictSelectTag"
|
|
|
import { putAction,getAction } from '@/api/manage'
|
|
|
+ import JUpload from '@/components/jeecg/JUpload'
|
|
|
export default {
|
|
|
name: 'IncidentTicketModalDetail',
|
|
|
mixins: [JEditableTableMixin],
|
|
|
components: {
|
|
|
JDictSelectTag,
|
|
|
- JSelectBizComponent
|
|
|
+ JSelectBizComponent,
|
|
|
+ JUpload
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -115,6 +118,9 @@
|
|
|
span: 20
|
|
|
},
|
|
|
formState:{},
|
|
|
+ visibleFk:false,
|
|
|
+ visibleTs:false,
|
|
|
+ visibleWj:false,
|
|
|
columns: [
|
|
|
{ title: '姓名', align: 'center', width: '20%', widthRight: '70%', dataIndex: 'realname' },
|
|
|
{ title: '账号', align: 'center', width: '20%', dataIndex: 'username' },
|
|
@@ -336,6 +342,8 @@
|
|
|
if(res.success){
|
|
|
var zhuId = '' //主表id
|
|
|
this.formState=res.result //详情
|
|
|
+ this.formState.accessory2 = JSON.parse(this.formState.accessory2)
|
|
|
+ this.formState.accessory2=this.formState.accessory2[0].name
|
|
|
zhuId = res.result.id
|
|
|
this.getTable(zhuId)
|
|
|
this.getNotifier(zhuId)
|
|
@@ -370,6 +378,9 @@
|
|
|
this.incidentTicketChildrenTable.dataSource =[]
|
|
|
this.formState = {}
|
|
|
this.visible = false
|
|
|
+ this.visibleWj = false
|
|
|
+ this.visibleTs = false
|
|
|
+ this.visibleFk = false
|
|
|
this.$emit('close')
|
|
|
},
|
|
|
// getAllTable() {
|