[update] 市场清单发布流程,首页待办跳转
This commit is contained in:
@@ -112,7 +112,7 @@ import MarketRegulationsListSelection from '@/components/selection/MarketRegulat
|
||||
import UserSelection from '@/components/selection/UserSelection'
|
||||
import JTable from '@/components/jero/JTable'
|
||||
import {
|
||||
getMarketRegulationListById,
|
||||
getMarketRegulationListByIdNoPerm,
|
||||
marketRegulationDetailListById
|
||||
} from '@/api/standardRegulationLibraryApi'
|
||||
import STreeSelect from '@/components/STreeSelect'
|
||||
@@ -316,11 +316,11 @@ export default {
|
||||
this.disabledSelectList = true
|
||||
this.loading = true
|
||||
const param = {}
|
||||
param.manifestId = marketRegulationId
|
||||
param.id = marketRegulationId
|
||||
// 获取基础信息
|
||||
getMarketRegulationListById(param).then(res => {
|
||||
getMarketRegulationListByIdNoPerm(param).then(res => {
|
||||
if (res.success) {
|
||||
const result = Object.assign({}, res.result.manifest)
|
||||
const result = Object.assign({}, res.result)
|
||||
const formInline = {}
|
||||
// 清单编号id
|
||||
formInline.manifestId = result.id
|
||||
@@ -337,7 +337,9 @@ export default {
|
||||
})
|
||||
}
|
||||
this.formInline = Object.assign({}, formInline)
|
||||
marketRegulationDetailListById(param).then(res => {
|
||||
const params = {}
|
||||
params.manifestId = marketRegulationId
|
||||
marketRegulationDetailListById(params).then(res => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
}
|
||||
@@ -345,11 +347,8 @@ export default {
|
||||
this.loading = false
|
||||
let manifestVersion = ''
|
||||
if (this.formInline.manifestVersion) {
|
||||
console.log('this.formInline.manifestVersion', this.formInline.manifestVersion)
|
||||
manifestVersion = this.getStringBetween(this.formInline.manifestVersion, 'V', '.')
|
||||
console.log('-----manifestVersion1', manifestVersion)
|
||||
manifestVersion = 'V' + (Number(manifestVersion) + 1) + '.0'
|
||||
console.log('-----manifestVersion2', manifestVersion)
|
||||
}
|
||||
this.$emit('processNameChange', (this.formInline.manifestName || '') + '-' + (manifestVersion || 'V1.0') + '-' + '发布')
|
||||
})
|
||||
@@ -428,11 +427,11 @@ export default {
|
||||
} else {
|
||||
this.loading = true
|
||||
const param = {}
|
||||
param.manifestId = value[0].id
|
||||
param.id = value[0].id
|
||||
// 获取基础信息
|
||||
getMarketRegulationListById(param).then(res => {
|
||||
getMarketRegulationListByIdNoPerm(param).then(res => {
|
||||
if (res.success) {
|
||||
const result = Object.assign({}, res.result.manifest)
|
||||
const result = Object.assign({}, res.result)
|
||||
const formInline = {}
|
||||
// 清单编号id
|
||||
formInline.manifestId = result.id
|
||||
@@ -449,7 +448,9 @@ export default {
|
||||
})
|
||||
}
|
||||
this.formInline = Object.assign({}, formInline)
|
||||
marketRegulationDetailListById(param).then(res => {
|
||||
const params = {}
|
||||
params.manifestId = value[0].id
|
||||
marketRegulationDetailListById(params).then(res => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user