修改文档拆分得细节问题
This commit is contained in:
@@ -227,18 +227,18 @@ export default {
|
||||
query.source = this.canSelectedSource.join(',')
|
||||
}
|
||||
// this.selectedRowKeys = []
|
||||
this.loading = true
|
||||
getStandardList(query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records
|
||||
this.ipagination.total = res.result.total
|
||||
this.selectedRowKeys = this.value ? this.value.split(',') : []
|
||||
} else {
|
||||
this.dataList = []
|
||||
}
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
// this.loading = true
|
||||
// getStandardList(query).then((res) => {
|
||||
// if (res.success) {
|
||||
// this.dataList = res.result.records
|
||||
// this.ipagination.total = res.result.total
|
||||
// this.selectedRowKeys = this.value ? this.value.split(',') : []
|
||||
// } else {
|
||||
// this.dataList = []
|
||||
// }
|
||||
// }).finally(() => {
|
||||
// this.loading = false
|
||||
// })
|
||||
},
|
||||
searchQuery () {
|
||||
this.replacePage(1)
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!--发布情况-->
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form-item :label="$t('docTool.comparison.releaseSituation')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">
|
||||
<j-dict-select-tag v-model="queryParam.releaseState"
|
||||
:placeholder="$t('pleaseSelect')+$t('docTool.comparison.releaseSituation')"
|
||||
type="select"
|
||||
:triggerChange="false" dictCode="release_state" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!-- <a-col :md="6" :sm="8">-->
|
||||
<!-- <a-form-item :label="$t('docTool.comparison.releaseSituation')" :labelCol="{span: 6}" :wrapperCol="{span: 14}">-->
|
||||
<!-- <j-dict-select-tag v-model="queryParam.releaseState"-->
|
||||
<!-- :placeholder="$t('pleaseSelect')+$t('docTool.comparison.releaseSituation')"-->
|
||||
<!-- type="select"-->
|
||||
<!-- :triggerChange="false" dictCode="release_state" />-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<div style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||
<a-button type="primary" @click="searchQuery" icon="search">
|
||||
{{ $t('query') }}
|
||||
@@ -163,6 +163,17 @@ export default {
|
||||
width: 150,
|
||||
dataIndex: 'compareTypeShow'
|
||||
},
|
||||
{
|
||||
title: '比对状态',
|
||||
width: 150,
|
||||
dataIndex: 'compareStatus'
|
||||
},
|
||||
{
|
||||
title: '比对时间',
|
||||
width: 150,
|
||||
dataIndex: 'createTime'
|
||||
},
|
||||
|
||||
// 发布情况
|
||||
// {
|
||||
// title: this.$t('docTool.comparison.releaseSituation'),
|
||||
@@ -176,11 +187,11 @@ export default {
|
||||
// dataIndex: 'createNameNo'
|
||||
// },
|
||||
// 备注
|
||||
{
|
||||
title: this.$t('remarks'),
|
||||
width: 270,
|
||||
dataIndex: 'remark'
|
||||
},
|
||||
// {
|
||||
// title: this.$t('remarks'),
|
||||
// width: 270,
|
||||
// dataIndex: 'remark'
|
||||
// },
|
||||
// 操作
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
@@ -212,13 +223,13 @@ export default {
|
||||
// }
|
||||
// },
|
||||
// 编辑
|
||||
{
|
||||
text: this.$t('edit'),
|
||||
clickEvent: 'edit',
|
||||
show: (record) => {
|
||||
return !(record.compareType === 'item')
|
||||
}
|
||||
},
|
||||
// {
|
||||
// text: this.$t('edit'),
|
||||
// clickEvent: 'edit',
|
||||
// show: (record) => {
|
||||
// return !(record.compareType === 'item')
|
||||
// }
|
||||
// },
|
||||
// 删除
|
||||
{
|
||||
text: this.$t('delete'),
|
||||
|
||||
@@ -15,17 +15,17 @@
|
||||
<a-form :form="form">
|
||||
<!--标准号-->
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardSelect.standardNumber')">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('standardSelect.standardName')"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:maxLength="100"
|
||||
v-decorator="['serialNumber', validatorRules.serialNumber]" />
|
||||
<!-- <standard-selection :placeholder="$t('pleaseSelect') + $t('standardSelect.standardNumber')"-->
|
||||
<!-- type="radio"-->
|
||||
<!-- @nameChange="handleStandardNumberChange"-->
|
||||
<!-- :select-only="true"-->
|
||||
<!-- :can-selected-source="[StandardSource.DOMESTIC.value, StandardSource.ENTERPRISE.value]"-->
|
||||
<!-- class="readonly-input"-->
|
||||
<!-- v-decorator="['serialNumber', validatorRules.serialNumber]" />-->
|
||||
<!-- <a-input :placeholder="$t('pleaseEnter') + $t('standardSelect.standardName')"-->
|
||||
<!-- @change="event => event.target.value = event.target.value.trim()"-->
|
||||
<!-- :maxLength="100"-->
|
||||
<!-- v-decorator="['serialNumber', validatorRules.serialNumber]" />-->
|
||||
<standard-selection :placeholder="$t('pleaseSelect') + $t('standardSelect.standardNumber')"
|
||||
type="radio"
|
||||
@nameChange="handleStandardNumberChange"
|
||||
:select-only="false"
|
||||
:can-selected-source="[StandardSource.DOMESTIC.value, StandardSource.ENTERPRISE.value]"
|
||||
class="readonly-input"
|
||||
v-decorator="['serialNumber', validatorRules.serialNumber]" />
|
||||
</a-form-item>
|
||||
<!--标准名称-->
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardSelect.standardName')">
|
||||
@@ -74,13 +74,14 @@
|
||||
|
||||
<script>
|
||||
import { importSplitResult } from '@api/documentToolApi'
|
||||
import StandardSelection from '../../../../components/selection/StandardSelection.vue'
|
||||
import { getFileInfo } from '@api/api'
|
||||
import { downloadFile } from '@api/manage'
|
||||
import { StandardSource } from '../../../../enums/commonEnums'
|
||||
|
||||
export default {
|
||||
name: 'ImportSplitResultModal',
|
||||
components: { },
|
||||
components: { StandardSelection },
|
||||
data () {
|
||||
return {
|
||||
StandardSource,
|
||||
|
||||
@@ -15,10 +15,17 @@
|
||||
<a-form :form="form">
|
||||
<!--标准号-->
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardSelect.standardNumber')">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('standardSelect.standardNumber')"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:maxLength="100"
|
||||
v-decorator="['serialNumber', validatorRules.serialNumber]" />
|
||||
<!-- <a-input :placeholder="$t('pleaseEnter') + $t('standardSelect.standardNumber')"-->
|
||||
<!-- @change="event => event.target.value = event.target.value.trim()"-->
|
||||
<!-- :maxLength="100"-->
|
||||
<!-- v-decorator="['serialNumber', validatorRules.serialNumber]" />-->
|
||||
<standard-selection :placeholder="$t('pleaseSelect') + $t('standardSelect.standardNumber')"
|
||||
type="radio"
|
||||
@nameChange="handleStandardNumberChange"
|
||||
:select-only="false"
|
||||
:can-selected-source="[StandardSource.DOMESTIC.value, StandardSource.ENTERPRISE.value]"
|
||||
class="readonly-input"
|
||||
v-decorator="['serialNumber', validatorRules.serialNumber]" />
|
||||
</a-form-item>
|
||||
<!--标准名称-->
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('standardSelect.standardName')">
|
||||
@@ -68,11 +75,13 @@
|
||||
<script>
|
||||
import { importSplitResult , addDocSplit} from '@api/documentToolApi'
|
||||
import { getFileInfo } from '@api/api'
|
||||
import StandardSelection from '../../../../components/selection/StandardSelection.vue'
|
||||
import { downloadFile } from '@api/manage'
|
||||
import { StandardSource } from '../../../../enums/commonEnums'
|
||||
|
||||
export default {
|
||||
name: 'splitIsInStorage',
|
||||
components: { StandardSelection },
|
||||
data () {
|
||||
return {
|
||||
StandardSource,
|
||||
@@ -114,6 +123,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleStandardNumberChange (name) {
|
||||
this.form.setFieldsValue({ title: name })
|
||||
},
|
||||
open () {
|
||||
this.visible = true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user