zhaoxiaoqiang
2023-09-06 57b7e93baf35afbb9e1c569477052daa01de4699
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: () => {
@@ -245,7 +244,7 @@
        }
        let objForm = JSON.parse(JSON.stringify(this.formInline));
        for (let key in objForm) {
          if (objForm[key] === "all") {
          if (objForm[key] === "all"||objForm[key] === ""||objForm[key] === null) {
            delete objForm[key];
          }
        }