汇总(企标复审流程)修改

This commit is contained in:
zyn
2022-12-15 16:54:11 +08:00
parent f42ad039cd
commit f9fcc6cfba
@@ -428,6 +428,7 @@ export default {
}).then(res => { }).then(res => {
if (res) { if (res) {
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
console.log(processForm)
if (processForm.qbfsForm === undefined) { if (processForm.qbfsForm === undefined) {
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
} else { } else {
@@ -443,27 +444,27 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
async getFormFieldList (item) { async getFormFieldList (item) {
this.commentText = item.commentText
let standObj = await this.getStandInfoUpdateById(item.standId) let standObj = await this.getStandInfoUpdateById(item.standId)
let fileObjFx = await this.getSaveFile("model_fs") let fileObjFx = await this.getSaveFile("model_fs")
let fileObjLx = await this.getSaveFile("model_lx") let fileObjLx = await this.getSaveFile("model_lx")
this.$nextTick(() => { this.$nextTick(() => {
const bringData = standObj.data const bringData = standObj.data
const obj = { // const obj = {
reviewResults: "", // reviewResults: "",
reviewResultsContent:"", // reviewResultsContent:"",
reviewUserId:this.$store.getters.userInfo.userId, // reviewUserId:this.$store.getters.userInfo.userId,
reviewUserName:this.$store.getters.userInfo.userName, // reviewUserName:this.$store.getters.userInfo.userName,
draftTime:"", // draftTime:"",
releaseTime:"", // releaseTime:"",
expirationDate:"", // expirationDate:"",
LXDName:"", // LXDName:"",
LXD:"", // LXD:"",
FSDName:"", // FSDName:"",
FSD:"", // FSD:"",
} // }
const json = Object.assign(bringData, bringData.attrInfoMap,item,obj); const json = Object.assign(bringData, bringData.attrInfoMap,item);
this.qbfsForm = JSON.parse(JSON.stringify(json)) this.qbfsForm = JSON.parse(JSON.stringify(json))
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName