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

# Conflicts:
#	src/pages/details/otherStandardDetails/index.vue
This commit is contained in:
zhaokaiyao@91isoft.com
2021-09-23 15:35:01 +08:00
22 changed files with 2676 additions and 2519 deletions
@@ -40,42 +40,26 @@
</div> </div>
<div class="modular-content"> <div class="modular-content">
<template v-if="item.label === '基础信息'"> <template v-if="item.label === '基础信息'">
<div class="details-content-modular basic-information modular-content-p-val" style="border-top:none;"> <div class="details-content-modular basic-information" style="border-top:none">
<div class="basic-information-content"> <div class="basic-information-content">
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>--> <!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
<p style="color: #C42626;" class="half"> <p style="color: #C42626;" class="half">
<label style=" margin-right: 164px;">标准号</label> <label style=" margin-right: 164px;">标准号</label>
<span v-if="sarStandardsInfoEO.standYear && (sarStandardsInfoEO.standSortShow.length+sarStandardsInfoEO.standNumber.length+ sarStandardsInfoEO.standYear.length)<15">{{ <span v-if="sarStandardsInfoEO.standYear">{{
sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear
}}</span> }}</span>
<span v-if="sarStandardsInfoEO.standYear && (sarStandardsInfoEO.standSortShow.length+sarStandardsInfoEO.standNumber.length+ sarStandardsInfoEO.standYear.length)>=15">{{ <span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
(sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear).substr(0,15)+'...'
}}</span>
<span v-if="!sarStandardsInfoEO.standYear && (sarStandardsInfoEO.standSortShow.length+sarStandardsInfoEO.standNumber.length+ sarStandardsInfoEO.standYear.length)<15">{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
<span v-if="!sarStandardsInfoEO.standYear && (sarStandardsInfoEO.standSortShow.length+sarStandardsInfoEO.standNumber.length+ sarStandardsInfoEO.standYear.length)>=15">{{ (sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber).substr(0,15)+'...' }}</span>
</p> </p>
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>--> <!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
<p class="half"><label style=" margin-right: 150px;">标准性质</label><span>{{ <p class="half"><label style=" margin-right: 150px;">标准性质</label><span>{{
standMap[sarStandardsInfoEO.standNature] || '-' standMap[sarStandardsInfoEO.standNature] || '-'
}}</span></p> }}</span></p>
<p> <p><label style=" margin-right: 150px;">中文名称</label><span>{{
<label style=" margin-right: 150px;">中文名称</label>
<span v-if="sarStandardsInfoEO.standName.length<30">{{
sarStandardsInfoEO.standName || '-' sarStandardsInfoEO.standName || '-'
}}</span> }}</span></p>
<span v-if="sarStandardsInfoEO.standName.length>=30">{{ <p><label style=" margin-right: 150px;">英文名称</label><span>{{
sarStandardsInfoEO.standName.substr(0,30)+'...' || '-'
}}</span>
</p>
<p>
<label style=" margin-right: 150px;">英文名称</label>
<span v-if="sarStandardsInfoEO.standEnName.length<30">{{
sarStandardsInfoEO.standEnName || '-' sarStandardsInfoEO.standEnName || '-'
}}</span> }}</span></p>
<span v-if="sarStandardsInfoEO.standEnName.length>=30">{{
sarStandardsInfoEO.standEnName.substr(0,30)+'...' || '-'
}}</span>
</p>
<p class="half"> <p class="half">
<label style=" margin-right: 150px;" <label style=" margin-right: 150px;"
title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
@@ -302,7 +286,7 @@
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
/> />
<!-- <el-button v-if="file.fileSuffix='pdf'" type="primary" round>OCR</el-button>--> <!-- <el-button v-if="file.fileSuffix='pdf'" type="primary" round>OCR</el-button>-->
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span> <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
</template> </template>
<template v-else> <template v-else>
@@ -322,12 +306,12 @@
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span> <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
</template> </template>
</p> </p>
<!-- <el-button--> <!-- <el-button-->
<!-- v-if="child.attrField === 'FBGBJBD' || child.attrField === 'SSG' || child.attrField === 'ZQYJG' || child.attrField === 'BPG' || child.attrField === 'ZBJBD' || child.attrField === 'CA'"--> <!-- v-if="child.attrField === 'FBGBJBD' || child.attrField === 'SSG' || child.attrField === 'ZQYJG' || child.attrField === 'BPG' || child.attrField === 'ZBJBD' || child.attrField === 'CA'"-->
<!-- @click="showItemsModel(child.attrField)"--> <!-- @click="showItemsModel(child.attrField)"-->
<!-- class="decomposition-btn"--> <!-- class="decomposition-btn"-->
<!-- icon="icon-separate"--> <!-- icon="icon-separate"-->
<!-- >标准分解单</el-button>--> <!-- >标准分解单</el-button>-->
</div> </div>
</div> </div>
@@ -399,9 +383,9 @@
class="icon-download2" class="icon-download2"
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
/> />
<!-- OCR按钮,根据文件名取后缀判断是否出现--> <!-- OCR按钮,根据文件名取后缀判断是否出现-->
<!-- <el-button v-if="judgeSuffix(file.fileName)" type="primary" size="mini" style="margin: 5px" @click="ocrFunction(file)" plain>OCR</el-button>--> <!-- <el-button v-if="judgeSuffix(file.fileName)" type="primary" size="mini" style="margin: 5px" @click="ocrFunction(file)" plain>OCR</el-button>-->
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span> <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
@@ -424,8 +408,9 @@
</template> </template>
</p> </p>
<el-button <el-button
v-for="itemNam in itemExistList"
v-if="child.attrField === itemNam " v-if="child.attrField === itemNam "
v-for="(itemNam,index) in itemExistList"
:key="index"
@click="showItemsModel(child.attrField)" @click="showItemsModel(child.attrField)"
class="decomposition-btn" class="decomposition-btn"
icon="icon-separate" icon="icon-separate"
@@ -1246,13 +1231,13 @@
</div> </div>
</template> </template>
<script> <script>
import PutQuestionButton from '@/components/PutQuestionButton' import PutQuestionButton from '@/components/PutQuestionButton'
import CustomSVPPS from '@/components/CustomFormComponents/SVPPS' import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
import CustomOrg from '@/components/CustomFormComponents/OrgTree' import CustomOrg from '@/components/CustomFormComponents/OrgTree'
import {dateFormat} from '@/common/date' import {dateFormat} from '@/common/date'
import RelatedTermsSelect from './components/RelatedTermsSelect' import RelatedTermsSelect from './components/RelatedTermsSelect'
export default { export default {
name: 'OtherStandardDetails', name: 'OtherStandardDetails',
components: { components: {
PutQuestionButton, PutQuestionButton,
@@ -2742,8 +2727,7 @@ export default {
let personCollect = { let personCollect = {
collectResId: this.sarStandardsInfoEO.id, collectResId: this.sarStandardsInfoEO.id,
collectTitle: collectTitle, collectTitle: collectTitle,
collectType: this.$route.params.pageType, // 国内收藏type collectType: this.$route.params.pageType // 国内收藏type
userId : this.$store.getters.userInfo.userId
} }
this.$http.postData('person/personCollect', personCollect, { this.$http.postData('person/personCollect', personCollect, {
_this: this _this: this
@@ -2989,14 +2973,14 @@ export default {
window.onresize = null window.onresize = null
this.tableHeight = '' this.tableHeight = ''
} }
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .btn1 #question { /deep/ .btn1 #question {
padding: 0 10px; padding: 0 10px;
margin-left: 10px; margin-left: 10px;
height: 30px; height: 30px;
@@ -3017,9 +3001,9 @@ export default {
vertical-align: sub; vertical-align: sub;
background-image: url("~assets/images/shangqi/standardDetails/separate.png"); background-image: url("~assets/images/shangqi/standardDetails/separate.png");
} }
} }
.other-standard-details { .other-standard-details {
padding: 15px 30px 0; padding: 15px 30px 0;
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
@@ -3265,9 +3249,9 @@ export default {
font-size: 16px; font-size: 16px;
color: #999999; color: #999999;
word-break: break-all; word-break: break-all;
overflow: hidden; //overflow: hidden;
white-space: nowrap; //white-space: nowrap;
text-overflow: ellipsis; //text-overflow: ellipsis;
} }
.modular-content-p-flies { .modular-content-p-flies {
@@ -3399,18 +3383,18 @@ export default {
position: static; position: static;
} }
} }
} }
.half { .half {
width: 50%; width: 50%;
float: left; float: left;
} }
.hidden { .hidden {
overflow: hidden; overflow: hidden;
} }
.clearfix { .clearfix {
&:after { &:after {
clear: both; clear: both;
} }
@@ -3419,39 +3403,39 @@ export default {
display: table; display: table;
content: ""; content: "";
} }
} }
.details-container .el-divider { .details-container .el-divider {
height: 1px; height: 1px;
background-color: #d5d8da; background-color: #d5d8da;
} }
.span-line:hover { .span-line:hover {
text-decoration: underline; text-decoration: underline;
} }
.relateClass { .relateClass {
.el-dialog__body { .el-dialog__body {
max-height: 460px; max-height: 460px;
overflow-y: auto; overflow-y: auto;
} }
} }
.over{ .over{
word-break: break-all; word-break: break-all;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
::v-deep .el-drawer__header { ::v-deep .el-drawer__header {
& > span:first-child { & > span:first-child {
outline: none !important; outline: none !important;
} }
} }
::v-deep .el-drawer { ::v-deep .el-drawer {
outline: none !important; outline: none !important;
} }
</style> </style>
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -287,6 +288,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -266,6 +267,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -306,6 +307,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -290,6 +291,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -287,6 +288,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -287,6 +288,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -48,6 +48,7 @@
<div style="display: flex;"> <div style="display: flex;">
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index"> <div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
{{ item.fileName }} {{ item.fileName }}
<el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(item.attId)">下载</el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
@@ -287,6 +288,9 @@ export default {
ProcessTitle ProcessTitle
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
handleTransfer() { handleTransfer() {
this.drawerModal = true this.drawerModal = true
}, },
@@ -111,9 +111,9 @@
style="width: 100%" style="width: 100%"
border border
@selection-change="selectStandChange" @selection-change="selectStandChange"
:height="sarProStateTableHeight" height="52%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"> fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold'}">
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
@@ -353,6 +353,27 @@
<loading :loading="loading">流程列表加载中</loading> <loading :loading="loading">流程列表加载中</loading>
</div> </div>
</div> </div>
<!-- <ProcessFooter-->
<!-- show-submit-->
<!-- show-transfer-->
<!-- :submitLoading="isSubmit"-->
<!-- :transfer-loading="isTransfer"-->
<!-- :saveLoading="saveLoading"-->
<!-- :approval="true"-->
<!-- @back="beforeBack"-->
<!-- @transfer="handleTransfer"-->
<!-- @submit="handleSubmit"-->
<!-- >-->
<!-- </ProcessFooter>-->
<!-- 福田全公司选人解决方案 -->
<Role-tree
check-box
:is-title="drawerTitle"
:is-visible.sync="drawerModal"
@checkedRole="checkedTransferRole"
:nodeList="nodeList"
></Role-tree>
</div> </div>
</template> </template>
@@ -360,7 +381,7 @@
import ProcessHeader from "../../components/ProcessHeader"; import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter"; import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle"; import ProcessTitle from "../../components/ProcessTitle";
import { inboundLiaisonDetail, queryDetail } from "api/process"; import { inboundLiaisonDetail, queryDetail ,changeAssigneeNew } from "api/process";
export default { export default {
name: "xmpgStep1-7", name: "xmpgStep1-7",
@@ -373,6 +394,11 @@ export default {
return { return {
//折叠的标志,true为折叠,false为不折叠 //折叠的标志,true为折叠,false为不折叠
foldFormFlag: false, foldFormFlag: false,
nodeList:[],
drawerTitle:'',
isTransfer: false,
// 调整处理人抽屉状态
drawerModal: false,
detailData: [], detailData: [],
sarProStateTableHeight: null, // 项目列表高度 sarProStateTableHeight: null, // 项目列表高度
// 当前流程类型(1待办/2已办) // 当前流程类型(1待办/2已办)
@@ -451,6 +477,47 @@ export default {
foldForm() { foldForm() {
this.foldFormFlag = !this.foldFormFlag this.foldFormFlag = !this.foldFormFlag
}, },
//确认转办
checkedTransferRole (data) {
this.assigneeNewLoading = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例
}).then(res => {
this.isTransfer = false
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
this.$router.push("/processCenter");
this.processNum()
} else {
this.$message.warning(res.message)
}
})
},
// 请求转换流程图
processNum (row) {
axios.request({
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
responseType: 'blob',
method: 'get',
params: {
prcNum: this.$route.query.prcNum
}
}).then(res => {
// let blob = new Blob([res.data], {type: 'image/jpg'})
// let url = window.URL.createObjectURL(res.data)
this.processStep = window.URL.createObjectURL(res.data)
})
},
//转办事件
handleTransfer(){
this.drawerModal = true
this.drawerTitle = '转办处理人'
this.selectPeople = row
},
processTable () { processTable () {
this.$http.get('lawss/activiti/get_list_by_instance', { this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.$route.query.prcNum, prcNum: this.$route.query.prcNum,
@@ -517,9 +584,6 @@ export default {
}, },
//提交事件 //提交事件
handleSubmit() { handleSubmit() {
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
this.$message.warning('请填写审批意见')
} else {
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId; this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId; this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account; this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
@@ -545,7 +609,6 @@ export default {
}, e => { }, e => {
}); });
}
}, },
//标准表格选择框改变 //标准表格选择框改变
selectStandChange(data) { selectStandChange(data) {
@@ -580,7 +643,6 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.xmpg-step7 { .xmpg-step7 {
/deep/ .el-drawer__container { /deep/ .el-drawer__container {
.prc-content-border { .prc-content-border {
@@ -651,6 +713,12 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -113,7 +113,7 @@
@selection-change="selectStandChange" @selection-change="selectStandChange"
height="56%" height="56%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"> fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold'}">
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
@@ -781,9 +781,14 @@ export default {
} }
} }
} }
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -113,7 +113,7 @@
@selection-change="selectStandChange" @selection-change="selectStandChange"
height="55%" height="55%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"> fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold'}">
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
@@ -727,5 +727,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style>> </style>>
@@ -113,7 +113,7 @@
@selection-change="selectStandChange" @selection-change="selectStandChange"
height="55%" height="55%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"> fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold'}">
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
@@ -717,5 +717,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -111,9 +111,9 @@
style="width: 100%" style="width: 100%"
border border
@selection-change="selectStandChange" @selection-change="selectStandChange"
height="55%" height="52%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"> fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold'}">
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
@@ -713,6 +713,12 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -529,5 +529,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -598,5 +598,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -574,5 +574,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -597,5 +597,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -56,7 +56,7 @@
border border
@selection-change="selectStandChange" @selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -874,6 +874,12 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -598,5 +598,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -595,5 +595,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -49,7 +49,7 @@
height="70%" height="70%"
border border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold'}"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -597,5 +597,11 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
/deep/.el-table th > .cell{
font-size: 12px;
}
/deep/.el-table thead.is-group th{
padding: 0px;
}
} }
</style> </style>
@@ -28,13 +28,16 @@
<p class="transition-box-p"> <p class="transition-box-p">
<label class="transition-box-label">附件:</label> <label class="transition-box-label">附件:</label>
<span class="file-box" v-if="fileInfoList.length > 0"> <span class="file-box" v-if="fileInfoList.length > 0">
<span v-for="(file,item) in fileInfoList" <div style="display: flex;">
<div v-for="(file,item) in fileInfoList"
target="_blank" target="_blank"
class="transition-box-span table-jump" class="transition-box-span table-jump"
@click="handleQueryPdf(file)" @click="handleQueryPdf(file)"
:key="item"> :key="item">
{{ file.name }} {{ file.name }}
</span> <el-button type="primary" class="common-button-primary" size="mini" @click="downloadFile(file.attId)">下载</el-button>
</div>
</div>
</span> </span>
<span class="transition-box-span" v-else>-</span> <span class="transition-box-span" v-else>-</span>
</p> </p>
@@ -222,6 +225,9 @@ export default {
} }
}, },
methods: { methods: {
downloadFile (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
},
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({