[update] 市场法规清单设置密级默认值内部资料
This commit is contained in:
@@ -266,3 +266,11 @@ export const UserSource = {
|
|||||||
export const DisplayAreaManagement = {
|
export const DisplayAreaManagement = {
|
||||||
PROCESS_DOCUMENTATION: { text: '过程稿件', textEn: 'Process Documentation' }
|
PROCESS_DOCUMENTATION: { text: '过程稿件', textEn: 'Process Documentation' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 市场法规清单-密级
|
||||||
|
export const SecurityClass = {
|
||||||
|
CORE_BUSINESS_SECRETARY: { text: '核心商秘', value: '1' },
|
||||||
|
GENERAL_BUSINESS_SECRET: { text: '普通商密', value: '2' },
|
||||||
|
INTERNAL_DATA: { text: '内部资料', value: '3' },
|
||||||
|
EXTERNAL_DISCLOSURE: { text: '外部公开', value: '4' },
|
||||||
|
}
|
||||||
|
|||||||
+7
-1
@@ -212,7 +212,7 @@ import {
|
|||||||
marketRegulationListEdit
|
marketRegulationListEdit
|
||||||
} from '../../../api/standardRegulationLibraryApi'
|
} from '../../../api/standardRegulationLibraryApi'
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import { StandardSource } from '../../../enums/commonEnums'
|
import { StandardSource, SecurityClass } from '../../../enums/commonEnums'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import HistoryVersionModal from './modules/HistoryVersionModal'
|
import HistoryVersionModal from './modules/HistoryVersionModal'
|
||||||
import { getFormDictTreeList } from '../../../api/api'
|
import { getFormDictTreeList } from '../../../api/api'
|
||||||
@@ -253,6 +253,7 @@ export default {
|
|||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
StandardSource,
|
StandardSource,
|
||||||
|
SecurityClass,
|
||||||
pageLoading: false,
|
pageLoading: false,
|
||||||
form: this.$form.createForm(this),
|
form: this.$form.createForm(this),
|
||||||
model: { manifest: {}, lists: [] },
|
model: { manifest: {}, lists: [] },
|
||||||
@@ -486,6 +487,11 @@ export default {
|
|||||||
this.getCountryOption()
|
this.getCountryOption()
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
this.initData(this.$route.query.id)
|
this.initData(this.$route.query.id)
|
||||||
|
} else {
|
||||||
|
// 设置密级默认值
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.form.setFieldsValue(pick({ securityLevel: SecurityClass.INTERNAL_DATA.value }, 'securityLevel'))
|
||||||
|
})
|
||||||
}
|
}
|
||||||
this.filters.manifestId = this.$route.query.id
|
this.filters.manifestId = this.$route.query.id
|
||||||
this.importData.manifestId = this.$route.query.id
|
this.importData.manifestId = this.$route.query.id
|
||||||
|
|||||||
Reference in New Issue
Block a user