修改标协维护成员 参数
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-form-item label="企业名称">
|
<a-form-item label="企业名称">
|
||||||
<a-input placeholder="请输入企业名称" v-model="queryParam.tableName"></a-input>
|
<a-input placeholder="请输入企业名称" v-model="queryParam.companyName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
@@ -47,18 +47,24 @@
|
|||||||
class="j-table-force-nowrap"
|
class="j-table-force-nowrap"
|
||||||
@change="handleTableChange">
|
@change="handleTableChange">
|
||||||
|
|
||||||
<template slot="htmlSlot" slot-scope="text,record">
|
|
||||||
<div class="primary-color" @click="handleSafeguardMember(record)" v-html="text"></div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template slot="detail" slot-scope="text,record">
|
<template slot="detail" slot-scope="text,record">
|
||||||
<div @click="openDetailModal(record)" class="color-blue">企业名称</div>
|
<div @click="openDetailModal(record)" class="color-blue">{{ text }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template slot="text" slot-scope="text">
|
<template slot="text" slot-scope="text">
|
||||||
<j-ellipsis v-if="text" :value="text" :length="20"></j-ellipsis>
|
<j-ellipsis v-if="text" :value="text" :length="20"></j-ellipsis>
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template slot="status" slot-scope="text,record">
|
||||||
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template slot="status-pack" slot-scope="text,record">
|
||||||
|
<status-slot :statu-obj="record" :status-no="text"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
<span slot="action" slot-scope="text, record" class="action-span-cell">
|
<span slot="action" slot-scope="text, record" class="action-span-cell">
|
||||||
<a @click="handleEdit(record)">编辑</a>
|
<a @click="handleEdit(record)">编辑</a>
|
||||||
<a @click="handleDelete(record.id)">删除</a>
|
<a @click="handleDelete(record.id)">删除</a>
|
||||||
@@ -74,12 +80,15 @@
|
|||||||
import {mixinDevice} from '@/utils/mixin'
|
import {mixinDevice} from '@/utils/mixin'
|
||||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||||
import ProjectDetailModal from "@comp/ProjectDetailModal";
|
import ProjectDetailModal from "@comp/ProjectDetailModal";
|
||||||
|
import "@/assets/less/TableExpand.less";
|
||||||
|
import StatusSlot from "@comp/tools/StatusSlot";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "SafeguardStardsMemberList",
|
name: "SafeguardStardsMemberList",
|
||||||
mixins: [JeroListMixin, mixinDevice],
|
mixins: [JeroListMixin, mixinDevice],
|
||||||
components:{
|
components:{
|
||||||
ProjectDetailModal,
|
ProjectDetailModal,
|
||||||
|
StatusSlot
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -108,32 +117,27 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '会员类型',
|
title: '会员类型',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'memberType',
|
dataIndex: 'memberType_dictText',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '联系人',
|
title: '联系人',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'liaisonMan',
|
dataIndex: 'liaisonMan',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '邮箱',
|
title: '邮箱',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'email',
|
dataIndex: 'email',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '手机',
|
title: '手机',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'mobile',
|
dataIndex: 'mobile',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '会员状态',
|
title: '会员状态',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'memberStatus',
|
dataIndex: 'memberStatus_dictText',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '注册时间',
|
title: '注册时间',
|
||||||
@@ -145,38 +149,43 @@ export default {
|
|||||||
title: '打包',
|
title: '打包',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'pack',
|
dataIndex: 'pack',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
scopedSlots: {customRender: 'status-pack'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '需要发票',
|
title: '需要发票',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'invoiceRequirements',
|
dataIndex: 'invoiceRequirements',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
scopedSlots: {customRender: 'status-pack'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '到账',
|
title: '到账',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'inAccount',
|
dataIndex: 'inAccount',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
scopedSlots: {customRender: 'status'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '开票',
|
title: '开票',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'makeInvoice',
|
dataIndex: 'makeInvoice',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
scopedSlots: {customRender: 'status'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '邮寄',
|
title: '邮寄',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'mail',
|
dataIndex: 'mail',
|
||||||
scopedSlots: {customRender: 'htmlSlot'}
|
scopedSlots: {customRender: 'status'}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
disableMixinCreated: true,
|
||||||
url: {
|
url: {
|
||||||
list: "/member/tbMemberProjectSubitem/page",
|
list: "/member/tbMemberProjectSubitem/page",
|
||||||
exportXlsUrl: "/member/tbMemberProjectSubitem/exportXls",
|
exportXlsUrl: "/member/tbMemberProjectSubitem/exportXls",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.filters.projectId = this.$route.query.id
|
||||||
|
this.loadData(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -115,7 +115,9 @@ export default {
|
|||||||
console.log(1)
|
console.log(1)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/incomePayments/memberManage/SafeguardStardsMemberList',
|
path: '/incomePayments/memberManage/SafeguardStardsMemberList',
|
||||||
query: {}
|
query: {
|
||||||
|
id:record.id
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user