|
@@ -70,7 +70,7 @@ function beforeCloseDialog(action) {
|
|
function dialogSubmit() {
|
|
function dialogSubmit() {
|
|
const transObj = {
|
|
const transObj = {
|
|
sh_id: operaItem.value.xm_id,
|
|
sh_id: operaItem.value.xm_id,
|
|
- sh_status: auditchecked.value, // 待审核 1通过 2驳回
|
|
|
|
|
|
+ sh_status: auditchecked.value, //
|
|
sh_reason: sh_reason.value, // 处理意见
|
|
sh_reason: sh_reason.value, // 处理意见
|
|
};
|
|
};
|
|
showLoadingToast({
|
|
showLoadingToast({
|
|
@@ -93,60 +93,34 @@ function dialogSubmit() {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<template>
|
|
<template>
|
|
- <van-search
|
|
|
|
- v-model="param.keyword"
|
|
|
|
- :clearable="false"
|
|
|
|
- show-action
|
|
|
|
- placeholder="请输入搜索关键词"
|
|
|
|
- @search="onClickSearch"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-search v-model="param.keyword" :clearable="false" show-action placeholder="请输入搜索关键词" @search="onClickSearch">
|
|
<template #action>
|
|
<template #action>
|
|
<div @click="onClickSearch">搜索</div>
|
|
<div @click="onClickSearch">搜索</div>
|
|
</template>
|
|
</template>
|
|
</van-search>
|
|
</van-search>
|
|
- <van-list
|
|
|
|
- v-model:loading="loadingMyAuditFor"
|
|
|
|
- :finished="finishedMyAuditFor"
|
|
|
|
- finished-text="没有更多了"
|
|
|
|
- @load="onLoadMyAuditFor"
|
|
|
|
- >
|
|
|
|
- <van-cell
|
|
|
|
- v-for="(item, index) in listMyAuditFor"
|
|
|
|
- :key="item"
|
|
|
|
- :title="`${index + 1}.\u00A0\u00A0${item.xm_name}`"
|
|
|
|
- @click="cellClick(item.xm_id)"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-list v-model:loading="loadingMyAuditFor" :finished="finishedMyAuditFor" finished-text="没有更多了"
|
|
|
|
+ @load="onLoadMyAuditFor">
|
|
|
|
+ <van-cell v-for="(item, index) in listMyAuditFor" :key="item" :title="`${index + 1}.\u00A0\u00A0${item.xm_name}`"
|
|
|
|
+ @click="cellClick(item.xm_id)">
|
|
<template #value>
|
|
<template #value>
|
|
- <van-button
|
|
|
|
- v-if="
|
|
|
|
- item.xm_status_option_k == '1' ||
|
|
|
|
- item.xm_status_option_k == '2' ||
|
|
|
|
- item.xm_status_option_k == '3'
|
|
|
|
- "
|
|
|
|
- class="rightButton"
|
|
|
|
- type="primary"
|
|
|
|
- @click.stop="clickAudit(item)"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-button v-if="item.xm_status_option_k == '1' ||
|
|
|
|
+ item.xm_status_option_k == '2'
|
|
|
|
+ " class="rightButton" type="primary" @click.stop="clickAudit(item)">
|
|
审核
|
|
审核
|
|
</van-button>
|
|
</van-button>
|
|
- <van-button
|
|
|
|
- v-if="item.xm_status_option_k > '3' && item.xm_status_option_k <= '5'"
|
|
|
|
- color="#BDBDBD"
|
|
|
|
- class="rightButton"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-button v-if="item.xm_status_option_k === '3'" color="#BDBDBD" class="rightButton">
|
|
|
|
+ 审核中
|
|
|
|
+ </van-button>
|
|
|
|
+ <van-button v-if="item.xm_status_option_k > '3' && item.xm_status_option_k <= '5'" color="#BDBDBD"
|
|
|
|
+ class="rightButton">
|
|
已审核
|
|
已审核
|
|
</van-button>
|
|
</van-button>
|
|
</template>
|
|
</template>
|
|
</van-cell>
|
|
</van-cell>
|
|
</van-list>
|
|
</van-list>
|
|
|
|
|
|
- <van-dialog
|
|
|
|
- v-model:show="auditDialogShow"
|
|
|
|
- title="审核"
|
|
|
|
- confirm-button-text="提交"
|
|
|
|
- show-cancel-button
|
|
|
|
- :before-close="beforeCloseDialog"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-dialog v-model:show="auditDialogShow" title="审核" confirm-button-text="提交" show-cancel-button
|
|
|
|
+ :before-close="beforeCloseDialog">
|
|
<div class="dialogDiv">
|
|
<div class="dialogDiv">
|
|
<van-radio-group v-model="auditchecked">
|
|
<van-radio-group v-model="auditchecked">
|
|
<van-cell-group inset>
|
|
<van-cell-group inset>
|
|
@@ -162,14 +136,7 @@ function dialogSubmit() {
|
|
</van-cell>
|
|
</van-cell>
|
|
</van-cell-group>
|
|
</van-cell-group>
|
|
</van-radio-group>
|
|
</van-radio-group>
|
|
- <van-field
|
|
|
|
- v-if="auditchecked === '3'"
|
|
|
|
- v-model="sh_reason"
|
|
|
|
- rows="3"
|
|
|
|
- autosize
|
|
|
|
- type="textarea"
|
|
|
|
- placeholder="填写意见"
|
|
|
|
- />
|
|
|
|
|
|
+ <van-field v-if="auditchecked === '3'" v-model="sh_reason" rows="3" autosize type="textarea" placeholder="填写意见" />
|
|
</div>
|
|
</div>
|
|
</van-dialog>
|
|
</van-dialog>
|
|
</template>
|
|
</template>
|