[update] 拆分已入库文本查询,来源选择企业的时候增加主起草部门查询条件
This commit is contained in:
@@ -476,6 +476,7 @@ module.exports = {
|
|||||||
comparisonResults: 'Comparison results',
|
comparisonResults: 'Comparison results',
|
||||||
initiateComparison: 'Initiate Comparison',
|
initiateComparison: 'Initiate Comparison',
|
||||||
textStatus: 'Text Status',
|
textStatus: 'Text Status',
|
||||||
|
chiefDraftingDepartment: '主起草部门',
|
||||||
selectedStandard: 'Selected Standard',
|
selectedStandard: 'Selected Standard',
|
||||||
noComparisonDocumentSelected: 'No comparison document selected',
|
noComparisonDocumentSelected: 'No comparison document selected',
|
||||||
remarkInfo: 'Remarks Info',
|
remarkInfo: 'Remarks Info',
|
||||||
|
|||||||
@@ -494,6 +494,7 @@ module.exports = {
|
|||||||
comparisonResults: '对比结果',
|
comparisonResults: '对比结果',
|
||||||
initiateComparison: '发起对比',
|
initiateComparison: '发起对比',
|
||||||
textStatus: '文本状态',
|
textStatus: '文本状态',
|
||||||
|
chiefDraftingDepartment: '主起草部门',
|
||||||
selectedStandard: '所选标准',
|
selectedStandard: '所选标准',
|
||||||
noComparisonDocumentSelected: '未选择对比文档',
|
noComparisonDocumentSelected: '未选择对比文档',
|
||||||
remarkInfo: '备注信息',
|
remarkInfo: '备注信息',
|
||||||
|
|||||||
@@ -64,6 +64,12 @@ export const StandardSource = {
|
|||||||
ENTERPRISE: { text: '企标', value: '3' }
|
ENTERPRISE: { text: '企标', value: '3' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 拆分选择标准来源
|
||||||
|
export const SplitStandardSource = {
|
||||||
|
DOMESTIC: { text: '国内', value: '1' },
|
||||||
|
ENTERPRISE: { text: '企标', value: '3' }
|
||||||
|
}
|
||||||
|
|
||||||
// 动态分类
|
// 动态分类
|
||||||
export const DynamicCataloging = {
|
export const DynamicCataloging = {
|
||||||
WEEKLY_NEWSPAPER: { text: '周报', value: '1' },
|
WEEKLY_NEWSPAPER: { text: '周报', value: '1' },
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
:placeholder="$t('pleaseSelect') + $t('standardSelect.source')"
|
:placeholder="$t('pleaseSelect') + $t('standardSelect.source')"
|
||||||
:type="'select'"
|
:type="'select'"
|
||||||
:triggerChange="false"
|
:triggerChange="false"
|
||||||
|
@change="sourceChange"
|
||||||
:dictCode="'split_standard_source'" />
|
:dictCode="'split_standard_source'" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -48,6 +49,18 @@
|
|||||||
:dictCode="'process_manuscript'" />
|
:dictCode="'process_manuscript'" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<!--主起草部门-->
|
||||||
|
<a-col v-if="queryParam.origin === SplitStandardSource.ENTERPRISE.value" :md="8" :sm="12">
|
||||||
|
<a-form-item :label="$t('docTool.comparison.chiefDraftingDepartment')">
|
||||||
|
<j-select-depart
|
||||||
|
class="box-input"
|
||||||
|
v-model="queryParam.esMainDraftUnit"
|
||||||
|
:placeholder="$t('pleaseSelect') + $t('docTool.comparison.chiefDraftingDepartment')"
|
||||||
|
:multi="true"
|
||||||
|
:backDepart="true"
|
||||||
|
:treeOpera="true" />
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
<div class="table-page-search-submitButtons">
|
<div class="table-page-search-submitButtons">
|
||||||
@@ -80,13 +93,16 @@
|
|||||||
import JTable from '../../../../components/jero/JTable.vue'
|
import JTable from '../../../../components/jero/JTable.vue'
|
||||||
import { JeroListMixin } from '../../../../mixins/JeroListMixin.js'
|
import { JeroListMixin } from '../../../../mixins/JeroListMixin.js'
|
||||||
import { addDocSplit } from '../../../../api/documentToolApi.js'
|
import { addDocSplit } from '../../../../api/documentToolApi.js'
|
||||||
|
import { SplitStandardSource } from '../../../../enums/commonEnums'
|
||||||
|
import JSelectDepart from '../../../../components/jerobiz/JSelectDepart'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SplitText',
|
name: 'SplitText',
|
||||||
components: { JTable },
|
components: { JTable, JSelectDepart },
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
SplitStandardSource,
|
||||||
visible: false,
|
visible: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
labelCol: {
|
labelCol: {
|
||||||
@@ -143,6 +159,12 @@ export default {
|
|||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.loadData(1)
|
this.loadData(1)
|
||||||
},
|
},
|
||||||
|
// 来源改变,更改为国内的时候清空主起草单位
|
||||||
|
sourceChange (value) {
|
||||||
|
if (value === SplitStandardSource.DOMESTIC.value) {
|
||||||
|
this.queryParam.esMainDraftUnit = ''
|
||||||
|
}
|
||||||
|
},
|
||||||
// 抽屉关闭
|
// 抽屉关闭
|
||||||
onClose () {
|
onClose () {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
|||||||
Reference in New Issue
Block a user