This commit is contained in:
zhutianqi
2021-12-16 16:47:46 +08:00
parent 89cfd9d62a
commit e558191509
23 changed files with 1151 additions and 202 deletions
@@ -41,6 +41,22 @@
</div>
<span class="transition-box-span" v-else>-</span>
</div>
<div class="transition-box-p">
<label class="transition-box-label">流程稿件</label>
<div class="file-box" v-if="fileInfoLists.length > 0">
<div style="display: flex;">
<div v-for="(file,item) in fileInfoLists"
target="_blank"
class="transition-box-span table-jump"
@click="handleQueryPdf(file)"
:key="item">
{{ file.name }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(file.attId)">下载</el-button>
</div>
</div>
</div>
<span class="transition-box-span" v-else>-</span>
</div>
<p class="transition-box-p">
<label class="transition-box-label">上传时间</label>
<span class="transition-box-span">{{ this.$route.query.item.startTime || '-' }}</span>
@@ -95,6 +111,7 @@
prop="oldText"
align="center"
label="修改前"
width="150"
>
<template slot-scope="scope">
<el-button size="mini" type="primary" :disabled="scope.row.partCode.length === 0" @click="itermsConditionsOpen(scope.row.oldText)" class="common-button-primary">查看修改前内容</el-button>
@@ -216,6 +233,7 @@ export default {
itermsConditionsTitle: '',
options: [],
fileInfoList: [],
fileInfoLists: [],
itemData: this.$route.query.item,
id: '', // 选中id
type: '', // 选中状态
@@ -229,7 +247,8 @@ export default {
partCode: '',
oldText: '',
newText: '',
reason: ''
reason: '',
chapterName: '',
},
opinionContentRules: {
partCode: [
@@ -399,6 +418,7 @@ export default {
newText: this.opinionContent.newText,
reason: this.opinionContent.reason,
partCode: this.opinionContent.partCode,
chapterName: this.opinionContent.chapterName,
userId: this.$store.getters.userInfo.userId || '',
userName: this.$store.getters.userInfo.userName || '',
deptName: this.$store.getters.userInfo.orgName || '',
@@ -441,6 +461,7 @@ export default {
}
},
mounted() {
this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles)
let json = JSON.parse(this.$route.query.item.files)[0]
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
standId: json.standId,