| | |
| | | export function orderBaseExport(params) { |
| | | return request({ |
| | | url: '/qyp/order/orderBaseExport', |
| | | responseType: "arraybuffer", |
| | | method: 'get', |
| | | params |
| | | }) |
| | |
| | | return request({ |
| | | url: '/qyp/order/orderExport', |
| | | method: 'get', |
| | | responseType: "arraybuffer", |
| | | params |
| | | }) |
| | | } |
| | |
| | | * @Author: 小明丶 |
| | | * @Date: 2020-05-11 17:38:01 |
| | | * @LastEditors: zhaoxiaoqiang 287285524@qq.com |
| | | * @LastEditTime: 2023-09-05 15:48:52 |
| | | * @LastEditTime: 2023-09-05 17:01:35 |
| | | * @Description: 账户管理 |
| | | --> |
| | | <template> |
| | |
| | | /**更新用户状态**/ |
| | | updateContract(params) { |
| | | let {userId,status} = params.row; |
| | | let data = { userId,status:status==1?0:1}; |
| | | let data = { userId,status}; |
| | | userManageDisabled(data).then(res => { |
| | | if(res) { |
| | | this.$notify({ |
| | |
| | | message: '状态更新成功', |
| | | type: 'success' |
| | | }) |
| | | //this.qureys() |
| | | this.qureys() |
| | | } |
| | | }).catch(err => {}) |
| | | }, |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </div> |
| | | <el-form-item style="text-align: right;"> |
| | | <!-- v-if='filterBtnById("150102")' --> |
| | | <el-button type="primary" style="margin-left: 10px;margin-bottom: 8px;" @click="onSearch">查 询</el-button> |
| | | <el-form-item style="text-align: right;" > |
| | | <el-button type="primary" v-if='filterBtnById("420101")' style="margin-left: 10px;margin-bottom: 8px;" @click="onSearch">查 询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | @getDataList="getDataList" |
| | | :exportUrl="{ |
| | | url: '/qyp/project/export', |
| | | powerId: '', |
| | | powerId: '420104', |
| | | name: '项目列表', |
| | | }" |
| | | ></Etable> |
| | |
| | | type:'text' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(420102) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | |
| | | }, |
| | | style: { |
| | | "margin-left": "15px", |
| | | // display: this.filterBtnById(150104) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(420103) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | |
| | | </div> |
| | | <div class="table_box"> |
| | | <div style="margin-left: 10px;text-align: right;"> |
| | | <el-button type="primary" size="small" @click="addPromotion">新增推广位</el-button> |
| | | <el-button type="primary" size="small" v-if='filterBtnById("420201")' @click="addPromotion">新增推广位</el-button> |
| | | </div> |
| | | <Etable |
| | | hasIndex |
| | |
| | | @getDataList="getDataList" |
| | | :exportUrl="{ |
| | | url: '/qyp/promote/export', |
| | | powerId: '150103', |
| | | powerId: '420204', |
| | | name: '项目列表', |
| | | }" |
| | | ></Etable> |
| | |
| | | size:'small' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(420203) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | |
| | | size:'small' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(420202) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | |
| | | </div> |
| | | <div class="table_box"> |
| | | <div style="margin-left: 10px;text-align: right;"> |
| | | <el-button type="primary" size="small" @click="addProduct">导出excel</el-button> |
| | | <el-button type="primary" size="small" @click="addProduct" v-if='filterBtnById("430201")' >导出excel</el-button> |
| | | </div> |
| | | <Etable |
| | | hasIndex |
| | |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :exportUrl="{ |
| | | url: '/qyp/order/orderExport', |
| | | powerId: '', |
| | | powerId: '430206', |
| | | name: '订单列表', |
| | | }" |
| | | ></Etable> |
| | |
| | | type:'text' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(430202) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | |
| | | type:'text' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(430203) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | | |
| | | this.isWhith = 1; |
| | | this.productShow = true; |
| | | // this.title = '订单详情'; |
| | | // let {orderId} = scope.row; |
| | | // this.getProductDetail(orderId); |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | type:'text' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(430204) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | | this.isWhith = 2; |
| | | this.productShow = true; |
| | | // this.title = '订单详情'; |
| | | // let {orderId} = scope.row; |
| | | // this.getProductDetail(orderId); |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | type:'text' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(430205) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | | this.isWhith = 3; |
| | | this.productShow = true; |
| | | // this.title = '订单详情'; |
| | | // let {orderId} = scope.row; |
| | | // this.getProductDetail(orderId); |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | :columns="columns" |
| | | :exportUrl="{ |
| | | url: '/qyp/order/useExport', |
| | | powerId: '', |
| | | powerId:'430208', |
| | | name: '权益领取', |
| | | }" |
| | | > |
| | |
| | | * @Author: zhaoxiaoqiang 287285524@qq.com |
| | | * @Date: 2023-08-24 15:16:23 |
| | | * @LastEditors: zhaoxiaoqiang 287285524@qq.com |
| | | * @LastEditTime: 2023-09-01 11:19:29 |
| | | * @LastEditTime: 2023-09-05 17:14:35 |
| | | * @FilePath: \qyp_plat\src\views\qyp-project-order\history.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | |
| | | disabled:!scope.row.canRefund&&!scope.row.tcjCanRefund |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(430207) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |
| | |
| | | </el-form-item> |
| | | </div> |
| | | <el-form-item style="text-align: right;"> |
| | | <!-- v-if='filterBtnById("150102")' --> |
| | | <el-button type="primary" style="margin-left: 10px;margin-bottom: 8px;" @click="onSearch">查 询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div class="table_box"> |
| | | <div style="margin-left: 10px;text-align: right;"> |
| | | <el-button type="primary" size="small" @click="addProduct">导出excel</el-button> |
| | | <el-button type="primary" size="small" @click="addProduct" v-if='filterBtnById("430101")' >导出excel</el-button> |
| | | </div> |
| | | <Etable |
| | | hasIndex |
| | |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :exportUrl="{ |
| | | url: '/qyp/order/orderExport', |
| | | powerId: '', |
| | | powerId: '430102', |
| | | name: '订单列表', |
| | | }" |
| | | ></Etable> |
| | |
| | | type:'text' |
| | | }, |
| | | style: { |
| | | // display: this.filterBtnById(150101) |
| | | // ? "inline-block" |
| | | // : "none", |
| | | display: this.filterBtnById(430103) |
| | | ? "inline-block" |
| | | : "none", |
| | | }, |
| | | on: { |
| | | click: () => { |