diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index e8809c5..5c984d2 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -22,7 +22,7 @@ - + diff --git a/src/components/DetailComponent/ApprovalDetail.vue b/src/components/DetailComponent/ApprovalDetail.vue index 2e481b9..97138fb 100644 --- a/src/components/DetailComponent/ApprovalDetail.vue +++ b/src/components/DetailComponent/ApprovalDetail.vue @@ -98,7 +98,8 @@ const executeTableConfig = reactive({ prop: 'originalFileName', label: '文件名', align: 'center', - currentRender: ({row, index}) => (
clickToPreview(row)}>{row.originalFileName}
) + currentRender: ({row, index}) => ( +
clickToPreview(row)}>{row.originalFileName}
) }, { prop: 'tag', @@ -246,9 +247,10 @@ let preProcess = { component: () => (
{ - props.formData.preProcess ? props.formData.preProcess.map((item,index) => { + props.formData.preProcess ? props.formData.preProcess.map((item, index) => { return {item.requestName} {index != (props.formData.preProcess.length -1)? :''} + href={props.formData.preProcessBaseUrl + item.requestId}>{item.requestName} {index != (props.formData.preProcess.length - 1) ? + : ''} }) : {'--'} }
@@ -292,6 +294,23 @@ const schema = computed(() => { ) }, + { + label: '部门分管领导', + prop: 'optionalChargeLeadership', + colProps: { + span: 24 + }, + labelWidth: 'left', + component: () => ( +
+ { + props.formData.optionalChargeLeadership ? props.formData.optionalChargeLeadership.map(item => { + return {item.name} + }) : {'--'} + } +
+ ) + }, ] if (props.preProcessShow == 'EDIT') { preProcess = { @@ -347,22 +366,40 @@ const schema = computed(() => { } } arr.push(preProcess) - arr.push({ - label: '项目验收附件', - prop: 'singleFile', - colProps: { - span: 24 - }, - labelWidth: 'left', - component: () => { - let singleFileArray = [props.formData.singleFile] - return props.formData.singleFile ? - - : -- - } - }) + arr.push( + { + label: '部门分管领导', + prop: 'optionalChargeLeadership', + colProps: { + span: 24 + }, + labelWidth: 'left', + component: () => ( +
+ { + props.formData.optionalChargeLeadership ? props.formData.optionalChargeLeadership.map(item => { + return {item.name} + }) : {'--'} + } +
+ ) + }, + { + label: '项目验收附件', + prop: 'singleFile', + colProps: { + span: 24 + }, + labelWidth: 'left', + component: () => { + let singleFileArray = [props.formData.singleFile] + return props.formData.singleFile ? + + : -- + } + }) } else if (props.type == 'archivist') { arr = [ { @@ -511,12 +548,6 @@ watchEffect(() => { Object.keys(props.formData).length && (form.value?.setValues(props.formData)) }) -onMounted(() => { - // if (props.formData.mode == 'view' && props.type == 'execute') { - // handleSearchImplementationFileList() - // getTagsOption() - // } -}) if (props.formData.mode == 'view' && props.type == 'execute') { handleSearchImplementationFileList() diff --git a/src/components/DetailComponent/CollectionDetail.vue b/src/components/DetailComponent/CollectionDetail.vue index 310f845..40b2074 100644 --- a/src/components/DetailComponent/CollectionDetail.vue +++ b/src/components/DetailComponent/CollectionDetail.vue @@ -33,17 +33,24 @@
- - - - -
-
-
+ + +
+
+
--
- + + + + + + + + + + diff --git a/src/components/DetailComponent/ProjectApply.vue b/src/components/DetailComponent/ProjectApply.vue index 366b649..c1fcca4 100644 --- a/src/components/DetailComponent/ProjectApply.vue +++ b/src/components/DetailComponent/ProjectApply.vue @@ -4,7 +4,7 @@ - + + label-width="106"> - {{ projectChargePersonUserList.length !== 0 ? '更改' : '请选择' }} + {{ projectChargePersonUserList?.length !== 0 ? '更改' : '请选择' }}
{{ item.name }} @@ -46,9 +46,9 @@ + label-width="106"> - {{ projectPersonUserList.length !== 0 ? '更改' : getProjectPerson(projectPersonUserList) ? '更改' : '请选择' }} + {{ projectPersonUserList?.length !== 0 ? '更改' : getProjectPerson(projectPersonUserList) ? '更改' : '请选择' }}
{{ item.name }} @@ -58,15 +58,15 @@ - + - {{ optionalChargeLeadershipList.length !== 0 ? '更改' : getOptionalChargeLeadershipList(optionalChargeLeadershipList) ? '更改' : '请选择' }} + {{ optionalChargeLeadershipList?.length !== 0 ? '更改' : getOptionalChargeLeadershipList(optionalChargeLeadershipList) ? '更改' : '请选择' }}
{{ item.name }}
-
@@ -74,12 +74,12 @@ {{ - localFormData.preProcess && localFormData.preProcess.length > 0 ? '更改' : sessionParams.preProcess && sessionParams.preProcess.length > 0 ? '更改' : '请选择' + localFormData.preProcess && localFormData.preProcess?.length > 0 ? '更改' : sessionParams.preProcess && sessionParams.preProcess?.length > 0 ? '更改' : '请选择' }} @@ -94,9 +94,10 @@ :preview="mode == 'resubmit'"/>
-
- -
+
+ + +
流程图
+
-
@@ -730,11 +732,15 @@ const init = async () => { watchEffect(() => { if (props.formData.projectChargePerson == null) { - // projectChargePersonUserList.value = [] + projectChargePersonUserList.value = [] } else { projectChargePersonUserList.value = [props.formData.projectChargePerson] } - // console.log('props.formData.projectPersonList',props.formData.projectPersonList) + if (props.formData.optionalChargeLeadership == null) { + optionalChargeLeadershipList.value = [] + } else { + optionalChargeLeadershipList.value=props.formData.optionalChargeLeadership + } projectPersonUserList.value = props.formData.projectPersonList ? props.formData.projectPersonList : [] let flag = Object.keys(props.formData).length && (localFormData.value = props.formData) if (props.formData.projectChargePerson != null) { diff --git a/src/components/DetailComponent/SummaryDetail.vue b/src/components/DetailComponent/SummaryDetail.vue index ffe1156..0245859 100644 --- a/src/components/DetailComponent/SummaryDetail.vue +++ b/src/components/DetailComponent/SummaryDetail.vue @@ -2,7 +2,7 @@
- + {{ localFormData.projectName }} @@ -33,11 +33,7 @@ {{ filterDict(cacheStore.getDict('invest_type'), localFormData.investmentType) }} - - - - - + {{ filterDict(cacheStore.getDict('business_segment'), localFormData.businessSegment) }} @@ -48,6 +44,16 @@ {{ filterDict(cacheStore.getDict('technical_standard'), localFormData.technicalStandard) }} + + + {{ filterDict(cacheStore.getDict('project_impact'), localFormData.projectImpact) }} + + + + + {{ toThousands(localFormData.economicEstimate) }} + + {{ @@ -69,20 +75,32 @@ }} - - - {{ - filterDict(cacheStore.getDict('intellectual_property'), localFormData.intellectualProperty) - }} + + + {{ toThousands(localFormData.specialFundAmount) }} + + + {{ localFormData.optionalChargeLeadership?.map(item=>item.name).join() }} + + + + + + + {{ filterDict(cacheStore.getDict('result_form'), localFormData.resultForm) }} - - + + + {{ + filterDict(cacheStore.getDict('intellectual_property'), localFormData.intellectualProperty) + }} + @@ -109,28 +127,22 @@ {{ localFormData.other }} - - - {{ toThousands(localFormData.economicEstimate) }} - + + + + - - - {{ toThousands(localFormData.specialFundAmount) }} - - - + {{ localFormData.serviceDescription }} - + {{ localFormData.contentDescription }} - + @@ -142,7 +154,7 @@ - + @@ -189,7 +201,7 @@
-
+
流程图
diff --git a/src/components/NameCircle.vue b/src/components/NameCircle.vue index e240ae0..41cc47c 100644 --- a/src/components/NameCircle.vue +++ b/src/components/NameCircle.vue @@ -79,6 +79,10 @@ const initUser = (user) => { user["icon"] = 'MoreFilled' user["color"] = "#c0c4cc" } + if (state === 'ROLLBACK') { + user["icon"] = 'RefreshLeft' + user["color"] = "#f78f5f" + } return user; } @@ -111,19 +115,5 @@ init() } -} -@media print { - /* 打印时应用的样式 */ - .el-checkbox.is-checked .el-checkbox__inner .svg-icon { - background-color: #f5f7fa !important; - border-color: #409eff !important; - } - .el-checkbox__inner::after { - /* 设置选中的checkbox符号颜色 */ - color: #409eff !important; - } - //.el-icon { - // color: rgba(0, 0, 0, 1) !important; - //} } diff --git a/src/components/Tooltip.vue b/src/components/Tooltip.vue index e0f6acc..9882337 100644 --- a/src/components/Tooltip.vue +++ b/src/components/Tooltip.vue @@ -5,7 +5,7 @@ placement="bottom-start" :disabled="isShow" > -
+
{{ props.content }} @@ -25,15 +25,26 @@ const props = defineProps({ lines: { type: Boolean, default: false - } + }, + textAlign: { + type: String, + default: '' + }, }) const contentRef = ref() const isShow = ref(false) const isShowTooltip = () => { - isShow.value = props.width > contentRef.value.offsetWidth; + isShow.value = parseInt(props.width) > contentRef.value.offsetWidth; } - diff --git a/src/views/project-management/implementation/phase.vue b/src/views/project-management/implementation/phase.vue index 11b0942..a3595ac 100644 --- a/src/views/project-management/implementation/phase.vue +++ b/src/views/project-management/implementation/phase.vue @@ -1,9 +1,10 @@