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

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 => {
if (res) {
const processForm = JSON.parse(res.mesg)
console.log(processForm)
if (processForm.qbfsForm === undefined) {
this.getFormFieldList(processForm)
} else {
@@ -443,27 +444,27 @@ export default {
* @description: 动态表单读取
*/
async getFormFieldList (item) {
this.commentText = item.commentText
let standObj = await this.getStandInfoUpdateById(item.standId)
let fileObjFx = await this.getSaveFile("model_fs")
let fileObjLx = await this.getSaveFile("model_lx")
this.$nextTick(() => {
const bringData = standObj.data
const obj = {
reviewResults: "",
reviewResultsContent:"",
reviewUserId:this.$store.getters.userInfo.userId,
reviewUserName:this.$store.getters.userInfo.userName,
draftTime:"",
releaseTime:"",
expirationDate:"",
LXDName:"",
LXD:"",
FSDName:"",
FSD:"",
}
const json = Object.assign(bringData, bringData.attrInfoMap,item,obj);
// const obj = {
// reviewResults: "",
// reviewResultsContent:"",
// reviewUserId:this.$store.getters.userInfo.userId,
// reviewUserName:this.$store.getters.userInfo.userName,
// draftTime:"",
// releaseTime:"",
// expirationDate:"",
// LXDName:"",
// LXD:"",
// FSDName:"",
// FSD:"",
// }
const json = Object.assign(bringData, bringData.attrInfoMap,item);
this.qbfsForm = JSON.parse(JSON.stringify(json))
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName