组织换届
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="page" :class="tabIndex == 1 ? 'bg-369' : 'bg-fff'">
|
||||
<view class="AppOrganizational" :class="tabIndex == 1 ? 'bg-369' : 'bg-fff'">
|
||||
<div class="detail-top">
|
||||
<p>{{ dataInfo.organizationName || '-' }}</p>
|
||||
<div>成立时间:{{ formatTime(dataInfo.createOrganizationTime) || '-' }}</div>
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
dataInfo: {}
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
onShow() {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#e60012",
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$instance.post(`/app/apporganizationchangeconfig/queryDetailByOrganizationIdFromApplet`, null, {
|
||||
this.$instance.post(`/app/apporganizationgeneralelection/queryDetailByOrganizationId`, null, {
|
||||
params: {organizationId: this.user.partyOrgId}
|
||||
}).then(res => {
|
||||
this.dataInfo = res.data
|
||||
@@ -76,7 +76,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getHistory() {
|
||||
this.$instance.post(`/app/apporganizationgeneralelection/list-forwx?organizationId=${this.user.partyId}`).then(res => {
|
||||
this.$instance.post(`/app/apporganizationgeneralelection/list-forwx?organizationId=${this.user.partyOrgId}`).then(res => {
|
||||
if (res && res.data) {
|
||||
this.historyList = res.data
|
||||
}
|
||||
@@ -94,9 +94,7 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
|
||||
.page {
|
||||
.AppOrganizational {
|
||||
.detail-top {
|
||||
padding: 32px;
|
||||
background-color: #E60012;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<view class="detail">
|
||||
<div class="line-bg"></div>
|
||||
<div class="organization-detail">
|
||||
<p>当前届次:{{dataInfo.sessionTime || '-'}}</p>
|
||||
@@ -36,8 +36,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scope>
|
||||
|
||||
.page {
|
||||
.detail {
|
||||
background-color: #fff;
|
||||
.line-bg{
|
||||
height: 20rpx;
|
||||
|
||||
Reference in New Issue
Block a user