积分审核
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
<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="showType = true">
|
||||
<!-- <div class="integral-types" @click="showType = true">
|
||||
<span>{{ type? type : '积分类型' }}</span>
|
||||
<u-icon name="arrow-down"></u-icon>
|
||||
</div>
|
||||
</div> -->
|
||||
<u-search placeholder="请输入关键字" v-model="keyword" :show-action="false" @search="search" @clear="getList()"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="card-item" @click="toDetail(item)" v-for="(item,index) in integralList" :key="index">
|
||||
<div class="card-title">{{ item.description }}</div>
|
||||
<div class="card-name">
|
||||
<div class="name">{{ $dict.getLabel('atWillReportType',item.applyIntegralType) }}</div>
|
||||
<!-- <div class="name">{{ $dict.getLabel('atWillReportType',item.applyIntegralType) }}</div> -->
|
||||
<div class="time">{{ item.createTime }}</div>
|
||||
</div>
|
||||
<div class="card-type">
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<!-- 通过 -->
|
||||
<div class="integral-select" v-if="opts === 1">
|
||||
<div class="integral-item" @click="isShowType = true">
|
||||
<!-- <div class="integral-item" @click="isShowType = true">
|
||||
<div class="label"><span>*</span>积分类别</div>
|
||||
<div class="value" >
|
||||
<span :style="{color:data.auditIntegralType ? '' : '#999'}">{{ $dict.getLabel('atWillReportType',data.auditIntegralType) || '请选择' }}</span>
|
||||
@@ -45,10 +45,12 @@
|
||||
<span :style="{color:data.ruleName ? '' : '#999'}">{{ data.ruleName || '请选择' }}</span>
|
||||
<u-icon name="arrow-right" color="#E1E2E3"/>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="integral-item">
|
||||
<div class="label"><span style="margin-right: 8px;"></span>积分调整</div>
|
||||
<div style="color: #E6736E;margin-right: 8px; font-weight: 600;" class="value">{{ data.integral }}</div>
|
||||
<div class="label"><span>*</span><span style="margin-right: 8px;"></span>积分调整</div>
|
||||
<div style="margin-right: 8px;" class="value">
|
||||
<u-input v-model="data.integral" type="number" input-align="right" placeholder="请输入积分" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 不通过 -->
|
||||
@@ -75,14 +77,14 @@
|
||||
<div>积分审核</div>
|
||||
<div>通过</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<!-- <div class="item">
|
||||
<div>积分类别</div>
|
||||
<div>{{ $dict.getLabel('atWillReportType', form.auditIntegralType) }}</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div>积分事项</div>
|
||||
<div>{{ form.auditRuleName }}</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="item">
|
||||
<div>积分调整</div>
|
||||
<div style="color: #E6736E;">{{ form.auditIntegral }}</div>
|
||||
@@ -194,11 +196,14 @@ export default {
|
||||
},
|
||||
submit() {
|
||||
if(this.opts==1){
|
||||
if(!this.data.auditIntegralType) {
|
||||
return this.$u.toast('请选择积分类别')
|
||||
}
|
||||
if(!this.data.ruleName) {
|
||||
return this.$u.toast('请选择积分事项')
|
||||
// if(!this.data.auditIntegralType) {
|
||||
// return this.$u.toast('请选择积分类别')
|
||||
// }
|
||||
// if(!this.data.ruleName) {
|
||||
// return this.$u.toast('请选择积分事项')
|
||||
// }
|
||||
if(!this.data.integral) {
|
||||
return this.$u.toast('请输入积分调整')
|
||||
}
|
||||
}
|
||||
if(this.opts==0){
|
||||
|
||||
Reference in New Issue
Block a user