Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
396572590@qq.com
2022-07-01 14:39:19 +08:00
4 changed files with 93 additions and 15 deletions
@@ -63,6 +63,38 @@
- - - -
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="调研模板" prop="model" class="add-form-item form-item-disabled">
<div v-if="form.modelList.length > 0">
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;padding-left: 10px">
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
<el-button
size="small"
@click="updateFile2(item)"
icon="el-icon-download"
style="height: 32px; margin-left: 5px;"
></el-button>
</div>
</div>
<div v-else>
- -
</div>
</el-form-item>
<el-form-item label="相关附件" prop="model" class="add-form-item form-item-disabled">
<div v-if="form.fjList.length > 0">
<div v-for="(item, index) in form.fjList" class="fileClass" :key="index" style="margin-right: 5px;padding-left: 10px">
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
<el-button
size="small"
@click="updateFile2(item)"
icon="el-icon-download"
style="height: 32px; margin-left: 5px;"
></el-button>
</div>
</div>
<div v-else>
- -
</div>
</el-form-item>
<!-- <el-form-item label="批准意见" prop="textpz" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="批准意见" prop="textpz" class="add-form-item form-item-disabled">-->
<!-- <el-input--> <!-- <el-input-->
<!-- v-model="form.textpz"--> <!-- v-model="form.textpz"-->
@@ -263,7 +295,9 @@
date: '', // 完成时间 date: '', // 完成时间
hzfileId: '', hzfileId: '',
hzfileName: '', hzfileName: '',
textpz: '' textpz: '',
modelList:[],
fjList: []
}, },
formRules: { formRules: {
textpz: [ textpz: [
@@ -285,6 +319,10 @@
const attId = file const attId = file
this.$preview(attId) this.$preview(attId)
}, },
clickButtonToUpload(file) {
const attId = file.attId
this.$preview(attId)
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -331,6 +369,10 @@
updateFile (fileId) { updateFile (fileId) {
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
}, },
updateFile2 (item) {
let id = item.id
window.location.href = '/api/att/attFile/downloadFile?fileId=' + id
},
// 导入按钮 上传之前的钩子 // 导入按钮 上传之前的钩子
beginImportFile (file) { beginImportFile (file) {
var filename = file.name var filename = file.name
@@ -428,6 +470,7 @@
this.form.hzfileId = data.hzfileId || data.form.hzfileId this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.commentText9 = data.commentText9 || '' this.commentText9 = data.commentText9 || ''
this.form.modelList = data.form ? data.form.modelList : data.modelList
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -108,6 +108,7 @@
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process' import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
import hwh5 from '@/api/hwh5-cloudonline.js'
import axios from "axios"; import axios from "axios";
export default { export default {
@@ -170,6 +171,7 @@
this.drawerModal = false this.drawerModal = false
this.$message.success('调整成功') this.$message.success('调整成功')
this.processNum() this.processNum()
hwh5.close()
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
@@ -258,6 +260,7 @@
}, {}, res => { }, {}, res => {
if (res.success) { if (res.success) {
this.$message.success('提交成功') this.$message.success('提交成功')
hwh5.close()
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
@@ -2,7 +2,7 @@
<div class="phoneXmpgStep6 phoneBox"> <div class="phoneXmpgStep6 phoneBox">
<ProcessHeaderPhone toggle> <ProcessHeaderPhone toggle>
<template slot="proName">标准合规评估流程</template> <template slot="proName">标准合规评估流程</template>
<template slot="proNode">审核2</template> <template slot="proNode">审核</template>
</ProcessHeaderPhone> </ProcessHeaderPhone>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -197,19 +197,30 @@
width="150" width="150"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.standYear && textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C" class="table-jump" @click="handlePreview(scope.row)">{{ <a v-if="scope.row.standYear && textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C" class="table-jump" @click="handlePreview(scope.row)">
scope.row.standSortShow {{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}
}} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a> </a>
<a v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" class="table-jump" @click="handlePreview(scope.row)">{{ <a v-else-if="scope.row.standYear && textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" class="table-jump" @click="handlePreview(scope.row)">
scope.row.standSortShow {{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}
}} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a> </a>
<a v-else-if="scope.row.standYear" style="color: #333333" class="table-jump" @click="handlePreview(scope.row)">{{ <a v-else-if="scope.row.standYear && textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165" class="table-jump" @click="handlePreview(scope.row)">
scope.row.standSortShow {{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}
}} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a> </a>
<a v-else style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{ <a v-else-if="scope.row.standYear" style="color: #333333" class="table-jump" @click="handlePreview(scope.row)">
scope.row.standSortShow {{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}
}} </a>
{{ scope.row.standNumber }}</a> <a v-else-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C" class="table-jump" @click="handlePreview(scope.row)" >
{{ scope.row.standSortShow }} {{ scope.row.standNumber }}
</a>
<a v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" class="table-jump" @click="handlePreview(scope.row)">
{{ scope.row.standSortShow }} {{ scope.row.standNumber }}
</a>
<a v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165" class="table-jump" @click="handlePreview(scope.row)">
{{ scope.row.standSortShow }} {{ scope.row.standNumber }}
</a>
<a v-else style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">
{{ scope.row.standSortShow }} {{ scope.row.standNumber }}
</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -225,6 +236,9 @@
<a v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" @click="handlePreview(scope.row)" class="table-jump">{{ <a v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" @click="handlePreview(scope.row)" class="table-jump">{{
scope.row.standName scope.row.standName
}}</a> }}</a>
<a v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165" @click="handlePreview(scope.row)" class="table-jump">{{
scope.row.standName
}}</a>
<a v-else style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{ <a v-else style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{
scope.row.standName scope.row.standName
}}</a> }}</a>
@@ -243,6 +257,9 @@
<a v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" @click="handlePreview(scope.row)" class="table-jump">{{ <a v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF" @click="handlePreview(scope.row)" class="table-jump">{{
scope.row.standEnName scope.row.standEnName
}}</a> }}</a>
<a v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165" @click="handlePreview(scope.row)" class="table-jump">{{
scope.row.standEnName
}}</a>
<a v-else style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{ <a v-else style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{
scope.row.standEnName scope.row.standEnName
}}</a> }}</a>
@@ -260,6 +277,9 @@
<div v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF"> <div v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">
{{ formatIssueDate(scope.row.issueTime) }} {{ formatIssueDate(scope.row.issueTime) }}
</div> </div>
<div v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165">
{{ formatIssueDate(scope.row.issueTime) }}
</div>
<div v-else style="color: #333333"> <div v-else style="color: #333333">
{{ formatIssueDate(scope.row.issueTime) }} {{ formatIssueDate(scope.row.issueTime) }}
</div> </div>
@@ -277,6 +297,9 @@
<span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{ <span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{
scope.row.SSRQ scope.row.SSRQ
}}</span> }}</span>
<span v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165">{{
scope.row.SSRQ
}}</span>
<span v-else style="color: #333333">{{ scope.row.SSRQ }}</span> <span v-else style="color: #333333">{{ scope.row.SSRQ }}</span>
</template> </template>
@@ -292,6 +315,9 @@
<span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{ <span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{
scope.row.XCXSSRQ scope.row.XCXSSRQ
}}</span> }}</span>
<span v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165">{{
scope.row.XCXSSRQ
}}</span>
<span v-else style="color: #333333">{{ <span v-else style="color: #333333">{{
scope.row.XCXSSRQ scope.row.XCXSSRQ
}}</span> }}</span>
@@ -308,6 +334,9 @@
<span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{ <span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{
scope.row.ZCCSSRQ scope.row.ZCCSSRQ
}}</span> }}</span>
<span v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165">{{
scope.row.ZCCSSRQ
}}</span>
<span v-else style="color: #333333">{{ <span v-else style="color: #333333">{{
scope.row.ZCCSSRQ scope.row.ZCCSSRQ
}}</span> }}</span>
@@ -329,6 +358,9 @@
<span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{ <span v-else-if="textStatusMap[scope.row.textStatus] === '——' " style="color: #409EFF">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
}}</span> }}</span>
<span v-else-if="textStatusMap[scope.row.textStatus] === '参考' " style="color: #98E165">{{
textStatusMap[scope.row.textStatus]
}}</span>
<span v-else style="color: #333333">{{ textStatusMap[scope.row.textStatus] }}</span> <span v-else style="color: #333333">{{ textStatusMap[scope.row.textStatus] }}</span>
</template> </template>
</el-table-column> </el-table-column>