Merge branch 'develop' of http://gitlab.91isoft.com:90/LAWS/laws-system-front-FOTON into develop
This commit is contained in:
@@ -156,6 +156,7 @@
|
||||
</ProcessFooter>
|
||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传文件">
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
multiple
|
||||
drag
|
||||
:action="fileUrl"
|
||||
@@ -164,7 +165,7 @@
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
:show-file-list="true"
|
||||
>
|
||||
<div style="padding: 20px 0">
|
||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||
@@ -309,6 +310,8 @@
|
||||
this.json = data
|
||||
this.form.model = data.model
|
||||
this.form.modelName = data.modelName
|
||||
this.form.fileName = data.fileName || ''
|
||||
this.form.fileId = data.fileId || ''
|
||||
}).catch(e => {
|
||||
})
|
||||
})
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
label="文件"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div @click="updateFile(scope.row.id)" class="fileClass">
|
||||
<div @click="updateFile(scope.row.fileId)" class="fileClass">
|
||||
{{scope.row.fileName}}
|
||||
</div>
|
||||
</template>
|
||||
@@ -183,6 +183,7 @@
|
||||
</ProcessFooter>
|
||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传文件">
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
multiple
|
||||
drag
|
||||
:action="fileUrl"
|
||||
@@ -191,7 +192,7 @@
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
:show-file-list="true"
|
||||
>
|
||||
<div style="padding: 20px 0">
|
||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
label="文件"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div @click="updateFile(scope.row.id)" class="fileClass">
|
||||
<div @click="updateFile(scope.row.fileId)" class="fileClass">
|
||||
{{scope.row.fileName}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- 标准调研流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准调研流程</template>
|
||||
<template slot="proNode">标准法规部部长审核</template>
|
||||
<template slot="proNode">责任部门对接人及标准法规部部长审核</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -87,7 +87,7 @@
|
||||
label="文件"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div @click="updateFile(scope.row.id)" class="fileClass">
|
||||
<div @click="updateFile(scope.row.fileId)" class="fileClass">
|
||||
{{scope.row.fileName}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
label="文件"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div @click="updateFile(scope.row.id)" class="fileClass">
|
||||
<div @click="updateFile(scope.row.fileId)" class="fileClass">
|
||||
{{scope.row.fileName}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- 标准调研流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">标准调研流程</template>
|
||||
<template slot="proNode">责任对接人审批</template>
|
||||
<template slot="proNode">工程研究总院院长审批</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -87,7 +87,7 @@
|
||||
label="文件"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div @click="updateFile(scope.row.id)" class="fileClass">
|
||||
<div @click="updateFile(scope.row.fileId)" class="fileClass">
|
||||
{{scope.row.fileName}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -406,7 +406,6 @@ export default {
|
||||
},
|
||||
// 保存按钮
|
||||
handleSave() {
|
||||
this.isSubmit = true
|
||||
let zqa = new Map();
|
||||
for (let lastDataListElement of this.dataList) {
|
||||
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
||||
|
||||
@@ -232,6 +232,7 @@ import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {uploadFile} from '@/api/unqualProcess.js';
|
||||
import {inboundLiaisonDetail, completeTask, saveTaskForPub} from "@/api/process"
|
||||
import listOfCountries from "@/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries";
|
||||
|
||||
export default {
|
||||
name: "wfhxzgStep4",
|
||||
@@ -307,11 +308,11 @@ export default {
|
||||
},
|
||||
getFormFieldList (item) {
|
||||
this.$nextTick(() => {
|
||||
let listJSON = JSON.parse(JSON.stringify(item.responUserInfo.info))
|
||||
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
|
||||
if (listJSON.length !== undefined) {
|
||||
this.dataList = listJSON
|
||||
this.dataList = listJSON[0].standardInfoList
|
||||
} else {
|
||||
this.dataList = [listJSON]
|
||||
this.dataList = [listJSON][0].standardInfoList
|
||||
}
|
||||
this.dataList.forEach(item => {
|
||||
if (item.fileText.length !== 0) {
|
||||
@@ -427,8 +428,8 @@ export default {
|
||||
_formData.append('taskIds', this.taskIds)
|
||||
_formData.append('json', JSON.stringify({
|
||||
// roleForm: this.roleForm,
|
||||
responUserInfo: {
|
||||
info: this.dataList.splice(-1, 1)
|
||||
responUserList: {
|
||||
standardInfoList: this.dataList
|
||||
},
|
||||
commentText: this.commentText
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user