修改
This commit is contained in:
@@ -41,8 +41,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-button class="box-button" type="primary" @click="searchReset">{{$t('query')}}</a-button>
|
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||||
<a-button class="box-button" style="margin-left: 8px" @click="searchQuery">{{$t('reset')}}</a-button>
|
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
@@ -91,15 +91,18 @@
|
|||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
dataIndex: 'serial_number'
|
dataIndex: 'serial_number',
|
||||||
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
dataIndex: 'title'
|
dataIndex: 'title',
|
||||||
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('TextStatus'),
|
title: this.$t('TextStatus'),
|
||||||
dataIndex: 'state'
|
dataIndex: 'state',
|
||||||
|
align: 'center',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
dataList: [],
|
dataList: [],
|
||||||
@@ -114,6 +117,8 @@
|
|||||||
methods: {
|
methods: {
|
||||||
standardClick() {
|
standardClick() {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
this.queryParam = {}
|
||||||
|
this.replacePage()
|
||||||
},
|
},
|
||||||
replacePage() {
|
replacePage() {
|
||||||
let query = {
|
let query = {
|
||||||
@@ -122,7 +127,7 @@
|
|||||||
pageSize: this.pageSize
|
pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getAction('document/bussDocumentLibraryEO/replacePageInfo', query).then((res) => {
|
postAction('document/bussDocumentLibraryEO/replacePageInfo', query).then((res) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataList = res.result.records
|
this.dataList = res.result.records
|
||||||
|
|||||||
@@ -170,7 +170,7 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24" v-else-if="item.field_show_type === 'file'">
|
<a-col :span="24" v-else-if="item.field_show_type === 'perSelect'">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required" v-if="item.field_must_input == 0">*</span>
|
<span class="Required" v-if="item.field_must_input == 0">*</span>
|
||||||
@@ -182,6 +182,19 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
<a-col :span="24" v-else-if="item.field_show_type === 'file'">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="Required" v-if="item.field_must_input == 0">*</span>
|
||||||
|
<!-- <span :class="{'title-text-text':false}">{{item.db_field_en_name}}</span><br>-->
|
||||||
|
<span class="title-text-text">{{item.db_field_txt}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||||
|
<Standardselection :query="item" :disabled="disabled" v-model="formInline[item.db_field_name]"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
<a-col :span="12" v-else-if="item.field_show_type === 'file'">
|
<a-col :span="12" v-else-if="item.field_show_type === 'file'">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -199,19 +212,6 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<a-col :span="24" v-else-if="item.field_show_type === 'STANDARD'">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="Required" v-if="item.field_must_input == 0">*</span>
|
|
||||||
<!-- <span :class="{'title-text-text':false}">{{item.db_field_en_name}}</span><br>-->
|
|
||||||
<span class="title-text-text">{{item.db_field_txt}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
|
||||||
<Standardselection :query="item" :disabled="disabled" v-model="formInline[item.db_field_name]"/>
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</div>
|
</div>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -122,7 +122,6 @@ service.interceptors.request.use(config => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if((config.method == 'post')) {
|
} else if((config.method == 'post')) {
|
||||||
console.log(config)
|
|
||||||
config.data = {
|
config.data = {
|
||||||
cut: cut,
|
cut: cut,
|
||||||
...config.data
|
...config.data
|
||||||
|
|||||||
Reference in New Issue
Block a user