|
|
@ -50,13 +50,38 @@ |
|
|
|
class="j-table-force-nowrap" |
|
|
|
class="j-table-force-nowrap" |
|
|
|
@change="handleTableChange"> |
|
|
|
@change="handleTableChange"> |
|
|
|
|
|
|
|
|
|
|
|
<template slot="htmlSlot" slot-scope="text"> |
|
|
|
<span slot="htmlSlot" slot-scope="text, record"> |
|
|
|
<div v-html="text"></div> |
|
|
|
<!-- <div v-html="text"></div>--> |
|
|
|
</template> |
|
|
|
<a @click="functionManage(record)">功能</a> |
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="tablexManage(record)">实体</a> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
|
|
|
|
<a @click="fuzhiProject(record)">复制</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="fabu(record)">发布</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="kaishi(record)">开始</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="tijiao(record)">提交</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="chehui(record)">撤回</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="bugfankui(record)">BUG反馈</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
|
|
|
|
<a @click="shenhe(record)">审核</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
<a @click="handleEdit(record)">编辑</a> |
|
|
|
<a @click="handleEdit(record)">编辑</a> |
|
|
|
|
|
|
|
|
|
|
|
<a-divider type="vertical"/> |
|
|
|
<a-divider type="vertical"/> |
|
|
|
<a @click="handleDetail(record)">详情</a> |
|
|
|
<a @click="handleDetail(record)">详情</a> |
|
|
|
|
|
|
|
|
|
|
@ -71,6 +96,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<modulex-modal ref="modalForm" @ok="modalFormOk"></modulex-modal> |
|
|
|
<modulex-modal ref="modalForm" @ok="modalFormOk"></modulex-modal> |
|
|
|
|
|
|
|
<bugx-modal ref="BugxModal"></bugx-modal> |
|
|
|
|
|
|
|
|
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -81,10 +108,14 @@ import {mixinDevice} from '@/utils/mixin' |
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
|
|
|
import ModulexModal from './modules/ModulexModal' |
|
|
|
import ModulexModal from './modules/ModulexModal' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import {getAction} from "@api/manage"; |
|
|
|
|
|
|
|
import BugxModal from "@views/modulex/modules/BugxModal"; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'ModulexList', |
|
|
|
name: 'ModulexList', |
|
|
|
mixins: [JeecgListMixin, mixinDevice], |
|
|
|
mixins: [JeecgListMixin, mixinDevice], |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
|
|
|
|
BugxModal, |
|
|
|
ModulexModal |
|
|
|
ModulexModal |
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
@ -103,12 +134,12 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '上级模块id', |
|
|
|
title: '上级模块', |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
dataIndex: 'pid_dictText' |
|
|
|
dataIndex: 'pid_dictText' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '项目id', |
|
|
|
title: '项目', |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
dataIndex: 'projectId_dictText' |
|
|
|
dataIndex: 'projectId_dictText' |
|
|
|
}, |
|
|
|
}, |
|
|
@ -151,9 +182,9 @@ export default { |
|
|
|
title: '发布时间', |
|
|
|
title: '发布时间', |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
dataIndex: 'publishTime', |
|
|
|
dataIndex: 'publishTime', |
|
|
|
customRender: function (text) { |
|
|
|
// customRender: function (text) { |
|
|
|
return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text) |
|
|
|
// return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text) |
|
|
|
} |
|
|
|
// } |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '任务时长', |
|
|
|
title: '任务时长', |
|
|
@ -211,6 +242,14 @@ export default { |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
dataIndex: 'verisonStatus_dictText' |
|
|
|
dataIndex: 'verisonStatus_dictText' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
title: '管理', |
|
|
|
|
|
|
|
dataIndex: 'htmlSlot', |
|
|
|
|
|
|
|
align: "center", |
|
|
|
|
|
|
|
fixed: "right", |
|
|
|
|
|
|
|
// width: 147, |
|
|
|
|
|
|
|
scopedSlots: {customRender: 'htmlSlot'} |
|
|
|
|
|
|
|
}, |
|
|
|
// { |
|
|
|
// { |
|
|
|
// title:'版本号', |
|
|
|
// title:'版本号', |
|
|
|
// align:"center", |
|
|
|
// align:"center", |
|
|
@ -221,7 +260,7 @@ export default { |
|
|
|
dataIndex: 'action', |
|
|
|
dataIndex: 'action', |
|
|
|
align: "center", |
|
|
|
align: "center", |
|
|
|
fixed: "right", |
|
|
|
fixed: "right", |
|
|
|
width: 147, |
|
|
|
// width: 147, |
|
|
|
scopedSlots: {customRender: 'action'} |
|
|
|
scopedSlots: {customRender: 'action'} |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
@ -246,6 +285,79 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
shenhe(record) { |
|
|
|
|
|
|
|
getAction('/modulex/modulex/shenhe', {id: record.id}).then((res) => { |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
//重新计算分页问题 |
|
|
|
|
|
|
|
this.$message.success(res.result); |
|
|
|
|
|
|
|
this.loadData(); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
bugfankui: function (record) { |
|
|
|
|
|
|
|
this.$refs.BugxModal.add(record.id); |
|
|
|
|
|
|
|
this.$refs.BugxModal.title = "BUG反馈"; |
|
|
|
|
|
|
|
this.$refs.BugxModal.disableSubmit = false; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
chehui(record) { |
|
|
|
|
|
|
|
getAction('/modulex/modulex/cehui', {id: record.id}).then((res) => { |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
//重新计算分页问题 |
|
|
|
|
|
|
|
this.$message.success(res.result); |
|
|
|
|
|
|
|
this.loadData(); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
tijiao(record) { |
|
|
|
|
|
|
|
getAction('/modulex/modulex/tijiao', {id: record.id}).then((res) => { |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
//重新计算分页问题 |
|
|
|
|
|
|
|
this.$message.success(res.result); |
|
|
|
|
|
|
|
this.loadData(); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
kaishi(record) { |
|
|
|
|
|
|
|
getAction('/modulex/modulex/kaishi', {id: record.id}).then((res) => { |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
//重新计算分页问题 |
|
|
|
|
|
|
|
this.$message.success(res.result); |
|
|
|
|
|
|
|
this.loadData(); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
fabu(record) { |
|
|
|
|
|
|
|
getAction('/modulex/modulex/fabu', {id: record.id}).then((res) => { |
|
|
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
|
|
//重新计算分页问题 |
|
|
|
|
|
|
|
this.$message.success(res.result); |
|
|
|
|
|
|
|
this.loadData(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
functionManage(record) { |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
path: '/src/views/functionx/FunctionxList', |
|
|
|
|
|
|
|
query: { |
|
|
|
|
|
|
|
moduleid: record.id |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// query: {id: '123456'} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
tablexManage(record) { |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
path: '/src/views/tablex/TablexList', |
|
|
|
|
|
|
|
//query: {id: '123456'} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
initDictConfig() { |
|
|
|
initDictConfig() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
getSuperFieldList() { |
|
|
|
getSuperFieldList() { |
|
|
|