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