Browse Source

转为代办样式调整

master
21819 2 years ago
parent
commit
8602b37a84
  1. 2
      src/views/work/Query.vue
  2. 47
      src/views/work/components/MailTodoByChange.vue

2
src/views/work/Query.vue

@ -357,7 +357,7 @@ const handleTodoByChange = (mailId: any) => {
activeMailId.value = mailId activeMailId.value = mailId
} }
const handleMailCategory = (row: any) => { const handleMailCategory = (row: any) => {
const allowChangeList = ['终止类'] const allowChangeList = ['终止类', '无效类']
return allowChangeList.includes(row.mailCategory) return allowChangeList.includes(row.mailCategory)
} }

47
src/views/work/components/MailTodoByChange.vue

@ -44,27 +44,32 @@
<el-col :span="2" /> <el-col :span="2" />
<el-col :span="2"> <el-col :span="2">
<span>信件来源</span> <span>信件来源</span>
<span>{{ mail.mailSource }}</span> <span>{{ mail.source }}</span>
</el-col> </el-col>
</el-row> </el-row>
<div class="mt-20 mb-10"><span class="label-title">来信人信息</span></div> <div class="mt-20 mb-10"><span class="label-title">来信人信息</span></div>
<el-row> <el-row>
<el-col :span="2"> <el-col :span="2">
<span>姓名</span> <span>姓名</span>
<span>{{ mail.name }}</span> <span>{{ mail.contactName }}</span>
</el-col> </el-col>
<el-col :span="2"> <el-col :span="2">
<span>性别</span> <span>性别</span>
<span>{{ mail.sex }}</span> <span>{{ mail.contactSex }}</span>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<span>证件号码</span> <span>证件号码</span>
<span>{{ mail.idNumber }}</span> <span>{{ mail.contactIdCard }}</span>
</el-col> </el-col>
<el-col :span="3"><span>联系电话</span> <el-col :span="3"><span>联系电话</span>
<span>{{ mail.tel }}</span> <span>{{ mail.contactPhone }}</span>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="background: #333333;">
<el-scrollbar height="10vh">
<el-text class="mx-1">{{ mail.content }}</el-text>
</el-scrollbar>
</el-row>
<div class="mt-20 mb-10"><span class="label-title">信件内容</span></div> <div class="mt-20 mb-10"><span class="label-title">信件内容</span></div>
<el-row> <el-row>
<el-col :span="4"> <el-col :span="4">
@ -73,19 +78,19 @@
</el-col> </el-col>
<el-col :span="2"> <el-col :span="2">
<span>被投诉/涉及单位</span> <span>被投诉/涉及单位</span>
<span>{{ mail.complaintUnit }}</span> <span>{{ mail.involvedDeptName }}</span>
</el-col> </el-col>
</el-row> </el-row>
<div class="mt-20 mb-10"><span class="label-title">附件</span></div> <div class="mt-20 mb-10"><span class="label-title">附件</span></div>
<div></div> <div></div>
</div> </div>
</div> </div>
<div class="mr-15 ml-15 mb-20"> <div class="mr-15 ml-15 mb-20 mt-20">
<div><span class="main-label">信件类型</span></div> <div><span class="main-label">信件类型</span></div>
<div class="ml-end"> <div class="ml-end">
<el-col :span="2"> <el-col :span="2">
<span>信件分类</span> <span>信件分类</span>
<span>{{ mail.mailType }}</span> <span>{{ mail.mailCategory }}</span>
</el-col> </el-col>
<div class="mb-20"></div> <div class="mb-20"></div>
<el-col :span="2"> <el-col :span="2">
@ -119,35 +124,15 @@ const steps = ref([]);
const activeStep = ref(0); const activeStep = ref(0);
const isFav = ref(false); const isFav = ref(false);
const mail = ref<Mail>({ const mail = ref<Mail>({
mailTime: '',
mailSource: '',
name: '',
sex: '',
idNumber: '',
tel: '',
caseNumber: '',
complaintUnit: '',
mailType: '',
reason: '',
id: ''
}) })
interface Mail { interface Mail {
mailTime: string; id: string,
mailSource: string;
name: string;
sex: string;
idNumber: string;
tel: string;
caseNumber: string;
complaintUnit: string;
mailType: string;
reason: string;
id: string;
} }
onMounted(() => { onMounted(() => {
mail.value.id = props.mailId; mail.value.id = props.mailId;
getMailFlowDetail(props.mailId).then((res) => { getMailFlowDetail(props.mailId).then((res: any) => {
console.log(res) console.log(res)
mail.value = res.mail
}) })
}) })

Loading…
Cancel
Save