27373
This commit is contained in:
56
src/apps/AppIntegralAudit/AppIntegralAudit.vue
Normal file
56
src/apps/AppIntegralAudit/AppIntegralAudit.vue
Normal file
@@ -0,0 +1,56 @@
|
||||
<template>
|
||||
<div class="AppIntegralAudit">
|
||||
<component
|
||||
:is="component"
|
||||
@change="onChange"
|
||||
:params="params">
|
||||
</component>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Detail from './detail'
|
||||
|
||||
export default {
|
||||
name: 'AppIntegralAudit',
|
||||
appName: '积分审核',
|
||||
|
||||
data() {
|
||||
return {
|
||||
component: 'Detail',
|
||||
params: {},
|
||||
}
|
||||
},
|
||||
|
||||
onShow() {
|
||||
document.title = '积分审核'
|
||||
},
|
||||
|
||||
components: {Detail},
|
||||
|
||||
methods: {
|
||||
onChange(e) {
|
||||
this.params = e.params
|
||||
this.component = e.type
|
||||
},
|
||||
onShow() {
|
||||
document.title = "特殊人群"
|
||||
// this.refresh = false
|
||||
// this.$nextTick(() => {
|
||||
// this.refresh = true
|
||||
// })
|
||||
// }
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.AppIntegralAudit {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
93
src/apps/AppIntegralAudit/detail.vue
Normal file
93
src/apps/AppIntegralAudit/detail.vue
Normal file
@@ -0,0 +1,93 @@
|
||||
<template>
|
||||
<div class="detail">
|
||||
<!-- tab栏 -->
|
||||
<div class="tab-select">
|
||||
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{item}}<span></span></div>
|
||||
</div>
|
||||
|
||||
<!-- 搜索框 -->
|
||||
<div class="search-box">
|
||||
<div class="integral-types" @click="changeType">积分类型<u-icon name="arrow-down"></u-icon></div>
|
||||
<u-search placeholder="请输入关键字" v-model="keyword" :show-action="false"></u-search>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'detail',
|
||||
data () {
|
||||
return {
|
||||
tabs: ['全部', '待审核', '已审核'],
|
||||
tabIndex: 0
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeType() {},
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '积分审核'
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.detail {
|
||||
|
||||
.tab-select {
|
||||
width: 100%;
|
||||
height: 96px;
|
||||
line-height: 96px;
|
||||
background: #3975C6;
|
||||
display: flex;
|
||||
|
||||
.item{
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #CDDCF0;
|
||||
}
|
||||
|
||||
.active{
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
color: #fff;
|
||||
span{
|
||||
width: 48px;
|
||||
height: 4px;
|
||||
background: #FFF;
|
||||
position: absolute;
|
||||
bottom: 14px;
|
||||
left: 50%;
|
||||
margin-left: -24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-box {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
background-color: #FFFFFF;
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.integral-types {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
</style>
|
||||
@@ -55,7 +55,6 @@
|
||||
<div class="cardss">
|
||||
<div class="cardss-left">
|
||||
<span>
|
||||
<!-- {{ item.systemExplain }} -->
|
||||
<!-- {{ item.girdMemberName && item.girdMemberName.substring(item.girdMemberName.length, item.girdMemberName.length - 2) }} -->
|
||||
<AiOpenData v-if="item.openId" type="userName" :openid="item.openId" style="display: inline-block;"/>
|
||||
</span>
|
||||
@@ -67,7 +66,7 @@
|
||||
<div class="cardsss-right-left">
|
||||
<div class="cardssss-right-left-top">
|
||||
<!-- <span>{{ item.systemExplain }}</span> -->
|
||||
<AiOpenData v-if="item.systemExplain" type="userName" :openid="item.systemExplain" />
|
||||
<AiOpenData v-if="data.openId" type="userName" :openid="data.openId" style="display: inline-block;" />
|
||||
<div style="color: #2ea222; font-size: 16px; margin-top: 5px">
|
||||
{{ $dict.getLabel('clapDoStatus', item.doStatus) }}
|
||||
</div>
|
||||
@@ -92,7 +91,6 @@
|
||||
<div class="fixedBtn">
|
||||
<div class="status00" v-if="data.eventStatus == 0">
|
||||
<div class="columns border-r" @click="toContent(4)">
|
||||
<!-- <img src="./components/img/zhuanjiao.png" alt="" /> -->
|
||||
<span class="hint">转交事件</span>
|
||||
</div>
|
||||
|
||||
@@ -411,5 +409,8 @@ uni-page-body {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
::v-deep AiOpenData {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -67,6 +67,7 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||
console.log(this.datas);
|
||||
this.pages = res.data.pages
|
||||
this.$forceUpdate()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user