禅道bug
This commit is contained in:
@@ -69,27 +69,28 @@
|
|||||||
<label style="margin-right: 164px;">{{ child.attrName }}</label>
|
<label style="margin-right: 164px;">{{ child.attrName }}</label>
|
||||||
<template v-if="child.value && child.value.length > 0">
|
<template v-if="child.value && child.value.length > 0">
|
||||||
<!-- 单个文件时-->
|
<!-- 单个文件时-->
|
||||||
<div v-for="(file, fileIndex) in child1Func(child.value)" style="position: relative;display: flex;">
|
<div style="position: relative;">
|
||||||
|
<div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;">
|
||||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer;"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer;"
|
||||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||||
<i
|
<i
|
||||||
title="下载"
|
title="下载"
|
||||||
@click="downloadFile(file.id)"
|
@click="downloadFile(file.id)"
|
||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
||||||
/>
|
/>
|
||||||
<i
|
<i
|
||||||
title="下载带水印"
|
title="下载带水印"
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
class="icon-download2"
|
class="icon-download2"
|
||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
||||||
/>
|
/>
|
||||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||||
</span>
|
</span>
|
||||||
<!-- 多个文件时-->
|
<!-- 多个文件时-->
|
||||||
<div v-else-if="child.value && child.value.length > 0">
|
<div v-else-if="child.value && child.value.length > 0">
|
||||||
<span style="margin-left: 19%;display: flex; align-items: center;">
|
<span style="margin-left: 19%;display: flex; align-items: center;">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
@@ -107,16 +108,15 @@
|
|||||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||||
</div>
|
</div>
|
||||||
<el-button
|
</div>
|
||||||
v-if="child.attrField === itemNam"
|
<el-button
|
||||||
v-for="(itemNam,index) in itemExistList"
|
v-if="child.attrField === 'FBGBJBD'"
|
||||||
:key="index"
|
|
||||||
@click="showItemsModel(child.attrField)"
|
@click="showItemsModel(child.attrField)"
|
||||||
class="decomposition-btn"
|
class="decomposition-btn"
|
||||||
>标准分解单
|
>标准分解单
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<!-- <el-button v-if="child.value && child.value.length > 1"-->
|
<!-- <el-button v-if="child.value && child.value.length > 1"-->
|
||||||
<!-- style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
<!-- style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
||||||
|
|||||||
@@ -104,6 +104,7 @@
|
|||||||
<el-timeline>
|
<el-timeline>
|
||||||
<el-form
|
<el-form
|
||||||
ref="roleForm"
|
ref="roleForm"
|
||||||
|
:rules="roleFormRules"
|
||||||
:model="roleForm"
|
:model="roleForm"
|
||||||
class="label-input-form">
|
class="label-input-form">
|
||||||
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||||
@@ -419,6 +420,11 @@ export default {
|
|||||||
dockUser: '',
|
dockUser: '',
|
||||||
dockUserName: '',
|
dockUserName: '',
|
||||||
},
|
},
|
||||||
|
roleFormRules:{
|
||||||
|
dockUserName: [
|
||||||
|
{required: true, message: '请选择责任工程师', trigger: 'change'},
|
||||||
|
],
|
||||||
|
},
|
||||||
// 上传路径
|
// 上传路径
|
||||||
uploadPath: 'api/att/attFile/upload',
|
uploadPath: 'api/att/attFile/upload',
|
||||||
acceptShow: false,
|
acceptShow: false,
|
||||||
@@ -977,7 +983,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if (finishCount === jsonData.length) {
|
if (finishCount === jsonData.length) {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.$router.push("/processCenter");
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user