[update] 修改企标制修订流程,企标复审流程发起传标准id
This commit is contained in:
@@ -113,6 +113,8 @@ const enStandardRecheckGetDataById = (taskId, params) => getAction(`/process/es/
|
|||||||
const enStandardRecheckGetDataDraft = (params) => getAction('/process/es/recheck/draftHandle', params)
|
const enStandardRecheckGetDataDraft = (params) => getAction('/process/es/recheck/draftHandle', params)
|
||||||
// 根据dataId查询是否显示第一个节点的人员信息
|
// 根据dataId查询是否显示第一个节点的人员信息
|
||||||
const enStandardRecheckIsShowFirstPerson = (params) => getAction('/process/es/recheck/isShowFirstNode', params)
|
const enStandardRecheckIsShowFirstPerson = (params) => getAction('/process/es/recheck/isShowFirstNode', params)
|
||||||
|
// 选择企标复审计划,列表获取
|
||||||
|
const getEsRecheckPlanList = (params) => getAction('/process/es/recheck/page', params)
|
||||||
|
|
||||||
// 企标废止流程
|
// 企标废止流程
|
||||||
// 保存
|
// 保存
|
||||||
@@ -455,6 +457,7 @@ export {
|
|||||||
enStandardRecheckReject,
|
enStandardRecheckReject,
|
||||||
enStandardRecheckGetDataDraft,
|
enStandardRecheckGetDataDraft,
|
||||||
enStandardRecheckIsShowFirstPerson,
|
enStandardRecheckIsShowFirstPerson,
|
||||||
|
getEsRecheckPlanList,
|
||||||
|
|
||||||
enStandardAnnulGetDataById,
|
enStandardAnnulGetDataById,
|
||||||
enStandardAnnulSave,
|
enStandardAnnulSave,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { queryDepartTreeList } from '@/api/api'
|
import { queryDepartTreeList } from '@/api/api'
|
||||||
import { getEnterpriseRecheckPlanPage } from '@/api/enterpriseStandardLibraryApi'
|
import { getEsRecheckPlanList } from '@/api/workCenter'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterpriseRecheckPlanSelectionModal',
|
name: 'EnterpriseRecheckPlanSelectionModal',
|
||||||
@@ -235,7 +235,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getEnterpriseRecheckPlanPage(query).then((res) => {
|
getEsRecheckPlanList(query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataList = res.result.records
|
this.dataList = res.result.records
|
||||||
this.ipagination.total = res.result.total
|
this.ipagination.total = res.result.total
|
||||||
|
|||||||
@@ -212,6 +212,8 @@ export default {
|
|||||||
listChange (value) {
|
listChange (value) {
|
||||||
console.log(value)
|
console.log(value)
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
// 企标id
|
||||||
|
this.formInline.standardId = value[0].standardId
|
||||||
// 企标编号
|
// 企标编号
|
||||||
this.formInline.standardNumber = value[0].standardNo
|
this.formInline.standardNumber = value[0].standardNo
|
||||||
// 企标名称
|
// 企标名称
|
||||||
|
|||||||
@@ -128,6 +128,8 @@ export default {
|
|||||||
// 选完企标编号了,需要回显内容,返回流程名称
|
// 选完企标编号了,需要回显内容,返回流程名称
|
||||||
listChange (value) {
|
listChange (value) {
|
||||||
console.log(value)
|
console.log(value)
|
||||||
|
// 企标id
|
||||||
|
this.formInline.standardId = value[0].standardId
|
||||||
// 企标名称
|
// 企标名称
|
||||||
this.formInline.standardName = value[0].standardName
|
this.formInline.standardName = value[0].standardName
|
||||||
// 主起草人赋值给联络人
|
// 主起草人赋值给联络人
|
||||||
|
|||||||
@@ -369,8 +369,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getForm()
|
|
||||||
this.getStandardGradeClassificationArr()
|
this.getStandardGradeClassificationArr()
|
||||||
|
this.getForm()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initData (data) {
|
initData (data) {
|
||||||
@@ -381,6 +381,20 @@ export default {
|
|||||||
}) : []
|
}) : []
|
||||||
this.isEditSetData = false
|
this.isEditSetData = false
|
||||||
},
|
},
|
||||||
|
getData () {
|
||||||
|
const formInline = Object.assign({}, this.formInline)
|
||||||
|
Object.keys(formInline).forEach(res => {
|
||||||
|
if (formInline[res] instanceof Array) {
|
||||||
|
if (formInline[res][0] instanceof Object) {
|
||||||
|
// 说明是树选择
|
||||||
|
formInline[res] = formInline[res].map(item => item.value).join(',')
|
||||||
|
} else {
|
||||||
|
formInline[res] = formInline[res].join(',')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return formInline
|
||||||
|
},
|
||||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||||
async getDataValidate () {
|
async getDataValidate () {
|
||||||
let data = {}
|
let data = {}
|
||||||
|
|||||||
+2
-6
@@ -284,7 +284,8 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
fileMaxSize: undefined,
|
fileMaxSize: undefined,
|
||||||
image: false,
|
image: false,
|
||||||
imageUrl: ''
|
imageUrl: '',
|
||||||
|
uploadName: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -378,11 +379,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击文件上传
|
// 点击文件上传
|
||||||
clickButtonToUpload (fieldName) {
|
clickButtonToUpload (fieldName) {
|
||||||
if (fieldName === 'uploadAttachment') {
|
|
||||||
this.fileMaxSize = 10
|
|
||||||
} else {
|
|
||||||
this.fileMaxSize = undefined
|
|
||||||
}
|
|
||||||
this.$refs.uploadFile.open(this.formInline[fieldName])
|
this.$refs.uploadFile.open(this.formInline[fieldName])
|
||||||
this.uploadName = fieldName
|
this.uploadName = fieldName
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export default {
|
|||||||
// 把数据抛出,在线编辑不知道要不要抛
|
// 把数据抛出,在线编辑不知道要不要抛
|
||||||
const data = {}
|
const data = {}
|
||||||
data.otherDraftUserVOS = this.dataSource
|
data.otherDraftUserVOS = this.dataSource
|
||||||
data.businessJson = JSON.stringify(this.$refs.baseInfoForm.formInline)
|
data.businessJson = JSON.stringify(this.$refs.baseInfoForm.getData())
|
||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
data.reviewMeetingDetails = arr
|
data.reviewMeetingDetails = arr
|
||||||
data.businessJson = JSON.stringify(this.$refs.baseInfoForm.formInline)
|
data.businessJson = JSON.stringify(this.$refs.baseInfoForm.getData())
|
||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||||
|
|||||||
Reference in New Issue
Block a user