zhaoxiaoqiang
2023-09-05 5749770d6d8fc6f98e68868f98e00eeb87b633d2
后台管理代码
8 files modified
102 ■■■■ changed files
src/api/order.js 2 ●●●●● patch | view | raw | blame | history
src/views/account-management/account-list.vue 6 ●●●● patch | view | raw | blame | history
src/views/qyp-project-management/index.vue 19 ●●●● patch | view | raw | blame | history
src/views/qyp-project-management/promotion.vue 16 ●●●● patch | view | raw | blame | history
src/views/qyp-project-order/admin.vue 38 ●●●●● patch | view | raw | blame | history
src/views/qyp-project-order/draw.vue 2 ●●● patch | view | raw | blame | history
src/views/qyp-project-order/history.vue 8 ●●●● patch | view | raw | blame | history
src/views/qyp-project-order/index.vue 11 ●●●● patch | view | raw | blame | history
src/api/order.js
@@ -12,6 +12,7 @@
export function orderBaseExport(params) {  
  return request({
    url: '/qyp/order/orderBaseExport',
    responseType: "arraybuffer",
    method: 'get',
    params
  })
@@ -21,6 +22,7 @@
  return request({
    url: '/qyp/order/orderExport',
    method: 'get',
    responseType: "arraybuffer",
    params
  })
}
src/views/account-management/account-list.vue
@@ -2,7 +2,7 @@
 * @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>
@@ -318,7 +318,7 @@
    /**更新用户状态**/
    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({
@@ -326,7 +326,7 @@
              message: '状态更新成功',
              type: 'success'
            })
            //this.qureys()
            this.qureys()
          }
        }).catch(err => {})
    },
src/views/qyp-project-management/index.vue
@@ -49,9 +49,8 @@
                  </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>
@@ -67,7 +66,7 @@
          @getDataList="getDataList"
          :exportUrl="{
            url: '/qyp/project/export',
            powerId: '',
            powerId: '420104',
            name: '项目列表',
          }"
        ></Etable>
@@ -220,9 +219,9 @@
                        type:'text'
                      },
                      style: {
                        // display: this.filterBtnById(150101)
                        //   ? "inline-block"
                        //   : "none",
                        display: this.filterBtnById(420102)
                          ? "inline-block"
                          : "none",
                      },
                      on: {
                        click: () => {
@@ -243,9 +242,9 @@
                      },
                      style: {
                        "margin-left": "15px",
                        // display: this.filterBtnById(150104)
                        //   ? "inline-block"
                        //   : "none",
                        display: this.filterBtnById(420103)
                          ? "inline-block"
                          : "none",
                      },
                      on: {
                        click: () => {
src/views/qyp-project-management/promotion.vue
@@ -86,7 +86,7 @@
      </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
@@ -96,7 +96,7 @@
          @getDataList="getDataList"
          :exportUrl="{
            url: '/qyp/promote/export',
            powerId: '150103',
            powerId: '420204',
            name: '项目列表',
          }"
        ></Etable>
@@ -219,9 +219,9 @@
                        size:'small'
                      },
                      style: {
                        // display: this.filterBtnById(150101)
                        //   ? "inline-block"
                        //   : "none",
                        display: this.filterBtnById(420203)
                          ? "inline-block"
                          : "none",
                      },
                      on: {
                        click: () => {
@@ -242,9 +242,9 @@
                        size:'small'
                      },
                      style: {
                        // display: this.filterBtnById(150101)
                        //   ? "inline-block"
                        //   : "none",
                        display: this.filterBtnById(420202)
                          ? "inline-block"
                          : "none",
                      },
                      on: {
                        click: () => {
src/views/qyp-project-order/admin.vue
@@ -100,7 +100,7 @@
      </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
@@ -113,7 +113,7 @@
          @handleSelectionChange="handleSelectionChange"
          :exportUrl="{
            url: '/qyp/order/orderExport',
            powerId: '',
            powerId: '430206',
            name: '订单列表',
          }"
        ></Etable>
@@ -224,9 +224,9 @@
                        type:'text'
                      },
                      style: {
                        // display: this.filterBtnById(150101)
                        //   ? "inline-block"
                        //   : "none",
                        display: this.filterBtnById(430202)
                          ? "inline-block"
                          : "none",
                      },
                      on: {
                        click: () => {
@@ -245,18 +245,14 @@
                        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);
                        },
                      },
                    },
@@ -269,17 +265,14 @@
                        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);
                        },
                      },
                    },
@@ -292,17 +285,14 @@
                        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);
                        },
                      },
                    },
src/views/qyp-project-order/draw.vue
@@ -52,7 +52,7 @@
            :columns="columns"
            :exportUrl="{
                url: '/qyp/order/useExport',
                powerId: '',
                powerId:'430208',
                name: '权益领取',
            }"
           >
src/views/qyp-project-order/history.vue
@@ -3,7 +3,7 @@
 * @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
-->
@@ -180,9 +180,9 @@
                                disabled:!scope.row.canRefund&&!scope.row.tcjCanRefund
                            },
                            style: {
                                // display: this.filterBtnById(150101)
                                //   ? "inline-block"
                                //   : "none",
                                display: this.filterBtnById(430207)
                                  ? "inline-block"
                                  : "none",
                            },
                            on: {
                                click: () => {
src/views/qyp-project-order/index.vue
@@ -77,14 +77,13 @@
            </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
@@ -97,7 +96,7 @@
          @handleSelectionChange="handleSelectionChange"
          :exportUrl="{
            url: '/qyp/order/orderExport',
            powerId: '',
            powerId: '430102',
            name: '订单列表',
          }"
        ></Etable>
@@ -183,9 +182,9 @@
                        type:'text'
                      },
                      style: {
                        // display: this.filterBtnById(150101)
                        //   ? "inline-block"
                        //   : "none",
                        display: this.filterBtnById(430103)
                          ? "inline-block"
                          : "none",
                      },
                      on: {
                        click: () => {