feat : 项目管理表单缓存,文件回显,个人中心icon排版

This commit is contained in:
2024-07-16 20:36:06 +08:00
parent d4ba4bc7c2
commit b77253b0cb
13 changed files with 389 additions and 128 deletions

View File

@@ -87,7 +87,7 @@ const init = async () => {
nextTick(() => {
processViewer.value = true
showTable.value = true
if (data.formPermMap["fileList"]) {
if (data.formPermMap&&data.formPermMap["fileList"]) {
fileListShow.value = data.formPermMap["fileList"].perm
}
})

View File

@@ -244,8 +244,8 @@
</el-col>
</el-row>
</el-form>
<AttachmentUpload ref="attachment" label="需求申请书附件" :showTable="showTable" :otherFileList="otherFileList"
@getAttachment="getAttachment" :singleList="singleList" :showSingleTable="showSingleTable"
<AttachmentUpload ref="attachment" label="需求申请书附件" :showTable="showTable" v-model:otherFileList="otherFileList"
@getAttachment="getAttachment" v-model:singleList="singleList" :showSingleTable="showSingleTable"
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData" tag="需求上报"
:preview="name === 'Summary/edit'"/>
<div class="approval-record" style="margin-left: 70px">

View File

@@ -48,6 +48,8 @@ const getInfo = async (state) => {
loading.value = true
const {code, data, msg} = await getMapProjectStateInfo(projectId, state)
if (code === 1000) {
data.formData.preProcess = data.formData.preProcess ? JSON.parse(data.formData.preProcess) : undefined
summaryData.value = data;
loading.value = false
if(data.runningList===null) {

View File

@@ -312,7 +312,8 @@ const handleExport = () => {
router.push({
name: 'Plan/detail',
query: {
annualPlanId: res.data
annualPlanId: res.data,
type:'summary'
}
})
}