Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-08-25 18:42:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6af92ce9a276acb8353851bc9465b6d45584499
f6af92ce
1 parent
a877bdb3
modify
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
179 additions
and
176 deletions
src/components/YlForm/index.vue
src/layout/index.vue
src/layout/mixin/ResizeHandler.js
src/router/index.js
src/store/modules/permission.js
src/views/allocationConfig/et86BlackStation/components/ModleView.vue → src/views/et86Config/et86HsCodeBlack/components/ModleView.vue
src/views/allocationConfig/et86BlackStation/formConfig.js → src/views/et86Config/et86HsCodeBlack/formConfig.js
src/views/allocationConfig/et86BlackStation/index.vue → src/views/et86Config/et86HsCodeBlack/index.vue
src/views/allocationConfig/et86BlackStation/tableConfig.js → src/views/et86Config/et86HsCodeBlack/tableConfig.js
src/views/allocationConfig/et86/edit/formConfig.js → src/views/et86Config/et86RuleConfig/edit/formConfig.js
src/views/allocationConfig/et86/edit/index.vue → src/views/et86Config/et86RuleConfig/edit/index.vue
src/views/allocationConfig/et86/edit/mixins/index.js → src/views/et86Config/et86RuleConfig/edit/mixins/index.js
src/views/allocationConfig/et86/edit/tableConfig.js → src/views/et86Config/et86RuleConfig/edit/tableConfig.js
src/views/allocationConfig/et86/formConfig.js → src/views/et86Config/et86RuleConfig/formConfig.js
src/views/allocationConfig/et86/index.vue → src/views/et86Config/et86RuleConfig/index.vue
src/views/allocationConfig/et86/tableConfig.js → src/views/et86Config/et86RuleConfig/tableConfig.js
src/components/YlForm/index.vue
View file @
f6af92c
...
...
@@ -7,22 +7,45 @@
<el-form
:model="tempQueryForm"
:inline="inline"
:label-position="position"
:label-width="formWidth"
:loading="loading"
ref="ruleForm"
:size="size"
>
<el-form-item
<el-row
:gutter="rowGutter"
:type="rowType"
:justify="rowJustify"
:align="rowAlign"
:tag="rowTag"
>
<el-col
v-for="item in tempFormConfig"
:label="item.label"
:span="item.span"
:offset="item.offset"
:tag="item.tag"
:push="item.push"
:pull="item.pull"
:xs="item.xs"
:sm="item.sm"
:md="item.md"
:lg="item.lg"
:xl="item.xl"
:style="{ width: item.colWidth }"
:key="item.prop"
>
<el-form-item
:label="item.label"
:prop="item.prop"
:rules="item.rules"
:label-width="item.labelWidth"
>
<!-- 输入框 -->
<el-input
v-if="item.type === 'Input'"
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
:placeholder="
item.placeholder ? item.placeholder : '请输入' + item.label
...
...
@@ -46,7 +69,7 @@
:min="item.min"
:max="item.max"
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
:placeholder="
item.placeholder ? item.placeholder : '请输入' + item.label
...
...
@@ -62,20 +85,21 @@
:min="0"
:max="10"
:size="item.size"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
label="描述文字"
></el-input-number>
<template v-if="view">
<span v-text="tempQueryForm[item.prop]"></span>
</template>
<!-- 下拉选择 -->
<el-select
v-if="item.type === 'Select'"
:multiple="item.multiple"
:filterable="item.filterable"
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
:loading="searchLoading"
:placeholder="
...
...
@@ -91,11 +115,12 @@
>
</el-option>
</el-select>
<!-- 远程搜索 -->
<template v-if="item.type === 'Search'">
<el-autocomplete
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:debounce="1500"
:fetch-suggestions="querySearchAsync"
:placeholder="
...
...
@@ -111,7 +136,7 @@
<el-date-picker
v-if="item.type === 'Date'"
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
:placeholder="item.placeholder ? item.placeholder : '请选择日期'"
:value-format="item.format"
...
...
@@ -123,7 +148,7 @@
<el-time-select
v-if="item.type === 'Time'"
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
:placeholder="item.placeholder ? item.placeholder : '请选择时间'"
clearable
...
...
@@ -146,7 +171,7 @@
v-if="item.type === 'datetimerange'"
type="datetimerange"
v-model.trim="tempQueryForm[item.prop]"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
range-separator="至"
start-placeholder="开始日期"
...
...
@@ -189,7 +214,7 @@
v-if="item.type === 'textarea'"
v-model.trim="tempQueryForm[item.prop]"
type="textarea"
:style="{ width: item.w
idth }"
:style="{ width: item.inputW
idth }"
:disabled="item.disable"
:rows="item.row"
:autosize="item.autosize"
...
...
@@ -199,6 +224,7 @@
clearable
>
</el-input>
<!-- 多选框 -->
<template v-if="item.type === 'Checkbox'">
<el-checkbox
...
...
@@ -207,6 +233,7 @@
></el-checkbox>
</template>
</el-form-item>
</el-col>
<!-- 查询按钮 de-->
<span v-show="inline & hiddenFormBtn">
<el-form-item v-show="show">
...
...
@@ -224,6 +251,7 @@
<el-button @click="resetFields('ruleForm')">重置</el-button>
</el-form-item>
</span>
</el-row>
</el-form>
</div>
</template>
...
...
@@ -233,30 +261,25 @@ import request from "@/utils/request";
import { deepClone } from "@/utils";
export default {
props: {
marginBottom
: {
rowGutter
: {
type: Number,
default: 30,
},
view: {
type: Boolean,
default: false,
default: 24,
},
formBtn
: {
rowType
: {
type: String,
default: "
查询
",
default: "",
},
btnLoading
: {
type:
Boolean
,
default:
false
,
rowJustify
: {
type:
String
,
default:
""
,
},
loading: {
//加载
type: Boolean,
default: false,
rowAlign: {
type: String,
default: "",
},
isBtnSave
: {
type:
Boolean
,
default:
false
,
rowTag
: {
type:
String
,
default:
"div"
,
},
// 由inline属性决定form表单是普通表单,还是行内表单
inline: {
...
...
@@ -273,14 +296,14 @@ export default {
type: Boolean,
default: false,
},
labelWidth: {
type: String,
default: "120px",
},
formWidth: {
//form表单宽度
type: String,
default: "200px",
default: "auto",
},
position: {
type: String,
default: "",
},
formConfig: {
type: Array,
...
...
@@ -295,6 +318,31 @@ export default {
type: String,
default: "small",
},
marginBottom: {
type: Number,
default: 30,
},
view: {
type: Boolean,
default: false,
},
formBtn: {
type: String,
default: "查询",
},
btnLoading: {
type: Boolean,
default: false,
},
loading: {
//加载
type: Boolean,
default: false,
},
isBtnSave: {
type: Boolean,
default: false,
},
},
data() {
return {
...
...
@@ -311,7 +359,7 @@ export default {
methods: {
// input事件绑定和注册
inputEvent(e, item) {
this.$emit(
"input"
, this.tempQueryForm);
this.$emit(
item.trigger
, this.tempQueryForm);
},
// 回车事件
toEnterSearch() {
...
...
src/layout/index.vue
View file @
f6af92c
...
...
@@ -4,11 +4,11 @@
<sidebar class="sidebar-container"
:style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBg : variables.menuLightBg }" />
<div :class="{ hasTagsView: needTagsView }" class="main-container">
<div :class="{ 'fixed-header': fixedHeader }">
<div :class="{ 'fixed-header': fixedHeader }"
ref="headerBlock"
>
<navbar />
<tags-view v-if="needTagsView" />
</div>
<app-main />
<app-main
ref="appMainBlock"
/>
<right-panel v-if="false">
<settings />
</right-panel>
...
...
src/layout/mixin/ResizeHandler.js
View file @
f6af92c
...
...
@@ -6,40 +6,45 @@ const WIDTH = 992 // refer to Bootstrap's responsive design
export
default
{
watch
:
{
$route
(
route
)
{
if
(
this
.
device
===
'mobile'
&&
this
.
sidebar
.
opened
)
{
store
.
dispatch
(
'app/closeSideBar'
,
{
withoutAnimation
:
false
})
}
if
(
this
.
device
===
"mobile"
&&
this
.
sidebar
.
opened
)
{
store
.
dispatch
(
"app/closeSideBar"
,
{
withoutAnimation
:
false
});
}
},
},
beforeMount
()
{
window
.
addEventListener
(
'resize'
,
this
.
$_resizeHandler
)
window
.
addEventListener
(
"resize"
,
this
.
$_resizeHandler
);
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
$_resizeHandler
)
window
.
removeEventListener
(
"resize"
,
this
.
$_resizeHandler
);
},
mounted
()
{
const
isMobile
=
this
.
$_isMobile
()
const
isMobile
=
this
.
$_isMobile
()
;
if
(
isMobile
)
{
store
.
dispatch
(
'app/toggleDevice'
,
'mobile'
)
store
.
dispatch
(
'app/closeSideBar'
,
{
withoutAnimation
:
true
})
store
.
dispatch
(
"app/toggleDevice"
,
"mobile"
);
store
.
dispatch
(
"app/closeSideBar"
,
{
withoutAnimation
:
true
});
}
this
.
getBlockCurrentHeight
();
},
methods
:
{
// use $_ for mixins properties
// https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential
$_isMobile
()
{
const
rect
=
body
.
getBoundingClientRect
()
return
rect
.
width
-
1
<
WIDTH
const
rect
=
body
.
getBoundingClientRect
()
;
return
rect
.
width
-
1
<
WIDTH
;
},
$_resizeHandler
()
{
if
(
!
document
.
hidden
)
{
const
isMobile
=
this
.
$_isMobile
()
store
.
dispatch
(
'app/toggleDevice'
,
isMobile
?
'mobile'
:
'desktop'
)
const
isMobile
=
this
.
$_isMobile
()
;
store
.
dispatch
(
"app/toggleDevice"
,
isMobile
?
"mobile"
:
"desktop"
);
if
(
isMobile
)
{
store
.
dispatch
(
'app/closeSideBar'
,
{
withoutAnimation
:
true
})
}
store
.
dispatch
(
"app/closeSideBar"
,
{
withoutAnimation
:
true
});
}
}
},
getBlockCurrentHeight
(){;
// console.log(this.$refs.headerBlock, this.$refs.headerBlock.clientHeight);
// console.log(this.$refs.appMainBlock);
}
}
},
};
...
...
src/router/index.js
View file @
f6af92c
...
...
@@ -72,20 +72,19 @@ export const constantRoutes = [
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
"/et86"
,
component
:
(
resolve
)
=>
require
([
"@/views/allocationConfig/et86"
],
resolve
),
name
:
"et86"
,
meta
:
{
title
:
"ET86"
,
icon
:
"user"
},
children
:
[],
},
// {
// path: "/et86",
// component: (resolve) => require(["@/views/et86Config/et86RuleConfig"], resolve),
// name: "et86",
// meta: { title: "ET86", icon: "user" },
// children: [],
// },
{
path
:
"/edit"
,
component
:
(
resolve
)
=>
require
([
"@/views/
allocationConfig/et86
/edit"
],
resolve
),
require
([
"@/views/
et86Config/et86RuleConfig
/edit"
],
resolve
),
name
:
"edit"
,
meta
:
{
title
:
"
编辑
"
,
icon
:
"user"
,
noCache
:
false
},
meta
:
{
title
:
"
ET86规则
"
,
icon
:
"user"
,
noCache
:
false
},
},
{
path
:
"/info/:handle/id=:id;routeStatus=:routeStatus;fltNo=:fltNo;route=:route;fltDate=:fltDate;status=:status"
,
...
...
src/store/modules/permission.js
View file @
f6af92c
...
...
@@ -47,44 +47,6 @@ const permission = {
return
new
Promise
((
resolve
)
=>
{
// 向后端请求路由数据
getRouters
().
then
((
res
)
=>
{
const
newUrl
=
[
{
id
:
24
,
name
:
"et86"
,
path
:
"/et86"
,
hidden
:
false
,
component
:
"allocationConfig/et86"
,
meta
:
{
title
:
"ET86"
,
icon
:
"edit"
,
permissions
:
"allocation:rand:list"
,
noCache
:
false
,
},
alwaysShow
:
false
,
children
:
null
,
},
{
id
:
25
,
name
:
"et86BlackStation"
,
path
:
"/et86BlackStation"
,
hidden
:
false
,
component
:
"allocationConfig/et86BlackStation"
,
meta
:
{
title
:
"黑名单维护"
,
icon
:
"processing"
,
permissions
:
"allocation:rand:list"
,
noCache
:
false
,
},
alwaysShow
:
false
,
children
:
null
,
},
];
res
.
data
.
map
((
item
)
=>
{
if
(
item
.
name
==
"AllocationConfig"
)
{
item
.
children
.
push
(
newUrl
[
0
]);
item
.
children
.
push
(
newUrl
[
1
]);
}
});
res
.
data
=
hasPermi
.
routerPer
(
res
.
data
);
const
sdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
const
rdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
...
...
src/views/
allocationConfig/et86BlackStation
/components/ModleView.vue
→
src/views/
et86Config/et86HsCodeBlack
/components/ModleView.vue
View file @
f6af92c
File moved
src/views/
allocationConfig/et86BlackStation
/formConfig.js
→
src/views/
et86Config/et86HsCodeBlack
/formConfig.js
View file @
f6af92c
File moved
src/views/
allocationConfig/et86BlackStation
/index.vue
→
src/views/
et86Config/et86HsCodeBlack
/index.vue
View file @
f6af92c
File moved
src/views/
allocationConfig/et86BlackStation
/tableConfig.js
→
src/views/
et86Config/et86HsCodeBlack
/tableConfig.js
View file @
f6af92c
File moved
src/views/
allocationConfig/et86
/edit/formConfig.js
→
src/views/
et86Config/et86RuleConfig
/edit/formConfig.js
View file @
f6af92c
File moved
src/views/
allocationConfig/et86
/edit/index.vue
→
src/views/
et86Config/et86RuleConfig
/edit/index.vue
View file @
f6af92c
This diff is collapsed. Click to expand it.
src/views/
allocationConfig/et86
/edit/mixins/index.js
→
src/views/
et86Config/et86RuleConfig
/edit/mixins/index.js
View file @
f6af92c
File moved
src/views/
allocationConfig/et86
/edit/tableConfig.js
→
src/views/
et86Config/et86RuleConfig
/edit/tableConfig.js
View file @
f6af92c
...
...
@@ -4,7 +4,7 @@ export const tableAttr = {
isDragSort
:
true
,
// 拖拽tableData数据一定要加id字段
maxHeight
:
300
,
btnCofig
:
{
isBtn
:
tru
e
,
isBtn
:
fals
e
,
btnGroup
:
[
{
type
:
"primary"
,
...
...
src/views/
allocationConfig/et86
/formConfig.js
→
src/views/
et86Config/et86RuleConfig
/formConfig.js
View file @
f6af92c
export
const
formConfig
=
[
{
label
:
"创建时间(从)"
,
label
:
"原航班"
,
type
:
"Input"
,
name
:
"originOfFlightNo"
,
prop
:
"originOfFlightNo"
,
placeholder
:
"请输入原航班号"
,
span
:
6
,
trigger
:
"blur"
,
},
{
label
:
"修改时间 从"
,
type
:
"Date"
,
name
:
"startTime"
,
prop
:
"startTime"
,
width
:
"140px"
,
placeholder
:
"请选择开始时间"
,
// rules: { required: true, message: "请选择开始时间", trigger: "blur" },
format
:
"yyyy-MM-dd"
,
colWidth
:
"25%"
,
inputWidth
:
"100%"
,
},
{
label
:
"
创建时间(到)
"
,
label
:
"
到
"
,
type
:
"Date"
,
name
:
"endTime"
,
prop
:
"endTime"
,
width
:
"140px"
,
placeholder
:
"请选择结束时间"
,
// rules: { required: true, message: "请选择结束时间", trigger: "blur" },
format
:
"yyyy-MM-dd"
,
colWidth
:
"19%"
,
labelWidth
:
"20px"
,
inputWidth
:
"100%"
,
},
{
label
:
"规则状态"
,
type
:
"Select"
,
name
:
"status"
,
prop
:
"status"
,
width
:
"140px"
,
placeholder
:
"请选择状态"
,
options
:
{
data
:
[
{
value
:
"1"
,
label
:
"有效"
,
},
{
},
{
value
:
"0"
,
label
:
"无效"
,
},
...
...
@@ -40,6 +50,9 @@ export const formConfig = [
label
:
"有效"
,
value
:
"1"
,
},
colWidth
:
"20%"
,
labelWidth
:
"70px"
,
inputWidth
:
"100%"
,
},
];
...
...
src/views/
allocationConfig/et86
/index.vue
→
src/views/
et86Config/et86RuleConfig
/index.vue
View file @
f6af92c
...
...
@@ -6,6 +6,9 @@
ref="ruleForm"
:formConfig="formConfig"
:queryForm="queryForm"
:inline="false"
formWidth="auto"
@blur="blurEvent"
/>
</el-col>
</el-row>
...
...
@@ -18,7 +21,6 @@
@sizeChange="handleSizeChange"
@currentChange="handleCurrentChange"
@search="searchBtn"
@restForm="restForm"
@add="addBtn"
>
</yl-table>
...
...
@@ -41,10 +43,12 @@ export default {
data() {
return {
formConfig: formConfig, // 表单配置项
queryForm: { // 表单参数
queryForm: {
// 表单参数
status: "有效",
},
pageConfig: { // 分页配置项
pageConfig: {
// 分页配置项
isPagination: true,
total: 0,
pageData: {
...
...
@@ -55,7 +59,6 @@ export default {
tableAttr: tableAttr, // table配置项
columns: columnHeader(this.viewRow, this.editRow, this.deleteRow), // 表头
tableData: [], // 表格数据
selectionList: [], // table复选框筛选集合
};
},
created() {
...
...
@@ -69,20 +72,14 @@ export default {
// ET86查询
queryFindAllEtesRules(params) {
this.tableAttr.loadingTable = true;
findAllEtesRules(params)
.then((res) => {
findAllEtesRules(params).then((res) => {
this.tableAttr.loadingTable = false;
const { code, data } = res;
if (code == 200) {
this.tableData = data.list;
this.pageConfig.total = data.total;
}
})
.catch(() => {});
},
// table复选框事件
selectionTable(e) {
this.selectionList = e;
}).catch(() => {});
},
//条数变化
handleSizeChange(e) {
...
...
@@ -96,14 +93,14 @@ export default {
this.searchBtn();
},
// 搜索
searchBtn(row) {
searchBtn() {
const { page, size } = this.pageConfig.pageData;
let params = {
createTimeStart: this.queryForm.startTime
? this.queryForm.startTime
: "",
createTimeEnd: this.queryForm.endTime ? this.queryForm.endTime : "",
limitStart: this.pageConfig.pageData.page,
limitSize: this.pageConfig.pageData.size,
originOfFlightNo: this.queryForm.originOfFlightNo,
updateTimeStart: this.queryForm.startTime ? this.queryForm.startTime : "",
updateTimeEnd: this.queryForm.endTime ? this.queryForm.endTime : "",
limitStart: (page - 1) * size,
limitSize: size,
status: this.queryForm.status,
};
if (this.queryForm.status == "有效") {
...
...
@@ -133,7 +130,7 @@ export default {
query: {
name: "view",
id: row.id,
status: row.status
status: row.status
,
},
});
},
...
...
@@ -144,7 +141,7 @@ export default {
query: {
name: "edit",
id: row.id,
status: row.status
status: row.status
,
},
});
},
...
...
@@ -156,17 +153,21 @@ export default {
type: "warning",
center: true,
}).then(() => {
deleteEtesRuleById({ id: row.id }).then(res=>
{
deleteEtesRuleById({ id: row.id }).then((res) =>
{
const { code, msg } = res;
if (code == 200) {
this.searchBtn();
this.msgSuccess("删除成功!");
}else
{
} else
{
this.msgError(msg || "删除失败");
}
})
});
}).catch(() => {});
},
// 失焦事件
blurEvent({ originOfFlightNo }){
this.queryForm.originOfFlightNo = this.upCase(originOfFlightNo)
}
},
};
</script>
...
...
src/views/
allocationConfig/et86
/tableConfig.js
→
src/views/
et86Config/et86RuleConfig
/tableConfig.js
View file @
f6af92c
...
...
@@ -19,15 +19,15 @@ export const tableAttr = {
loading
:
false
,
event
:
"search"
,
},
{
type
:
"info"
,
icon
:
""
,
btnName
:
"重置"
,
size
:
"mini"
,
round
:
false
,
loading
:
false
,
event
:
"restForm"
,
},
//
{
//
type: "info",
//
icon: "",
//
btnName: "重置",
//
size: "mini",
//
round: false,
//
loading: false,
//
event: "restForm",
//
},
{
type
:
"primary"
,
icon
:
"el-icon-plus"
,
...
...
@@ -42,12 +42,6 @@ export const tableAttr = {
};
export
const
columnHeader
=
(
viewRow
,
editRow
,
deleteRow
)
=>
[
{
type
:
"selection"
,
align
:
"center"
,
prop
:
"selection"
,
width
:
"50"
,
},
{
type
:
"index"
,
label
:
"序号"
,
prop
:
"id"
,
...
...
@@ -55,26 +49,20 @@ export const columnHeader = (viewRow, editRow, deleteRow) => [
width
:
"50"
,
},
{
label
:
"原航班
号
"
,
label
:
"原航班"
,
prop
:
"originOfFlightNo"
,
align
:
"center"
,
minWidth
:
10
0
,
minWidth
:
8
0
,
},
{
label
:
"
顺位
航班"
,
label
:
"
配载
航班"
,
prop
:
"rankFltNoStr"
,
align
:
"center"
,
minWidth
:
100
,
},
{
label
:
"URSA包含"
,
prop
:
"includeUrsa"
,
align
:
"center"
,
minWidth
:
100
,
},
{
label
:
"URSA不包含"
,
prop
:
"notIncludeUrsa"
,
label
:
"航线"
,
prop
:
"rankFltRouteStr"
,
align
:
"center"
,
minWidth
:
100
,
},
...
...
@@ -82,43 +70,30 @@ export const columnHeader = (viewRow, editRow, deleteRow) => [
label
:
"状态"
,
prop
:
"status"
,
align
:
"center"
,
minWidth
:
10
0
,
minWidth
:
8
0
,
render
:
(
h
,
params
)
=>
{
const
{
row
}
=
params
;
return
h
(
"div"
,
`
${
state
[
row
.
status
]}
`
);
},
},
{
label
:
"创建时间"
,
prop
:
"createTime"
,
align
:
"center"
,
minWidth
:
100
,
sortable
:
true
,
"sort-method"
:
(
a
,
b
)
=>
b
.
createTime
-
a
.
createTime
,
},
{
label
:
"创建人"
,
prop
:
"createUserName"
,
align
:
"center"
,
minWidth
:
100
,
},
{
label
:
"修改时间"
,
prop
:
"updateTime"
,
align
:
"center"
,
minWidth
:
100
,
minWidth
:
120
,
// "sort-method": (a, b) => b.createTime - a.createTime,
},
{
label
:
"修改人"
,
prop
:
"updateUserName"
,
align
:
"center"
,
minWidth
:
10
0
,
minWidth
:
8
0
,
},
{
label
:
"操作"
,
prop
:
"operate"
,
align
:
"center"
,
minWidth
:
12
0
,
minWidth
:
12
5
,
fixed
:
"right"
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
[
...
...
Please
register
or
login
to post a comment