修改细节问题
This commit is contained in:
@@ -17,32 +17,35 @@
|
|||||||
@close="handleCancel"
|
@close="handleCancel"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||||
<currencySearch
|
<div style="margin-bottom: 60px">
|
||||||
:flag="'1'"
|
<currencySearch
|
||||||
:url="url"
|
:flag="'1'"
|
||||||
@searchQuery="searchQuery"
|
:url="url"
|
||||||
@searchReset="searchReset"
|
@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"
|
|
||||||
/>
|
/>
|
||||||
|
<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>
|
||||||
|
|
||||||
<div class="drawer-bootom-button">
|
<div class="drawer-bootom-button">
|
||||||
<a-button @click="handleCancel" type="danger" style="margin-right: 16px">{{$t('cancel')}}</a-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>
|
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button>
|
||||||
|
|||||||
@@ -173,7 +173,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</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="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,11 +182,11 @@
|
|||||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||||
<a-tree-select
|
<a-tree-select
|
||||||
v-model="formInline[item.db_field_name]"
|
v-model="formInline[item.db_field_name]"
|
||||||
style="width: 100%"
|
|
||||||
:maxTagCount="1"
|
:maxTagCount="1"
|
||||||
:tree-data="treeData"
|
style="width: 100%"
|
||||||
|
:tree-data="item.tree"
|
||||||
tree-checkable
|
tree-checkable
|
||||||
placeholder="Please select"
|
:placeholder="$t('PleaseSelect')+item.db_field_txt"
|
||||||
/>
|
/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -25,9 +25,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
'$route': function(to,form) {
|
'$route': function(val) {
|
||||||
if (to.meta.title == '首页') {
|
if (val.meta.title == '首页') {
|
||||||
this.Navigation = to.meta.title
|
this.Navigation = val.meta.title
|
||||||
this.subNavigation = null
|
this.subNavigation = null
|
||||||
} else {
|
} else {
|
||||||
this.updateMenu()
|
this.updateMenu()
|
||||||
|
|||||||
@@ -119,6 +119,7 @@
|
|||||||
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
|
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
|
||||||
import enUS from 'ant-design-vue/es/locale/en_US'
|
import enUS from 'ant-design-vue/es/locale/en_US'
|
||||||
import 'moment/locale/zh-cn'
|
import 'moment/locale/zh-cn'
|
||||||
|
import { generateIndexRouter } from '@/utils/util'
|
||||||
import store from '../../store'
|
import store from '../../store'
|
||||||
import router from '../../router'
|
import router from '../../router'
|
||||||
|
|
||||||
@@ -301,15 +302,6 @@
|
|||||||
localStorage.setItem('language', 'en-us')
|
localStorage.setItem('language', 'en-us')
|
||||||
break
|
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 => {
|
store.dispatch('GetPermissionList').then(res => {
|
||||||
this.$root.Bus.$emit('switchLanguage', localeval)
|
this.$root.Bus.$emit('switchLanguage', localeval)
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user