This commit is contained in:
qsh
2024-06-19 11:56:00 +08:00
parent 2017baaf03
commit ea7fae45e3
8 changed files with 312 additions and 17 deletions

View File

@@ -29,6 +29,8 @@
<el-date-picker
v-model="searchForm.dealDate"
type="daterange"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
range-separator="-"
start-placeholder="登记日期"
end-placeholder="登记日期"
@@ -48,6 +50,8 @@
<el-date-picker
v-model="searchForm.applyTime"
type="daterange"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
range-separator="-"
start-placeholder="申请日期"
end-placeholder="申请日期"
@@ -92,7 +96,7 @@
text
v-if="row.state == 1"
v-hasPermi="['clue:order:return-audit']"
@click="handleAudit(row.id)"
@click="handleAudit(row)"
>
审核
</el-button>
@@ -105,6 +109,8 @@
:total="total"
@pagination="getList"
/>
<DialogFeebackAudit ref="feebackDialog" @success="getList" />
</div>
</template>
@@ -113,9 +119,13 @@ import * as FeebackApi from '@/api/clue/payment'
import { getSimpleUserList as getUserOption } from '@/api/system/user'
import { useUserStore } from '@/store/modules/user'
import DialogFeebackAudit from './DialogFeebackAudit.vue'
const userStore = useUserStore()
const message = useMessage() // 消息弹窗
const feebackDialog = ref()
const currentUserId = userStore.getUser.id
const searchForm = ref({
@@ -186,8 +196,8 @@ async function handleCancel(id) {
console.log(err)
}
}
function handleAudit(id) {
console.log(id)
function handleAudit(row) {
feebackDialog.value.open(row)
}
function getOptions() {