Commit ec1fa7aa authored by 冷冷's avatar 冷冷

🐛 Fixing a bug. too much

parent dc2a3baf
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"test:e2e": "vue-cli-service test:e2e" "test:e2e": "vue-cli-service test:e2e"
}, },
"dependencies": { "dependencies": {
"@smallwei/avue": "^1.4.6-beta2", "@smallwei/avue": "^1.4.6-beta3",
"avue-plugin-transfer": "^0.0.2", "avue-plugin-transfer": "^0.0.2",
"avue-plugin-ueditor": "^0.0.1", "avue-plugin-ueditor": "^0.0.1",
"axios": "^0.18.0", "axios": "^0.18.0",
......
...@@ -45,7 +45,6 @@ export const tableOption = { ...@@ -45,7 +45,6 @@ export const tableOption = {
editDisabled: true, editDisabled: true,
addVisdiplay: false, addVisdiplay: false,
}, { }, {
width: 120,
fixed: true, fixed: true,
label: '用户名', label: '用户名',
prop: 'username', prop: 'username',
...@@ -91,7 +90,6 @@ export const tableOption = { ...@@ -91,7 +90,6 @@ export const tableOption = {
trigger: "blur" trigger: "blur"
}] }]
}, { }, {
width: 120,
label: '手机号', label: '手机号',
prop: 'phone', prop: 'phone',
type: 'phone', type: 'phone',
...@@ -104,7 +102,6 @@ export const tableOption = { ...@@ -104,7 +102,6 @@ export const tableOption = {
trigger: "blur" trigger: "blur"
}] }]
},{ },{
width: 120,
label: '角色', label: '角色',
prop: 'role', prop: 'role',
formsolt: true, formsolt: true,
...@@ -143,7 +140,6 @@ export const tableOption = { ...@@ -143,7 +140,6 @@ export const tableOption = {
valueFormat: 'yyyy-MM-dd HH:mm:ss', valueFormat: 'yyyy-MM-dd HH:mm:ss',
editDisabled: true, editDisabled: true,
addVisdiplay: false, addVisdiplay: false,
hide: true, span: 24
span: 24,
}] }]
} }
...@@ -21,7 +21,7 @@ import { ...@@ -21,7 +21,7 @@ import {
import * as filters from './filters' // 全局filter import * as filters from './filters' // 全局filter
import './styles/common.scss'; import './styles/common.scss';
// // 引入avue的包 // // 引入avue的包
import '@smallwei/avue/lib/index.js'; import Avue from '@smallwei/avue/lib/index.js';
// // 引入avue的样式文件 // // 引入avue的样式文件
import '@smallwei/avue/lib/theme-chalk/index.css'; import '@smallwei/avue/lib/theme-chalk/index.css';
...@@ -35,6 +35,8 @@ import VueClipboard from 'vue-clipboard2' ...@@ -35,6 +35,8 @@ import VueClipboard from 'vue-clipboard2'
import vueJsonTreeView from 'vue-json-tree-view' import vueJsonTreeView from 'vue-json-tree-view'
Vue.use(Avue, { menuType : 'text'});
Vue.use(router) Vue.use(router)
Vue.use(VueClipboard) Vue.use(VueClipboard)
...@@ -63,4 +65,4 @@ new Vue({ ...@@ -63,4 +65,4 @@ new Vue({
router, router,
store, store,
render: h => h(App) render: h => h(App)
}).$mount('#app') }).$mount('#app')
\ No newline at end of file
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<div>基于开源LCN 分布式事务解决方案深度定制</div> <div>基于开源LCN 分布式事务解决方案深度定制</div>
<div>完美兼容2.X,优化集群部署,提升性能</div> <div>完美兼容2.X,优化集群部署,提升性能</div>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="SASS多租户" name="4"> <el-collapse-item title="SAAS多租户" name="4">
<div>扩展Spring Cache无缝兼容</div> <div>扩展Spring Cache无缝兼容</div>
<div>支持开发过程无感知</div> <div>支持开发过程无感知</div>
</el-collapse-item> </el-collapse-item>
......
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<div class="header"> <div class="header">
<p class="header__title">{{name}}</p> <p class="header__title">{{name}}</p>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud <avue-crud
ref="crud" ref="crud"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<el-alert <el-alert
title="路由配置是非常专业的事情,不建议非工程师操作" title="路由配置是非常专业的事情,不建议非工程师操作"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:data="tableData" :data="tableData"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
...@@ -61,17 +61,18 @@ ...@@ -61,17 +61,18 @@
} }
}, },
created() { created() {
this.page.pageSize=20;
}, },
mounted: function() { }, mounted: function() { },
computed: { computed: {
...mapGetters(['permissions']) ...mapGetters(['permissions'])
}, },
methods: { methods: {
getList(page, params) { getList(page, params={}) {
this.tableLoading = true this.tableLoading = true
fetchList(Object.assign({ fetchList(Object.assign({
page: page.currentPage, current: page.currentPage,
limit: page.pageSize, size: page.pageSize,
descs: 'start_time' descs: 'start_time'
}, params)).then(response => { }, params)).then(response => {
this.tableData = response.data.data.records this.tableData = response.data.data.records
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud ref="crud" <avue-crud ref="crud"
:page="page" :page="page"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud :data="data" <avue-crud :data="data"
:option="option" /> :option="option" />
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<template> <template>
<div class="app-container pull-auto"> <div class="execution">
<basic-container> <basic-container>
<avue-crud :data="data" :option="option"/> <avue-crud :data="data" :option="option"/>
</basic-container> </basic-container>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment