修改细节问题
This commit is contained in:
@@ -17,32 +17,35 @@
|
||||
@close="handleCancel"
|
||||
:visible="visible"
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<currencySearch
|
||||
:flag="'1'"
|
||||
:url="url"
|
||||
@searchQuery="searchQuery"
|
||||
@searchReset="searchReset"
|
||||
/>
|
||||
<a-table
|
||||
:columns="columns"
|
||||
rowKey="id"
|
||||
:data-source="dataList"
|
||||
:scroll="{ y: 540 }"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:loading="loading">
|
||||
|
||||
</a-table>
|
||||
<div class="page" v-if="dataList.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+`${total}`+$t('strip')"
|
||||
show-quick-jumper
|
||||
show-size-changer
|
||||
:page-size.sync="pageSize"
|
||||
:total="total"
|
||||
@change="onChange"
|
||||
@showSizeChange="SizeChange"
|
||||
<div style="margin-bottom: 60px">
|
||||
<currencySearch
|
||||
:flag="'1'"
|
||||
:url="url"
|
||||
@searchQuery="searchQuery"
|
||||
@searchReset="searchReset"
|
||||
/>
|
||||
<a-table
|
||||
:columns="columns"
|
||||
rowKey="id"
|
||||
:data-source="dataList"
|
||||
:pagination="false"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:loading="loading">
|
||||
|
||||
</a-table>
|
||||
<div class="page" v-if="dataList.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+`${total}`+$t('strip')"
|
||||
show-quick-jumper
|
||||
show-size-changer
|
||||
:page-size.sync="pageSize"
|
||||
:total="total"
|
||||
@change="onChange"
|
||||
@showSizeChange="SizeChange"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button @click="handleCancel" type="danger" style="margin-right: 16px">{{$t('cancel')}}</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button>
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="12" v-else-if="item.field_show_type === 'treeSelect'">
|
||||
<a-col :span="12" v-else-if="item.field_show_type === '0'">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required" v-if="item.field_must_input == 0">*</span>
|
||||
@@ -182,11 +182,11 @@
|
||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||
<a-tree-select
|
||||
v-model="formInline[item.db_field_name]"
|
||||
style="width: 100%"
|
||||
:maxTagCount="1"
|
||||
:tree-data="treeData"
|
||||
style="width: 100%"
|
||||
:tree-data="item.tree"
|
||||
tree-checkable
|
||||
placeholder="Please select"
|
||||
:placeholder="$t('PleaseSelect')+item.db_field_txt"
|
||||
/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route': function(to,form) {
|
||||
if (to.meta.title == '首页') {
|
||||
this.Navigation = to.meta.title
|
||||
'$route': function(val) {
|
||||
if (val.meta.title == '首页') {
|
||||
this.Navigation = val.meta.title
|
||||
this.subNavigation = null
|
||||
} else {
|
||||
this.updateMenu()
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
|
||||
import enUS from 'ant-design-vue/es/locale/en_US'
|
||||
import 'moment/locale/zh-cn'
|
||||
import { generateIndexRouter } from '@/utils/util'
|
||||
import store from '../../store'
|
||||
import router from '../../router'
|
||||
|
||||
@@ -301,15 +302,6 @@
|
||||
localStorage.setItem('language', 'en-us')
|
||||
break
|
||||
}
|
||||
router.beforeEach((to,from,next)=>{
|
||||
console.log(to)
|
||||
console.log(from)
|
||||
return
|
||||
if(to.meta.title){
|
||||
document.title=to.meta.title
|
||||
}
|
||||
next()
|
||||
})
|
||||
store.dispatch('GetPermissionList').then(res => {
|
||||
this.$root.Bus.$emit('switchLanguage', localeval)
|
||||
this.isLoading = false
|
||||
|
||||
Reference in New Issue
Block a user