会员项目接口修改

This commit is contained in:
fengachen
2021-08-27 09:36:08 +08:00
parent 9b3f0c3212
commit e1be3c5704
3 changed files with 31 additions and 18 deletions
@@ -144,7 +144,7 @@ export default {
this.$router.push({ this.$router.push({
path: '/incomePayments/memberManage/SafeguardMemberList', path: '/incomePayments/memberManage/SafeguardMemberList',
query: { query: {
record record:JSON.stringify(record)
} }
}) })
} }
@@ -2,28 +2,28 @@
<a-card :bordered="false"> <a-card :bordered="false">
<!-- 会员项目基本信息--> <!-- 会员项目基本信息-->
<div class="project-base-info"> <div class="project-base-info">
<section><--</section> <a-button class="btn-arrow-left" icon="arrow-left" @click="handleReback"></a-button>
<!-- <section class="project-base-info-title"></section>--> <!-- <section class="project-base-info-title"></section>-->
<h3>会员项目信息</h3> <h3>会员项目信息</h3>
<section class="project-base-info-content"> <section class="project-base-info-content">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :xl="6" :lg="4" :md="4" :sm="8"> <a-col :xl="6" :lg="4" :md="4" :sm="8">
<label>会员项目:</label><span></span> <label>会员项目:</label><span>{{currentInfo.projectName}}</span>
</a-col> </a-col>
<a-col :xl="4" :lg="4" :md="4" :sm="8"> <a-col :xl="4" :lg="4" :md="4" :sm="8">
<label>负责人:</label><span></span> <label>负责人:</label><span>{{currentInfo.directorName}}</span>
</a-col> </a-col>
<a-col :xl="5" :lg="4" :md="4" :sm="8"> <a-col :xl="5" :lg="4" :md="4" :sm="8">
<label>收费标准:</label><span></span> <label>收费标准:</label><span>{{currentInfo.chargStandard}}</span>
</a-col> </a-col>
<a-col :xl="4" :lg="4" :md="4" :sm="8"> <a-col :xl="4" :lg="4" :md="4" :sm="8">
<label>收费通知号:</label><span></span> <label>收费通知号:</label><span>{{currentInfo.chargeNoticeNo}}</span>
</a-col> </a-col>
<a-col :xl="5" :lg="4" :md="4" :sm="8"> <a-col :xl="5" :lg="4" :md="4" :sm="8">
<label>收费通知:</label><span></span> <label>收费通知:</label><span>{{currentInfo.chargeNoticeFileId}}</span>
</a-col> </a-col>
<a-col :xl="8" :lg="8" :md="8" :sm="24"> <a-col :xl="8" :lg="8" :md="8" :sm="24">
<label>备注:</label><span></span> <label>备注:</label><span>{{currentInfo.remark}}</span>
</a-col> </a-col>
</a-row> </a-row>
</section> </section>
@@ -184,13 +184,14 @@ export default {
scopedSlots: {customRender: 'action'} scopedSlots: {customRender: 'action'}
}, },
], ],
// 当前项目基本信息
currentInfo: {}, currentInfo: {},
url: { url: {
list: "/sys/confusion/page", list: "/jero/memberProjectSubitem/page",
delete: "/sys/confusion/delete", delete: "/jero/memberProjectSubitem/delete",
deleteBatch: "/sys/confusion/deleteBatch", deleteBatch: "/jero/memberProjectSubitem/deleteBatch",
exportXlsUrl: "/sys/confusion/exportXls", exportXlsUrl: "/jero/memberProjectSubitem/exportXls",
importExcelUrl: "/sys/confusion/importExcel", importExcelUrl: "jero/memberProjectSubitem/importExcel",
}, },
} }
}, },
@@ -200,9 +201,8 @@ export default {
}, },
}, },
created() { created() {
}, this.currentInfo = Object.assign({},JSON.parse(this.$route.query.record))
destroyed() { console.log("=====",this.currentInfo)
sessionStorage.removeItem('currentInfo', this.$route.query.record)
}, },
methods: { methods: {
/* /*
@@ -210,7 +210,14 @@ export default {
* */ * */
openDetail(record) { openDetail(record) {
this.$refs.projectDetail.open(record) this.$refs.projectDetail.open(record)
},
/*
* 返回上级
* */
handleReback(){
this.$router.go(-1)
} }
} }
} }
</script> </script>
@@ -230,4 +237,10 @@ export default {
color: dodgerblue; color: dodgerblue;
cursor: pointer; cursor: pointer;
} }
.btn-arrow-left {
border-radius: 50%;
color: #069f99;
border-color: #069f99;
margin-bottom: 10px;
}
</style> </style>
@@ -216,8 +216,8 @@ export default {
// 选中的会员单位 // 选中的会员单位
selectedCompany: {}, selectedCompany: {},
url: { url: {
add: '', add: "/jero/memberProjectSubitem/add",
edit: '' edit: "/jero/memberProjectSubitem/edit",
} }
} }
}, },