Commit 9b95bd1c by wangzhihui

fixed

1 parent 0e2ed548
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
name: 'batchNo', name: 'batchNo',
type: 'input', type: 'input',
isClear: true, isClear: true,
maxlength: 10 maxlength: 20
}, },
{ {
label: 'OA审批编号', label: 'OA审批编号',
......
<!--
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2025-08-25 17:33:09
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2025-09-09 18:11:46
* @FilePath: \scrm-micro-points\src\views\withdraw\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template> <template>
<div> <div>
...@@ -14,22 +22,41 @@ export default { ...@@ -14,22 +22,41 @@ export default {
data() { data() {
return { return {
tabId: '1', tabId: '1',
tabName: 'withdrawList',
tabPaneList: [ tabPaneList: [
{ name: '1', label: '提现列表' }, { name: '1', label: '提现列表' },
{ name: '2', label: '积分提现审批' } { name: '2', label: '积分提现审批' }
] ]
} }
}, },
created() {
this.tabId = this.$route.query.type ? this.$route.query.type + '' : '1'
},
computed: {
tabName() {
let sname
switch (this.tabId) {
case '1':
sname = 'withdrawList'
break
case '2':
sname = 'approveList'
break
}
return sname
}
},
mounted() {}, mounted() {},
methods: { methods: {
changeTab() { changeTab(e,i) {
const arr = { // const arr = {
1: 'withdrawList', // 1: 'withdrawList',
2: 'approveList' // 2: 'approveList'
} // }
this.tabName = arr[+this.tabId] // this.tabName = arr[+this.tabId]
this.$router.push({
path: '/withdraw/index',
query: { type: e.name }
})
} }
} }
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<h2>积分提现列表</h2> <h2>积分提现列表</h2>
<div> <div>
<div class="select-wrap flex"> <div class="select-wrap flex">
<el-button size="small" type="primary" style="margin-right: 10px" plain @click="handleAllBatch(true)">全部生成批次</el-button> <el-button size="small" style="margin-right: 10px" @click="handleAllBatch(true)">全部生成批次</el-button>
<el-select v-model="operaForm.batch" placeholder="批量操作" class="selectBtn"> <el-select v-model="operaForm.batch" placeholder="批量操作" class="selectBtn">
<el-option v-for="(item, index) in batchOptions" :key="index" :label="item" :value="index" @click.native="handleSelectBtn(index, 'batch')"></el-option> <el-option v-for="(item, index) in batchOptions" :key="index" :label="item" :value="index" @click.native="handleSelectBtn(index, 'batch')"></el-option>
</el-select> </el-select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!