禅道bug

This commit is contained in:
宋伟佳
2022-03-22 17:36:47 +08:00
parent 32e77d8282
commit 93373bb143
2 changed files with 29 additions and 23 deletions
@@ -69,7 +69,8 @@
<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"
@@ -109,10 +110,9 @@
</span> </span>
<!-- <span class="time-text">上传时间{{ dateFormat(file.modifyTime) }}</span>--> <!-- <span class="time-text">上传时间{{ dateFormat(file.modifyTime) }}</span>-->
</div> </div>
</div>
<el-button <el-button
v-if="child.attrField === itemNam" v-if="child.attrField === 'FBGBJBD'"
v-for="(itemNam,index) in itemExistList"
:key="index"
@click="showItemsModel(child.attrField)" @click="showItemsModel(child.attrField)"
class="decomposition-btn" class="decomposition-btn"
>标准分解单 >标准分解单
@@ -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 {