[update] 市场法规清单联调

This commit is contained in:
lideqin
2024-07-01 18:34:08 +08:00
parent a126b41e82
commit 0d33106b25
3 changed files with 8 additions and 3 deletions
+3 -3
View File
@@ -135,15 +135,15 @@ const addStandardMasterPlan = (params) => postAction('/laws/StandardMasterPlan/a
const editStandardMasterPlan = (params) => postAction('/laws/StandardMasterPlan/edit', params)
// 市场法规清单-根据id查询-用于编辑
const getMarketRegulationListById = (params) => getAction('', params)
const getMarketRegulationListById = (params) => getAction('/laws/marketStandard/detail', params)
// 市场法规清单-根据id查询-无权限
const getMarketRegulationListByIdNoPerm = (params) => getAction('', params)
// 市场法规清单-根据ids获取多个清单的清单列表-用于复制
const getMarketRegulationListByIds = (params) => getAction('', params)
// 市场法规清单-新增
const marketRegulationListAdd = (params) => postAction('', params)
const marketRegulationListAdd = (params) => postAction('/laws/marketStandard/add', params)
// 市场法规清单-编辑
const marketRegulationListEdit = (params) => postAction('', params)
const marketRegulationListEdit = (params) => postAction('/laws/marketStandard/edit', params)
// 市场法规清单-获取历史版本列表
const marketRegulationListHistoryList = (params) => getAction('', params)
@@ -488,6 +488,10 @@ export default {
}
},
mounted () {
// 暂时给固定的清单编号
this.$nextTick(() => {
this.form.setFieldsValue(pick({ manifestNo: '111' }, 'manifestNo'))
})
this.getCountryOption()
if (this.$route.query.id) {
this.initData(this.$route.query.id)
@@ -333,6 +333,7 @@ export default {
} else {
this.$emit('ok', param)
}
this.close()
this.confirmLoading = false
}
})