| | |
| | | <template slot="description"> |
| | | <div style="max-height: 450px;overflow-y: scroll"> |
| | | <div v-for="(item, index) in ywHandleList" :key="index"> |
| | | <div v-if="item.sysMsg" class="row flow-item-x"> |
| | | <div v-if="item.sysMsg === true" class="row flow-item-x"> |
| | | <div class="cflex1">系统消息:</div> |
| | | <div class="cflex2">{{item.ywCondition}}</div> |
| | | <div class="cflex3">{{item.createTime}}</div> |
| | |
| | | :visible.sync="drawer" |
| | | direction="rtl" |
| | | :modal="false" |
| | | :before-close="drawerClose"> |
| | | <div style="padding: 20px"> |
| | | > |
| | | <div style="padding: 20px;font-size: 14px"> |
| | | <div class="row flow-item-x"> |
| | | <div class="flex1">上报内容:</div> |
| | | <div class="flex2" v-html="ywData.content"></div> |
| | | <div class="flex1"><p>上报内容:</p></div> |
| | | <div class="flex2"> |
| | | <div v-html="ywData.content"></div> |
| | | </div> |
| | | </div> |
| | | <div class="row flow-item-x"> |
| | | <div class="flex1">佐证材料:</div> |
| | | <div class="flex1"><p>佐证材料:</p></div> |
| | | <div class="flex2"> |
| | | <el-link type="primary" |
| | | v-for="item in ywData.fileList != null ? ywData.fileList.split(',') : ywData.fileList" |
| | | :underline="false" :key="item.id" @click="handleDownload(item)" |
| | | >{{ item.substring(item.lastIndexOf('/') + 1) }} |
| | | </el-link> |
| | | <p> |
| | | <el-link type="primary" |
| | | v-for="item in ywData.fileList != null ? ywData.fileList.split(',') : ywData.fileList" |
| | | :underline="false" :key="item.id" @click="handleDownload(item)" |
| | | >{{ item.substring(item.lastIndexOf('/') + 1) }} |
| | | </el-link> |
| | | </p> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | batchAuditing, |
| | | ywCondition, |
| | | getYwCondition, |
| | | getYwConditionList, |
| | | getYwAuditingList |
| | | process |
| | | } from '@/api/platform/work-order' |
| | | import { addReport } from '@/api/platform/report' |
| | | |
| | |
| | | }, |
| | | methods: { |
| | | openDrawer(item) { |
| | | this.ywData.content = item.ywCondition |
| | | this.ywData.fileList = item.ywProofMaterials |
| | | this.drawer = true |
| | | }, |
| | | drawerClose() { |
| | | this.ywData = { |
| | | content: '', |
| | | fileList: '' |
| | | } |
| | | this.ywData.content = item.ywCondition |
| | | this.ywData.fileList = item.ywProofMaterials |
| | | this.drawer = true |
| | | }, |
| | | // 批量审核 |
| | | batchAuditing(result) { |
| | |
| | | // 过程图查看 |
| | | handleFlow(row) { |
| | | this.flowForm = row |
| | | getYwAuditingList(row.workOrderNo).then(response => { |
| | | process(row.workOrderNo).then(response => { |
| | | if (response.data) { |
| | | this.ywAuditingList = response.data |
| | | this.ywAuditingList = response.data.auditingList |
| | | this.ywHandleList = response.data.ywList |
| | | this.flowOpen = true |
| | | } |
| | | }) |
| | | getYwCondition(row.workOrderNo).then(response => { |
| | | if (response.data) { |
| | | this.ywHandleList = response.data |
| | | } |
| | | this.flowOpen = true |
| | | }) |
| | | }, |
| | | // 提交审核 |