|
|
@ -116,17 +116,14 @@ import '@/assets/less/TableExpand.less' |
|
|
|
import {mixinDevice} from '@/utils/mixin' |
|
|
|
import {mixinDevice} from '@/utils/mixin' |
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
|
|
|
import ProjectxModal from './modules/ProjectxModal' |
|
|
|
import ProjectxModal from './modules/ProjectxModal' |
|
|
|
import JEllipsis from '@/components/jeecg/JEllipsis' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'ProjectxList', //添加用户 |
|
|
|
name: 'ProjectxList', //添加用户 |
|
|
|
mixins: [JeecgListMixin, mixinDevice], |
|
|
|
mixins: [JeecgListMixin, mixinDevice], |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
ProjectxModal, |
|
|
|
ProjectxModal |
|
|
|
JEllipsis, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
let ellipsis = (v, l = 20) => (<j-ellipsis value={v} length={l}/>) |
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
description: '项目管理 管理项目基本信息管理页面', |
|
|
|
description: '项目管理 管理项目基本信息管理页面', |
|
|
|
// 表头 |
|
|
|
// 表头 |
|
|
@ -144,14 +141,12 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '项目中文名称', |
|
|
|
title: '项目中文名称', |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
dataIndex: 'projectName', |
|
|
|
dataIndex: 'projectName' |
|
|
|
customRender: (t)=>ellipsis(t) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '项目英文名称', |
|
|
|
title: '项目英文名称', |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
dataIndex: 'projectEnName', |
|
|
|
dataIndex: 'projectEnName', |
|
|
|
customRender: (t)=>ellipsis(t) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '项目编码', |
|
|
|
title: '项目编码', |
|
|
|