Merge branch 'develop' into FOTON
# Conflicts: # src/sysConfig/index.js
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规项目"
|
label="不合规项"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -369,7 +369,6 @@
|
|||||||
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"></i>
|
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"></i>
|
||||||
<i
|
<i
|
||||||
title="下载带水印"
|
title="下载带水印"
|
||||||
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
|
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
class="icon-download2"
|
class="icon-download2"
|
||||||
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"></i>
|
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"></i>
|
||||||
@@ -2543,14 +2542,30 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
downloadFileByWater (attId, fileSuffix) {
|
downloadFileByWater (attId, fileSuffix) {
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
if(fileSuffix !== undefined && fileSuffix !== null){
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
fileSuffix = fileSuffix.toUpperCase()
|
||||||
} else {
|
}
|
||||||
|
if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
|
||||||
if (attId != null && attId !== '') {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
this.$http.get('lawss/sarBussStandFile/queryConvertAtt', {
|
||||||
|
attId: attId
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data) {
|
||||||
|
let fileObj = {}
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
|
} else {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
|
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
|
||||||
standCode: this.sarStandardsInfoEO.standCode,
|
standCode: this.sarStandardsInfoEO.standCode,
|
||||||
|
|||||||
@@ -369,7 +369,6 @@
|
|||||||
/>
|
/>
|
||||||
<i
|
<i
|
||||||
title="下载带水印"
|
title="下载带水印"
|
||||||
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
|
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
class="icon-download2"
|
class="icon-download2"
|
||||||
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"
|
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"
|
||||||
@@ -2545,14 +2544,30 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
downloadFileByWater (attId, fileSuffix) {
|
downloadFileByWater (attId, fileSuffix) {
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
if(fileSuffix !== undefined && fileSuffix !== null){
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
fileSuffix = fileSuffix.toUpperCase()
|
||||||
} else {
|
}
|
||||||
|
if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
|
||||||
if (attId != null && attId !== '') {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
this.$http.get('lawss/sarBussStandFile/queryConvertAtt', {
|
||||||
|
attId: attId
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data) {
|
||||||
|
let fileObj = {}
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
|
} else {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
|
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
|
||||||
standCode: this.sarStandardsInfoEO.standCode,
|
standCode: this.sarStandardsInfoEO.standCode,
|
||||||
|
|||||||
@@ -898,20 +898,20 @@
|
|||||||
label="责任工程师"
|
label="责任工程师"
|
||||||
width="100">
|
width="100">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column-->
|
||||||
show-overflow-tooltip
|
<!-- show-overflow-tooltip-->
|
||||||
label="符合性状态"
|
<!-- label="符合性状态"-->
|
||||||
width="100">
|
<!-- width="100">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
{{ scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-' }}
|
<!-- {{ scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-' }}-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column
|
<!-- <el-table-column-->
|
||||||
show-overflow-tooltip
|
<!-- show-overflow-tooltip-->
|
||||||
prop="complianceState"
|
<!-- prop="complianceState"-->
|
||||||
label="合规性分析"
|
<!-- label="合规性分析"-->
|
||||||
width="100">
|
<!-- width="100">-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
<el-table-column label="操作" align="center" width="50" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click.stop>
|
<div @click.stop>
|
||||||
@@ -1082,30 +1082,30 @@
|
|||||||
<!-- clearable-->
|
<!-- clearable-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<el-form-item
|
<!-- <el-form-item-->
|
||||||
label="符合性状态"
|
<!-- label="符合性状态"-->
|
||||||
class="add-form-item"
|
<!-- class="add-form-item"-->
|
||||||
>
|
<!-- >-->
|
||||||
<template>
|
<!-- <template>-->
|
||||||
<el-radio v-model="resolveListForm.complianceRequire" label="1">符合</el-radio>
|
<!-- <el-radio v-model="resolveListForm.complianceRequire" label="1">符合</el-radio>-->
|
||||||
<el-radio v-model="resolveListForm.complianceRequire" label="2">不符合</el-radio>
|
<!-- <el-radio v-model="resolveListForm.complianceRequire" label="2">不符合</el-radio>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
<!-- <el-input-->
|
<!-- <!– <el-input–>-->
|
||||||
<!-- style="width: 45%"-->
|
<!-- <!– style="width: 45%"–>-->
|
||||||
<!-- v-model="resolveListForm.complianceRequire"-->
|
<!-- <!– v-model="resolveListForm.complianceRequire"–>-->
|
||||||
<!-- clearable-->
|
<!-- <!– clearable–>-->
|
||||||
<!-- />-->
|
<!-- <!– />–>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item
|
<!-- <el-form-item-->
|
||||||
label="合规性分析"
|
<!-- label="合规性分析"-->
|
||||||
class="add-form-item"
|
<!-- class="add-form-item"-->
|
||||||
>
|
<!-- >-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
style="width: 45%"
|
<!-- style="width: 45%"-->
|
||||||
v-model="resolveListForm.complianceState"
|
<!-- v-model="resolveListForm.complianceState"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
/>
|
<!-- />-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-form>
|
</el-form>
|
||||||
<div id="roleFormButton" class="demo-drawer-footer" style="margin-top: 8%">
|
<div id="roleFormButton" class="demo-drawer-footer" style="margin-top: 8%">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -1360,19 +1360,19 @@
|
|||||||
{{ standShowItemEO.comparedWithPrevious }}</span>
|
{{ standShowItemEO.comparedWithPrevious }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="see-drawer-div">
|
<!-- <div class="see-drawer-div">-->
|
||||||
<label class="see-drawer-name" style="font-size: 14px" title="符合性状态">符合性状态</label>
|
<!-- <label class="see-drawer-name" style="font-size: 14px" title="符合性状态">符合性状态</label>-->
|
||||||
<span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.complianceRequire">
|
<!-- <span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.complianceRequire">-->
|
||||||
{{ standShowItemEO.complianceRequire ? (standShowItemEO.complianceRequire === '1' ? '是' : '否') : '-' }}
|
<!-- {{ standShowItemEO.complianceRequire ? (standShowItemEO.complianceRequire === '1' ? '是' : '否') : '-' }}-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
|
|
||||||
</div>
|
<!-- </div>-->
|
||||||
|
|
||||||
<div class="see-drawer-div">
|
<!-- <div class="see-drawer-div">-->
|
||||||
<label class="see-drawer-name" style="font-size: 14px" title="合规性分析">合规性分析</label>
|
<!-- <label class="see-drawer-name" style="font-size: 14px" title="合规性分析">合规性分析</label>-->
|
||||||
<span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.complianceState">
|
<!-- <span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.complianceState">-->
|
||||||
{{ standShowItemEO.complianceState }}</span>
|
<!-- {{ standShowItemEO.complianceState }}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<!-- <div class="see-drawer-div">-->
|
<!-- <div class="see-drawer-div">-->
|
||||||
<!-- <label class="see-drawer-name" title="FO">FO</label>-->
|
<!-- <label class="see-drawer-name" title="FO">FO</label>-->
|
||||||
<!-- <span class="see-drawer-val" :title="standShowItemEO.foShow">{{ standShowItemEO.foShow }}</span>-->
|
<!-- <span class="see-drawer-val" :title="standShowItemEO.foShow">{{ standShowItemEO.foShow }}</span>-->
|
||||||
@@ -3199,14 +3199,30 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
downloadFileByWater(attId, fileSuffix) {
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
if(fileSuffix !== undefined && fileSuffix !== null){
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
fileSuffix = fileSuffix.toUpperCase()
|
||||||
} else {
|
}
|
||||||
|
if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
|
||||||
if (attId != null && attId !== '') {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
this.$http.get('lawss/sarStandFile/queryConvertAtt', {
|
||||||
|
attId: attId
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data) {
|
||||||
|
let fileObj = {}
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
|
} else {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
|
||||||
}
|
}
|
||||||
if(this.$route.params.pageType === 'INLAND_STAND'){
|
if(this.$route.params.pageType === 'INLAND_STAND'){
|
||||||
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
|
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
|
||||||
|
|||||||
@@ -3210,14 +3210,30 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
downloadFileByWater(attId, fileSuffix) {
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
if(fileSuffix !== undefined && fileSuffix !== null){
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
fileSuffix = fileSuffix.toUpperCase()
|
||||||
} else {
|
}
|
||||||
|
if (fileSuffix === 'PDF' ||fileSuffix === 'DOC' ||fileSuffix === 'DOCX') {
|
||||||
if (attId != null && attId !== '') {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
this.$http.get('lawss/sarStandFile/queryConvertAtt', {
|
||||||
|
attId: attId
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data) {
|
||||||
|
let fileObj = {}
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + res.data.attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
|
} else {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
this.$message.error('当前暂时无法下载,请稍后重试')
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('水印下载仅支持PDF、DOC、DOCX格式文件')
|
||||||
}
|
}
|
||||||
if(this.$route.params.pageType === 'INLAND_STAND'){
|
if(this.$route.params.pageType === 'INLAND_STAND'){
|
||||||
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
|
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
|
||||||
|
|||||||
@@ -134,12 +134,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'WGJP2VRZSJ77EGH2447M' : '44KKMQHU3CNRRPNNF8VN'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'WGJP2VRZSJ77EGH2447M' : '44KKMQHU3CNRRPNNF8VN'"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'EZVNMCLGSB5LWG6XRRL3' : 'VSUKQX3NZW4N8CT5VQE3'"
|
|
||||||
/>
|
|
||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
@@ -150,12 +144,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'JHQALHMF6F' : 'dakDL3sNLq'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'JHQALHMF6F' : 'dakDL3sNLq'"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'KDLDNFJHENFMF' : 'LKJSNLKFHOFN'"
|
|
||||||
/>
|
|
||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
@@ -224,12 +212,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'WGJP2VRZSJ77EGH2447M' : '44KKMQHU3CNRRPNNF8VN'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'WGJP2VRZSJ77EGH2447M' : '44KKMQHU3CNRRPNNF8VN'"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'EZVNMCLGSB5LWG6XRRL3' : 'VSUKQX3NZW4N8CT5VQE3'"
|
|
||||||
/>
|
|
||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
@@ -240,12 +222,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'JHQALHMF6F' : 'dakDL3sNLq'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'JHQALHMF6F' : 'dakDL3sNLq'"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'KDLDNFJHENFMF' : 'LKJSNLKFHOFN'"
|
|
||||||
/>
|
|
||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -2241,18 +2241,6 @@ export default {
|
|||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater (attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
// 查看详情
|
// 查看详情
|
||||||
getMenuDetail(menuId) {
|
getMenuDetail(menuId) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|||||||
@@ -2073,17 +2073,6 @@ export default {
|
|||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater (attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
showReferStandDetials (standNum) {
|
showReferStandDetials (standNum) {
|
||||||
// 验证标准号在系统中是否存在
|
// 验证标准号在系统中是否存在
|
||||||
this.$http.post('lawss/sarTestItem/validateStandNumber', {
|
this.$http.post('lawss/sarTestItem/validateStandNumber', {
|
||||||
|
|||||||
@@ -85,24 +85,12 @@
|
|||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer;display: inline-block"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer;display: inline-block"
|
||||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
|
||||||
/>
|
|
||||||
<i title="下载带水印" @click="downloadFileByWater(file.id, file.fileSuffix)" class="icon-download2"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
<!--多个文件时-->
|
<!--多个文件时-->
|
||||||
<div v-else-if="child.value && child.value.length > 0">
|
<div v-else-if="child.value && child.value.length > 0">
|
||||||
<span style="display: flex; align-items: center;">
|
<span style="display: flex; align-items: center;">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
|
||||||
/>
|
|
||||||
<i title="下载带水印" @click="downloadFileByWater(file.id, file.fileSuffix)" class="icon-download2"
|
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -2786,36 +2774,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(this.$route.query.pageType === 'INLAND_STAND'){
|
|
||||||
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
|
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/logInvalidDownload2',{
|
|
||||||
standNumber: standNumber,
|
|
||||||
standName: this.sarStandardsInfoEO.standName
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
})
|
|
||||||
}else{
|
|
||||||
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
|
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/logForeignDownload2',{
|
|
||||||
standNumber: standNumber,
|
|
||||||
standName: this.sarStandardsInfoEO.standEnName
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/**
|
/**
|
||||||
* @Description: 跳转流程
|
* @Description: 跳转流程
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
@@ -210,7 +210,6 @@
|
|||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:show-submit="submitShow"
|
:show-submit="submitShow"
|
||||||
:show-confirm="acceptShow"
|
|
||||||
:show-transfer="submitShow"
|
:show-transfer="submitShow"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<div class="prc-content-border" v-if="foldFormFlag === false">
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="流程名称" prop="processName" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.processName"
|
<!-- v-model="form.processName"-->
|
||||||
placeholder="请输入流程名称"
|
<!-- placeholder="请输入流程名称"-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
<el-form-item label="调研标题" prop="title" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|||||||
@@ -266,14 +266,14 @@
|
|||||||
v-if="dataList[scope.$index].complianceReasons && dataList[scope.$index].complianceReasons.length>0"
|
v-if="dataList[scope.$index].complianceReasons && dataList[scope.$index].complianceReasons.length>0"
|
||||||
disabled
|
disabled
|
||||||
v-model="dataList[scope.$index].noCompliance"
|
v-model="dataList[scope.$index].noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
:disabled="acceptShow"
|
:disabled="acceptShow"
|
||||||
v-model="dataList[scope.$index].noCompliance"
|
v-model="dataList[scope.$index].noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</template>
|
</template>
|
||||||
@@ -475,14 +475,14 @@
|
|||||||
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0"
|
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0"
|
||||||
disabled
|
disabled
|
||||||
v-model="batchEditForm.noCompliance"
|
v-model="batchEditForm.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
:disabled="acceptShow"
|
:disabled="acceptShow"
|
||||||
v-model="batchEditForm.noCompliance"
|
v-model="batchEditForm.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -610,18 +610,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 删除上传的文件
|
// 删除上传的文件
|
||||||
delFileInfo (file, fileList) {
|
delFileInfo (file, fileList) {
|
||||||
this.fileInfoList.forEach((item, index) => {
|
this.fileInfoList.forEach((item, index) => {
|
||||||
|
|||||||
@@ -47,12 +47,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -423,18 +417,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 驳回事件
|
// 驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
|
|||||||
@@ -47,12 +47,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click.stop="downloadFileByWater(item.id, item.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -383,17 +377,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.assigneeNewLoading = true
|
||||||
|
|||||||
@@ -724,18 +724,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 删除上传的文件
|
// 删除上传的文件
|
||||||
delFileInfo (file, fileList) {
|
delFileInfo (file, fileList) {
|
||||||
this.fileInfoList.forEach((item, index) => {
|
this.fileInfoList.forEach((item, index) => {
|
||||||
|
|||||||
@@ -47,12 +47,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click.stop="downloadFileByWater(item.id, item.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -452,17 +446,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 驳回事件
|
// 驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
|
|||||||
@@ -91,27 +91,51 @@
|
|||||||
previewShow(attId) {
|
previewShow(attId) {
|
||||||
this.iframeLoading = true
|
this.iframeLoading = true
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
getBusStandFileByAttId({
|
this.$http.get('lawss/sarStandFile/queryConvertAtt', {
|
||||||
attId
|
attId: attId
|
||||||
}).then(res => {
|
}, {
|
||||||
if(res){
|
_this: this
|
||||||
const history = res;
|
}, res => {
|
||||||
const editFileInfo = res.data
|
if (res.data) {
|
||||||
if(editFileInfo.fileSuffix.toLowerCase() === 'pdg'){
|
let fileObj = {}
|
||||||
this.iframeUrl = 'book://ssreader/e0?url='+editFileInfo.downLoadUrl
|
fileObj.fileId = res.data.attId
|
||||||
}else if(editFileInfo.fileSuffix.toLowerCase() === 'pdf'){
|
fileObj.fileName = res.data.fileOldName
|
||||||
this.iframeUrl = './static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)
|
let fileList = []
|
||||||
}else {
|
let repeatData = 0
|
||||||
const nowTime = new Date().getTime()
|
if (sessionStorage.getItem('fileInfo')) {
|
||||||
// window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
fileList = JSON.parse(sessionStorage.getItem('fileInfo'))
|
||||||
this.iframeUrl = kkFileViewUrl+'/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl));
|
if (fileList != null && fileList.length > 0) {
|
||||||
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
|
if (fileList[i].fileId === res.data.attId) {
|
||||||
|
repeatData = 1
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (repeatData === 0) {
|
||||||
|
fileList.push(fileObj)
|
||||||
|
fileList = JSON.stringify(fileList)
|
||||||
|
sessionStorage.setItem('fileInfo', fileList)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
fileList.push(fileObj)
|
||||||
|
fileList = JSON.stringify(fileList)
|
||||||
|
sessionStorage.setItem('fileInfo', fileList)
|
||||||
}
|
}
|
||||||
this.iframeLoading = false
|
this.iframeUrl = './static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + res.data.attId)
|
||||||
this.$forceUpdate()
|
} else {
|
||||||
resolve(history)
|
this.$message.error('文档未转换成功或该文档无法读取')
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
this.iframeLoading = false
|
||||||
|
this.$forceUpdate()
|
||||||
|
resolve(history)
|
||||||
|
}, e => {
|
||||||
|
this.iframeLoading = false
|
||||||
|
this.$forceUpdate()
|
||||||
|
resolve(history)
|
||||||
|
this.$message.error('文档未转换成功或该文档无法读取')
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
console.log(this.iframeUrl);
|
console.log(this.iframeUrl);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -86,12 +86,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -536,18 +530,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//流程转办
|
//流程转办
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
|
|||||||
@@ -86,12 +86,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -522,18 +516,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//流程转办
|
//流程转办
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
|
|||||||
@@ -117,12 +117,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -473,18 +467,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -104,12 +104,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -414,19 +408,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -117,12 +117,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -484,18 +478,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -1335,19 +1335,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -449,19 +449,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -695,19 +695,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -665,19 +665,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -760,19 +760,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -661,18 +661,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -756,19 +756,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -447,18 +447,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -810,19 +810,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -448,18 +448,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -478,18 +478,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -476,18 +476,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -476,18 +476,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -1071,9 +1071,9 @@
|
|||||||
QCRBUSS: [
|
QCRBUSS: [
|
||||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||||
],
|
],
|
||||||
DTQBBHBUSS: [
|
// DTQBBHBUSS: [
|
||||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
// { required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||||
],
|
// ],
|
||||||
},
|
},
|
||||||
zrUserIds: [], // 选择多个会签责任人
|
zrUserIds: [], // 选择多个会签责任人
|
||||||
userType:'', // 选择用户ID判断
|
userType:'', // 选择用户ID判断
|
||||||
|
|||||||
@@ -1334,9 +1334,9 @@
|
|||||||
QCRBUSS: [
|
QCRBUSS: [
|
||||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||||
],
|
],
|
||||||
DTQBBHBUSS: [
|
// DTQBBHBUSS: [
|
||||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
// { required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||||
],
|
// ],
|
||||||
},
|
},
|
||||||
zrUserIds: [], // 选择多个会签责任人
|
zrUserIds: [], // 选择多个会签责任人
|
||||||
userType:'', // 选择用户ID判断
|
userType:'', // 选择用户ID判断
|
||||||
|
|||||||
@@ -82,7 +82,8 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
:prop="'evaluationData.'+scope.$index + '.score'"
|
:prop="'evaluationData.'+scope.$index + '.score'"
|
||||||
:rules="scope.row.valueType !== 'add' ? rules.score : rules.scoreNot" >
|
:rules="scope.row.valueType !== 'add' ? rules.score : rules.scoreNot" >
|
||||||
<el-input :disabled="form.fsRejectStatus === 1" v-model.number="scope.row.score" placeholder="请填写分值" />
|
<el-input v-model.number="scope.row.score" placeholder="请填写分值" />
|
||||||
|
<!-- :disabled="form.fsRejectStatus === 1"-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -105,7 +106,8 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
:prop="'evaluationData.'+scope.$index + '.reason'"
|
:prop="'evaluationData.'+scope.$index + '.reason'"
|
||||||
:rules="scope.row.score < 6 ? rules.reason : rules.reasonNot" >
|
:rules="scope.row.score < 6 ? rules.reason : rules.reasonNot" >
|
||||||
<el-input :disabled="form.fsRejectStatus === 1" v-model="scope.row.reason" placeholder="请填写扣分理由" />
|
<el-input v-model="scope.row.reason" placeholder="请填写扣分理由" />
|
||||||
|
<!-- :disabled="form.fsRejectStatus === 1"-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -91,7 +91,8 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
:prop="'evaluationData.'+scope.$index + '.score'"
|
:prop="'evaluationData.'+scope.$index + '.score'"
|
||||||
:rules="scope.row.valueType !== 'add' ? rules.score : rules.scoreNot" >
|
:rules="scope.row.valueType !== 'add' ? rules.score : rules.scoreNot" >
|
||||||
<el-input :disabled="form.fsRejectStatus === 1" v-model.number="scope.row.score" placeholder="请填写分值" />
|
<el-input v-model.number="scope.row.score" placeholder="请填写分值" />
|
||||||
|
<!-- :disabled="form.fsRejectStatus === 1"-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -114,7 +115,8 @@
|
|||||||
<el-form-item
|
<el-form-item
|
||||||
:prop="'evaluationData.'+scope.$index + '.reason'"
|
:prop="'evaluationData.'+scope.$index + '.reason'"
|
||||||
:rules="scope.row.score < 6 ? rules.reason : rules.reasonNot" >
|
:rules="scope.row.score < 6 ? rules.reason : rules.reasonNot" >
|
||||||
<el-input :disabled="form.fsRejectStatus === 1" v-model="scope.row.reason" placeholder="请填写扣分理由" />
|
<el-input v-model="scope.row.reason" placeholder="请填写扣分理由" />
|
||||||
|
<!-- :disabled="form.fsRejectStatus === 1"-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -33,12 +33,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click.stop="downloadFileByWater(item.id, item.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -959,17 +953,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
choiceLeader(){
|
choiceLeader(){
|
||||||
this.workModel = true
|
this.workModel = true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -33,12 +33,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click.stop="downloadFileByWater(item.id, item.fileSuffix)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -996,17 +990,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
|
|
||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== '') {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
|
||||||
} else {
|
|
||||||
this.$message.error('请选择要下载的文件')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
choiceLeader(){
|
choiceLeader(){
|
||||||
this.workModel = true
|
this.workModel = true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -165,14 +165,14 @@
|
|||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-if="scope.row.complianceReasons && scope.row.complianceReasons.length>0
|
v-if="scope.row.complianceReasons && scope.row.complianceReasons.length>0
|
||||||
|| scope.row.remarks && scope.row.remarks.length>0"
|
|| scope.row.remarks && scope.row.remarks.length>0"
|
||||||
disabled
|
disabled
|
||||||
v-model="scope.row.noCompliance"
|
v-model="scope.row.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
@@ -180,7 +180,7 @@
|
|||||||
clearable
|
clearable
|
||||||
:disabled="acceptShow"
|
:disabled="acceptShow"
|
||||||
v-model="scope.row.noCompliance"
|
v-model="scope.row.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</template>
|
</template>
|
||||||
@@ -406,20 +406,20 @@
|
|||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-formItem>
|
</el-formItem>
|
||||||
<el-form-item label="不合规项目" class="add-form-item">
|
<el-form-item label="不合规项" class="add-form-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0
|
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0
|
||||||
|| batchEditForm.remarks && batchEditForm.remarks.length>0"
|
|| batchEditForm.remarks && batchEditForm.remarks.length>0"
|
||||||
disabled
|
disabled
|
||||||
v-model="batchEditForm.noCompliance"
|
v-model="batchEditForm.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
:disabled="acceptShow"
|
:disabled="acceptShow"
|
||||||
v-model="batchEditForm.noCompliance"
|
v-model="batchEditForm.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
@@ -451,6 +451,36 @@ export default {
|
|||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm["id"] = item.id;
|
||||||
this.dataList = item.dataList;
|
this.dataList = item.dataList;
|
||||||
|
let titleList = [];
|
||||||
|
let ordelTitleList = [];
|
||||||
|
|
||||||
|
this.dataList.forEach(data=>{
|
||||||
|
data.title = data.standSort + data.standNumber + data.standYear
|
||||||
|
let isReal = ""
|
||||||
|
// if (titleList !== []){
|
||||||
|
titleList.forEach(tl => {
|
||||||
|
if (tl === data.title){
|
||||||
|
isReal = data.title
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// }
|
||||||
|
if (isReal === ""){
|
||||||
|
titleList.push(data.title);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
console.log(titleList,"titleList!!!!")
|
||||||
|
console.log(this.dataList,"dataList 进入方法前 !!!!")
|
||||||
|
titleList.forEach(tl => {
|
||||||
|
this.dataList.forEach(data=>{
|
||||||
|
if (data.title === tl){
|
||||||
|
console.log(data.title,"方法中的title !!!!")
|
||||||
|
ordelTitleList.push(data)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
this.dataList = ordelTitleList
|
||||||
|
|
||||||
|
|
||||||
this.dataList.forEach(item =>{
|
this.dataList.forEach(item =>{
|
||||||
if(item.children){
|
if(item.children){
|
||||||
item.children.forEach(items =>{
|
item.children.forEach(items =>{
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -154,20 +154,20 @@
|
|||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-if="scope.row.complianceReasons && scope.row.complianceReasons.length>0"
|
v-if="scope.row.complianceReasons && scope.row.complianceReasons.length>0"
|
||||||
disabled
|
disabled
|
||||||
v-model="scope.row.noCompliance"
|
v-model="scope.row.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
:disabled="acceptShow"
|
:disabled="acceptShow"
|
||||||
v-model="scope.row.noCompliance"
|
v-model="scope.row.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</template>
|
</template>
|
||||||
@@ -363,19 +363,19 @@
|
|||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-formItem>
|
</el-formItem>
|
||||||
<el-form-item label="不合规项目" class="add-form-item">
|
<el-form-item label="不合规项" class="add-form-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0"
|
v-if="batchEditForm.complianceReasons && batchEditForm.complianceReasons.length>0"
|
||||||
disabled
|
disabled
|
||||||
v-model="batchEditForm.noCompliance"
|
v-model="batchEditForm.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
:disabled="acceptShow"
|
:disabled="acceptShow"
|
||||||
v-model="batchEditForm.noCompliance"
|
v-model="batchEditForm.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="170"
|
width="170"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
|
|||||||
@@ -821,14 +821,25 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
if(item.standType ==='BUSINESS_STAND'){
|
||||||
name: "OtherStandardDetails",
|
let routeUrl = this.$router.resolve({
|
||||||
params: {
|
name: 'OtherBussStandardDetails',
|
||||||
id: item.id || item.standId,
|
params: {
|
||||||
pageType: item.standType + '_STAND'
|
id: item.id || item.standId,
|
||||||
}
|
pageType: 'BUSINESS_STAND'
|
||||||
});
|
}
|
||||||
window.open(routeUrl.href, "_blank");
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
}else{
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id || item.standId,
|
||||||
|
pageType: item.standType + '_STAND'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//获取数据
|
//获取数据
|
||||||
getData() {
|
getData() {
|
||||||
|
|||||||
@@ -423,6 +423,21 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="适用认证" class="search-item">
|
||||||
|
<el-select :disabled="disabledXX"
|
||||||
|
v-model="handleSelectForm.syzd"
|
||||||
|
@change="isRelateAccessChange"
|
||||||
|
:popper-append-to-body="false"
|
||||||
|
placeholder="请选择标准状态">
|
||||||
|
<el-option
|
||||||
|
v-for="(item, index) in syzdSelect"
|
||||||
|
:key="index"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button :disabled="disabledXX"
|
<el-button :disabled="disabledXX"
|
||||||
size="small"
|
size="small"
|
||||||
@@ -775,6 +790,8 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
syzd: '', // 标准名称/政策名称
|
||||||
|
syzdSelect: [], // 标准名称/政策名称
|
||||||
replaceLoading: false,
|
replaceLoading: false,
|
||||||
disabledXX:!!this.$route.query.disabledXX,
|
disabledXX:!!this.$route.query.disabledXX,
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
@@ -931,14 +948,26 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
if(item.standType ==='BUSINESS_STAND'){
|
||||||
name: "OtherStandardDetails",
|
let routeUrl = this.$router.resolve({
|
||||||
params: {
|
name: 'OtherBussStandardDetails',
|
||||||
id: item.id || item.standId,
|
params: {
|
||||||
pageType: item.standType + '_STAND'
|
id: item.id || item.standId,
|
||||||
}
|
pageType: 'BUSINESS_STAND'
|
||||||
});
|
}
|
||||||
window.open(routeUrl.href, "_blank");
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
}else{
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id || item.standId,
|
||||||
|
pageType: item.standType + '_STAND'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
dataSourceChange() {
|
dataSourceChange() {
|
||||||
this.handleSelectForm.page = 1
|
this.handleSelectForm.page = 1
|
||||||
@@ -1443,6 +1472,7 @@ export default {
|
|||||||
loading: "loading"
|
loading: "loading"
|
||||||
}, res => {
|
}, res => {
|
||||||
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
|
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
|
||||||
|
this.syzdSelect = res.data.SYRZCLASS; //认证类型
|
||||||
this.setMap(res.data.WBZTCLASS);// 文本状态
|
this.setMap(res.data.WBZTCLASS);// 文本状态
|
||||||
this.setMap(res.data.TEXTSTATUSBUSS);//企标文本状态
|
this.setMap(res.data.TEXTSTATUSBUSS);//企标文本状态
|
||||||
this.textState = res.data.WBZTCLASS // 文本状态
|
this.textState = res.data.WBZTCLASS // 文本状态
|
||||||
|
|||||||
@@ -845,14 +845,25 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
if(item.standType ==='BUSINESS_STAND'){
|
||||||
name: "OtherStandardDetails",
|
let routeUrl = this.$router.resolve({
|
||||||
params: {
|
name: 'OtherBussStandardDetails',
|
||||||
id: item.id || item.standId,
|
params: {
|
||||||
pageType: item.standType + '_STAND'
|
id: item.id || item.standId,
|
||||||
}
|
pageType: 'BUSINESS_STAND'
|
||||||
});
|
}
|
||||||
window.open(routeUrl.href, "_blank");
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
}else{
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id || item.standId,
|
||||||
|
pageType: item.standType + '_STAND'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//获取数据
|
//获取数据
|
||||||
getData() {
|
getData() {
|
||||||
|
|||||||
@@ -845,14 +845,25 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
if(item.standType ==='BUSINESS_STAND'){
|
||||||
name: "OtherStandardDetails",
|
let routeUrl = this.$router.resolve({
|
||||||
params: {
|
name: 'OtherBussStandardDetails',
|
||||||
id: item.id || item.standId,
|
params: {
|
||||||
pageType: item.standType + '_STAND'
|
id: item.id || item.standId,
|
||||||
}
|
pageType: 'BUSINESS_STAND'
|
||||||
});
|
}
|
||||||
window.open(routeUrl.href, "_blank");
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
}else{
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id || item.standId,
|
||||||
|
pageType: item.standType + '_STAND'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//获取数据
|
//获取数据
|
||||||
getData() {
|
getData() {
|
||||||
|
|||||||
@@ -836,14 +836,25 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
if(item.standType ==='BUSINESS_STAND'){
|
||||||
name: "OtherStandardDetails",
|
let routeUrl = this.$router.resolve({
|
||||||
params: {
|
name: 'OtherBussStandardDetails',
|
||||||
id: item.id || item.standId,
|
params: {
|
||||||
pageType: item.standType + '_STAND'
|
id: item.id || item.standId,
|
||||||
}
|
pageType: 'BUSINESS_STAND'
|
||||||
});
|
}
|
||||||
window.open(routeUrl.href, "_blank");
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
}else{
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id || item.standId,
|
||||||
|
pageType: item.standType + '_STAND'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//获取数据
|
//获取数据
|
||||||
getData() {
|
getData() {
|
||||||
|
|||||||
@@ -34,12 +34,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -385,18 +379,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 驳回事件
|
// 驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
|
|||||||
@@ -86,12 +86,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -472,18 +466,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.phoneshowflag = true;
|
this.phoneshowflag = true;
|
||||||
|
|||||||
@@ -86,12 +86,6 @@
|
|||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
|
||||||
title="下载带水印"
|
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
|
||||||
class="icon-download2"
|
|
||||||
v-btn-permission="''"
|
|
||||||
/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -458,18 +452,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.phoneshowflag = true
|
this.phoneshowflag = true
|
||||||
|
|||||||
@@ -779,19 +779,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -339,18 +339,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -333,18 +333,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -339,18 +339,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -1080,18 +1080,6 @@ export default {
|
|||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error("请选择要下载的文件");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadFileByWater(attId, fileSuffix) {
|
|
||||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
|
||||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
|
||||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
|
||||||
} else {
|
|
||||||
if (attId != null && attId !== "") {
|
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=" + attId;
|
|
||||||
} else {
|
|
||||||
this.$message.error("请选择要下载的文件");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//
|
//
|
||||||
changeState(row) {
|
changeState(row) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="reason"
|
prop="reason"
|
||||||
width="180"
|
width="180"
|
||||||
label="不合规项目">
|
label="不合规项">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="responsibleUnit"
|
prop="responsibleUnit"
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
<el-form-item class="add-form-item" label="项目名称:">
|
<el-form-item class="add-form-item" label="项目名称:">
|
||||||
<div class="seeItem">{{ historySeeForm.productName }}</div>
|
<div class="seeItem">{{ historySeeForm.productName }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="不合规项目:">
|
<el-form-item class="add-form-item" label="不合规项:">
|
||||||
<div class="seeItem">{{ historySeeForm.reason }}</div>
|
<div class="seeItem">{{ historySeeForm.reason }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="责任部门:">
|
<el-form-item class="add-form-item" label="责任部门:">
|
||||||
@@ -482,11 +482,11 @@
|
|||||||
<!-- @click.native="choiceZRBM"-->
|
<!-- @click.native="choiceZRBM"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<el-form-item prop="reason" label="不合规项目" style="width: 100%; margin-right:10px"
|
<el-form-item prop="reason" label="不合规项" style="width: 100%; margin-right:10px"
|
||||||
class="add-form-item">
|
class="add-form-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="addForm.reason"
|
v-model="addForm.reason"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项"
|
||||||
:maxlength="500" />
|
:maxlength="500" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="dutyEngineerName" label="责任工程师" style="width: 100%; margin-right:10px"
|
<el-form-item prop="dutyEngineerName" label="责任工程师" style="width: 100%; margin-right:10px"
|
||||||
@@ -768,7 +768,7 @@ export default {
|
|||||||
{ required: true, message: "请输入项目编号", trigger: "change" }
|
{ required: true, message: "请输入项目编号", trigger: "change" }
|
||||||
],
|
],
|
||||||
reason: [
|
reason: [
|
||||||
{ required: true, message: "请输入不合规项目", trigger: "change" }
|
{ required: true, message: "请输入不合规项", trigger: "change" }
|
||||||
],
|
],
|
||||||
// responsibleUnit: [
|
// responsibleUnit: [
|
||||||
// { required: true, message: "请输入责任部门", trigger: "change" }
|
// { required: true, message: "请输入责任部门", trigger: "change" }
|
||||||
|
|||||||
@@ -2039,6 +2039,9 @@
|
|||||||
} else if (type === 6) {
|
} else if (type === 6) {
|
||||||
this.goProcess(item)
|
this.goProcess(item)
|
||||||
}
|
}
|
||||||
|
if (item.nameshow === '' || item.nameshow === null){
|
||||||
|
item.nameshow = item.standEnName
|
||||||
|
}
|
||||||
|
|
||||||
// 先不加判断
|
// 先不加判断
|
||||||
// if (type === 1) {
|
// if (type === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user