<template>
  <div ref="tab" class="m20">
    <el-tabs v-model="activeName" type="border-card" class="tab" @tab-click="clickHandleTabs">
      <el-tab-pane name="all">
        <span slot="label">我的待办<el-badge class="mark" :value="allnum" :hidden="allnum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>

                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <!--                <el-col :span="4">-->
                <!--                  <div class="btn-box">-->
                <!--                    <el-button type="primary" size="mini" @click="search">查询</el-button>-->
                <!--                    <el-button size="mini" @click="resetSearchForm()">重置</el-button>-->
                <!--                  </div>-->
                <!--                </el-col>-->
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_u">统一社会信用代码/注册号：</label>
                    <div class="search-input-box_u">
                      <el-input
                        v-model="searchForm.UNISCIDORREGNO"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入统一码/注册号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="10">
                  <label class="label-name_3u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                  <el-button size="mini" @click="batchExamineApprove()">批量审核/审批</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :cell-style="cellStyle"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" align="center" />
                <el-table-column prop="index" label="序号" width="60" align="center" />
                <el-table-column
                  prop="acceptno"
                  sortable="custom"
                  label="受理编号"
                  min-width="90"
                  align="left"
                />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                      <!--                      <span v-if="tableData[scope.$index].isagree === '2'" class="prompt"> *已回退</span>-->
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"
                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="经营异常（列入）" name="abnormal">
        <span slot="label">经营异常（列入）<el-badge class="mark" :value="abnormalnum" :hidden="abnormalnum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                  <el-button size="mini" @click="batchExamineApprove()">批量审核/审批</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />

                <!-- <el-table-column prop="busname" sortable="custom" :show-overflow-tooltip="true" label="市场主体" min-width="120" align="left" />
                <el-table-column prop="bustypename" sortable="custom" :show-overflow-tooltip="true" label="业务类型" min-width="80" align="left" />
                <el-table-column prop="busStatusName" sortable="custom" :show-overflow-tooltip="true" label="业务状态" min-width="80" align="left" /> -->
                <!--                <el-table-column prop="createTime" sortable="custom" label="受理时间" min-width="80" align="left" :formatter="dateFormat" />-->
                <!--                <el-table-column prop="sendertime" sortable="custom" label="发送时间" min-width="80" align="left" :formatter="dateFormat1" />-->
                <!-- <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" /> -->
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <!-- <el-button type="primary" size="mini" @click="$message.info('该业务已经停止办理')">办理</el-button> -->
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"
                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="严重违法失信" name="illegal">
        <span slot="label">严重违法失信<el-badge class="mark" :value="illegalnum" :hidden="illegalnum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="信用修复" name="repair">
        <span slot="label">信用修复<el-badge class="mark" :value="repairnum" :hidden="repairnum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>

                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_u">统一社会信用代码/注册号：</label>
                    <div class="search-input-box_u">
                      <el-input
                        v-model="searchForm.UNISCIDORREGNO"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入统一码/注册号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="10">
                  <label class="label-name_3u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="14">
                  <label class="label-name_3u">倒计时工作日：</label>
                  <el-switch
                    v-model="searchForm.gzrNumSwitch"
                    active-color="#13ce66"
                    inactive-color="#ff4949"
                  />
                  <el-input-number v-model="searchForm.gzrNum" size="mini" :min="-1" :max="4" />
                </el-col>
              </el-row>
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                  <el-button size="mini" @click="batchExamineApprove()">批量审核/审批</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :row-style="deadlineRed"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column
                  prop="deadlineDate"
                  label="剩余时间"
                  min-width="100"
                  align="left"
                  :formatter="deadlineCalculate"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="批量吊销" name="revoke">
        <span slot="label">批量吊销<el-badge class="mark" :value="revokenum" :hidden="revokenum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="批量注销" name="revokeZX">
        <span slot="label">批量注销<el-badge class="mark" :value="revokenum" :hidden="revokenum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="撤销登记案件" name="cancel">
        <span slot="label">撤销登记案件<el-badge class="mark" :value="cancelnum" :hidden="cancelnum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="联合惩戒" name="punishment">
        <span slot="label">联合惩戒<el-badge class="mark" :value="punishmentnum" :hidden="punishmentnum>0?false:true" /></span>

        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="市场所协同" name="maketProblem">
        <span slot="label">市场所协同<el-badge class="mark" :value="marketnum" :hidden="marketnum>0?false:true" /></span>
        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <!--                      <el-button-->
                      <!--                        v-if="tableData[scope.$index].isPassDissentApply"-->
                      <!--                        type="primary"-->
                      <!--                        size="mini"-->
                      <!--                        @click="gotoPrintNotice(scope.row)"-->
                      <!--                      >打印通知书-->
                      <!--                      </el-button>-->
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="信用风险分类" name="risk">
        <span slot="label">信用风险分类<el-badge class="mark" :value="risknum" :hidden="risknum>0?false:true" /></span>

        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column prop="createTime" label="创建日期" min-width="60" align="left" :formatter="dateFormat" />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <!-- <batchFunction :options="options" style="float:left" /> -->
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="总局一体化" name="gzis">
        <span slot="label">总局一体化<el-badge class="mark" :value="gzisnum" :hidden="gzisnum>0?false:true" /></span>

        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <!--body-查询结果-->
          <div class="content-body">
            <!-- <div class="header">
        <span class="title">查询业务</span>
      </div> -->
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :row-class-name="tableRowClassName"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column prop="createTime" label="创建日期" min-width="60" align="left" :formatter="dateFormat" />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <!-- <el-button v-if="tableData[scope.$index].busstatus == 2" type="primary" size="mini" @click="gotoPrint(scope.row)">打印</el-button> -->
                    <!-- <div v-if="tableData[scope.$index].busstatus != 2"> -->
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
      <el-tab-pane label="数据勘误" name="correct">
        <span slot="label">数据勘误<el-badge class="mark" :value="correctnum" :hidden="correctnum>0?false:true" /></span>

        <div class="main-content">
          <!--头部-查询-->
          <div class="content-header">
            <div class="body search-body">
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <el-row>
                    <label class="label-name_1u">受理编号：</label>
                    <div class="search-input-box_1u">
                      <el-input
                        v-model="searchForm.acceptno"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入受理编号"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
                <el-col :span="14">
                  <el-row>
                    <label class="label-name_2u">名称(模糊)：</label>
                    <div class="search-input-box_2u">
                      <el-input
                        v-model="searchForm.searchName"
                        clearable
                        type="text"
                        class="search-input"
                        placeholder="请输入名称（模糊）"
                        @keyup.enter.native="search"
                      />
                    </div>
                  </el-row>
                </el-col>
              </el-row>
              <el-row style="margin-bottom:10px">
                <el-col :span="10">
                  <label class="label-name_3u">业务类型：</label>
                  <el-select
                    v-model="searchForm.bustype"
                    clearable
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in bustypeOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
                <el-col :span="11">
                  <label class="label-name_u">业务状态：</label>
                  <el-select
                    v-model="searchForm.busstatus"
                    clearable
                    size="mini"
                    class="custom"
                    placeholder="请选择"
                  >
                    <el-option
                      v-for="item in sbusstatusOptions"
                      :key="item.label"
                      :label="item.label"
                      :value="item.value"
                    />
                  </el-select>
                </el-col>
              </el-row>
              <el-row />
              <el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
                <div class="btn-box" style="font-size: 14px">
                  <el-button type="primary" size="mini" @click="search">查询</el-button>
                  <el-button size="mini" @click="resetSearchForm()">重置</el-button>
                </div>
              </el-col>
            </div>
          </div>
          <div class="content-body">
            <div class="body">
              <el-table
                ref="multipleTable"
                v-loading="loading"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
                :fit="true"
                :row-class-name="tableRowClassName"
                :default-sort="{prop: 'sendertime', order: 'descending'}"
                :header-cell-style="{background:'#8cc3fb',color:'#fff'}"
                @sort-change="tableSortChange"
                @selection-change="handleSelectionChange"
              >
                <el-table-column type="selection" min-width="30" align="center" />
                <el-table-column prop="index" label="序号" min-width="30" align="center" />
                <el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
                <el-table-column
                  prop="busname"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务名称"
                  min-width="120"
                  align="left"
                />
                <el-table-column
                  prop="bustypename"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务类型"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="busStatusName"
                  sortable="custom"
                  :show-overflow-tooltip="true"
                  label="业务状态"
                  min-width="80"
                  align="left"
                />
                <el-table-column
                  prop="createTime"
                  sortable="custom"
                  label="创建日期"
                  min-width="60"
                  align="left"
                  :formatter="dateFormat"
                />
                <el-table-column
                  prop="sendertime"
                  sortable="custom"
                  label="接收时间"
                  min-width="100"
                  align="left"
                  :formatter="dateFormat1"
                />
                <el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
                <el-table-column label="操作" min-width="100" align="left">
                  <template slot-scope="scope">
                    <div>
                      <el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
                      <el-button
                        v-if="tableData[scope.$index].isPassDissentApply"
                        type="primary"
                        size="mini"
                        @click="gotoPrintNotice(scope.row)"
                      >打印通知书
                      </el-button>
                    </div>

                  </template>
                </el-table-column>
              </el-table>
              <div class="page-box">
                <el-pagination
                  :disabled="loading"
                  :page-size="pageParam.pageSize"
                  :total="pageParam.total"
                  :current-page.sync="pageParam.curPage"

                  :page-sizes="[10, 20, 30, 40,50,100,200]"
                  layout="slot,total, sizes, prev, pager, next, jumper"
                  @size-change="pageSizeChange"
                  @current-change="pageIndexChange"
                >
                  <span>
                    第 {{ pageParam.curPage }} 页 /
                    共 {{
                      (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
                    }} 页
                  </span>
                </el-pagination>
              </div>
            </div>
          </div>
        </div>
      </el-tab-pane>
    </el-tabs>
    <el-dialog
      title="系统提示"
      :visible.sync="templateDialog"
      :show-close="false"
      width="30%"
    >
      <span>当前密码为初始化密码，请前往系统管理修改密码</span>
      <span slot="footer" class="dialog-footer">
        <el-button @click="cancelToUpdatePwd">取 消</el-button>
        <el-button type="primary" @click="toUpdatePwd">确 定</el-button>
      </span>
    </el-dialog>
    <el-dialog
      title="经营列异批量审核"
      :visible.sync="reviewDialog"
      width="800px"
    >
      <el-form ref="reviewForm" :rules="reviewFormRules" :model="reviewForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="selection.length > 0" type="primary" @click="baseInfoDialog = true">
            {{ selection[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="reviewForm.nextNodeID" label="approvelist">通过</el-radio>
          <el-radio v-model="reviewForm.nextNodeID" label="exptlistEnter">回退</el-radio>
        </el-form-item>
        <el-form-item label="审核意见" prop="opinion">
          <el-input
            v-model="reviewForm.opinion"
            type="textarea"
            placeholder="请输入审核意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
          <label style="line-height:32px">常用语</label>
          <el-select
            v-model="reviewForm.words"
            clearable
            placeholder="请选择"
            style="width: 100%"
            @change="(item)=>{
              this.opinionOptions.forEach(each => {
                if (item === each.value) {
                  this.reviewForm.opinion = each.label
                }
              })
            }"
          >
            <el-option
              v-for="item in opinionOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </el-form-item>
        <el-form-item v-if="reviewForm.nextNodeID === 'approvelist'" label="审批人" prop="reviewerId" class="bt0">
          <el-col :span="12">
            <el-select v-model="reviewForm.reviewerId" style="width: 100%" filterable clearable placeholder="请选择审批人">
              <el-option
                v-for="item in reviewer"
                :key="'reviewer'+item.primaryKey"
                :label="item.name"
                :value="item.primaryKey"
              />
            </el-select>
          </el-col>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subReviewBatch">提交批量审核</el-button>
          <el-button size="mini" @click="reviewDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>
    <el-dialog
      title="经营列异批量审批"
      :visible.sync="examineDialog"
      width="800px"
    >
      <el-form ref="examineForm" :rules="examineFormRules" :model="examineForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="selection.length > 0" type="primary" @click="baseInfoDialog = true">
            {{ selection[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="examineForm.nextNodeID" label="endExptlist">通过</el-radio>
          <el-radio v-model="examineForm.nextNodeID" label="handleExptlist">回退</el-radio>
        </el-form-item>
        <el-form-item label="审批意见" prop="opinion">
          <el-input
            v-model="examineForm.opinion"
            type="textarea"
            placeholder="请输入审批意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
          <label style="line-height:32px">常用语</label>
          <el-select
            v-model="examineForm.words"
            clearable
            placeholder="请选择"
            style="width: 100%"
            @change="(item)=>{
              this.opinionOptions.forEach(each => {
                if (item === each.value) {
                  this.examineForm.opinion = each.label
                }
              })
            }"
          >
            <el-option
              v-for="item in opinionOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subExamineBatch">提交批量审批</el-button>
          <el-button size="mini" @click="examineDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>
    <el-dialog title="业务列表" :visible.sync="baseInfoDialog" top="100px">
      <el-table :data="selection" stripe>
        <el-table-column type="index" :index="1" label="序号" width="80" align="center" />
        <el-table-column property="busname" label="业务名" />
      </el-table>
    </el-dialog>
    <el-dialog title="业务列表" :visible.sync="remInfoDialog" top="100px" width="1200px">
      <div style="height: 450px; overflow-y: auto;">
        <el-table :data="remBatchVos" stripe>
          <el-table-column type="index" :index="1" label="序号" width="80" align="center" />
          <el-table-column property="busname" min-width="120" :show-overflow-tooltip="true" label="业务名" />
          <el-table-column property="opinion" :show-overflow-tooltip="true" label="经办人意见" />
          <el-table-column property="remreasons" min-width="150" :show-overflow-tooltip="true" label="作出决定的事实、理由、依据及主要内容" />
        </el-table>
      </div>
    </el-dialog>

    <el-dialog
      title="信用修复批量审核"
      :visible.sync="xfShDialog"
      width="800px"
    >
      <el-form ref="xfShForm" :rules="xfShFormRules" :model="xfShForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="remBatchVos.length > 0" type="primary" @click="remInfoDialog = true">
            {{ remBatchVos[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="xfShForm.nextNodeID" label="approve">通过</el-radio>
          <el-radio v-model="xfShForm.nextNodeID" label="enter">回退</el-radio>
        </el-form-item>
        <el-form-item label="审核意见" prop="opinion">
          <el-input
            v-model="xfShForm.opinion"
            type="textarea"
            placeholder="请输入审核意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
        </el-form-item>
        <el-form-item v-if="xfShForm.nextNodeID === 'approve' && jyycFlag" label="经营异常审批人" prop="jyycReviewerId" class="bt0">
          <el-col :span="12">
            <el-select v-model="xfShForm.jyycReviewerId" style="width: 100%" filterable clearable placeholder="请选择经营异常修复审批人">
              <el-option
                v-for="item in jyycxfShReviewer"
                :key="'reviewer'+item.primaryKey"
                :label="item.name"
                :value="item.primaryKey"
              />
            </el-select>
          </el-col>
        </el-form-item>
        <el-form-item v-if="xfShForm.nextNodeID === 'approve' && yzwfFlag" label="严重违法审批人" prop="yzwfReviewerId" class="bt0">
          <el-col :span="12">
            <el-select v-model="xfShForm.yzwfReviewerId" style="width: 100%" filterable clearable placeholder="请选择严重违法修复审批人">
              <el-option
                v-for="item in yzwfShReviewer"
                :key="'reviewer'+item.primaryKey"
                :label="item.name"
                :value="item.primaryKey"
              />
            </el-select>
          </el-col>
        </el-form-item>
        <el-form-item prop="handledate" label="审核时间">
          <el-date-picker
            v-model="xfShForm.handledate"
            style="display: inline-block"
            :clearable="false"
            value-format="yyyy-MM-dd HH:mm:ss"
            format="yyyy-MM-dd HH:mm:ss"
            size="small"
            type="datetime"
            placeholder="选择日期"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subxfReviewBatch">提交批量审核</el-button>
          <el-button size="mini" @click="xfShDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>

    <el-dialog
      title="信用修复批量审批"
      :visible.sync="xfSpDialog"
      width="800px"
    >
      <el-form ref="xfSpForm" :rules="xfSpFormRules" :model="xfSpForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="remBatchVos.length > 0" type="primary" @click="remInfoDialog = true">
            {{ remBatchVos[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="xfSpForm.nextNodeID" label="end">通过</el-radio>
          <el-radio v-model="xfSpForm.nextNodeID" label="spEnter">回退</el-radio>
        </el-form-item>
        <el-form-item label="审批意见" prop="opinion">
          <el-input
            v-model="xfSpForm.opinion"
            type="textarea"
            placeholder="请输入审批意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
        </el-form-item>
        <el-form-item prop="handledate" label="审批时间">
          <el-date-picker
            v-model="xfSpForm.handledate"
            style="display: inline-block"
            :clearable="false"
            value-format="yyyy-MM-dd HH:mm:ss"
            format="yyyy-MM-dd HH:mm:ss"
            size="small"
            type="datetime"
            placeholder="选择日期"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subxfExamineBatch">提交批量审批
          </el-button>
          <el-button size="mini" @click="xfSpDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>

    <el-dialog
      title="经营异常修复批量审核"
      :visible.sync="jyycxfShDialog"
      width="800px"
    >
      <el-form ref="jyycxfShForm" :rules="jyycxfShFormRules" :model="jyycxfShForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="selection.length > 0" type="primary" @click="baseInfoDialog = true">
            {{ selection[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="jyycxfShForm.nextNodeID" label="approvelist">通过</el-radio>
          <el-radio v-model="jyycxfShForm.nextNodeID" label="exptlistEnter">回退</el-radio>
        </el-form-item>
        <el-form-item label="审核意见" prop="opinion">
          <el-input
            v-model="jyycxfShForm.opinion"
            type="textarea"
            placeholder="请输入审核意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
        </el-form-item>
        <el-form-item v-if="jyycxfShForm.nextNodeID === 'approvelist'" label="审批人" prop="reviewerId" class="bt0">
          <el-col :span="12">
            <el-select v-model="jyycxfShForm.reviewerId" style="width: 100%" filterable clearable placeholder="请选择审批人">
              <el-option
                v-for="item in jyycxfShReviewer"
                :key="'reviewer'+item.primaryKey"
                :label="item.name"
                :value="item.primaryKey"
              />
            </el-select>
          </el-col>
        </el-form-item>
        <el-form-item prop="handledate" label="审核时间">
          <el-date-picker
            v-model="jyycxfShForm.handledate"
            style="display: inline-block"
            :clearable="false"
            value-format="yyyy-MM-dd HH:mm:ss"
            format="yyyy-MM-dd HH:mm:ss"
            size="small"
            type="datetime"
            placeholder="选择日期"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subJyycxfReviewBatch">提交批量审核</el-button>
          <el-button size="mini" @click="jyycxfShDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>
    <el-dialog
      title="经营异常修复批量审批"
      :visible.sync="jyycxfSpDialog"
      width="800px"
    >
      <el-form ref="jyycxfSpForm" :rules="jyycxfSpFormRules" :model="jyycxfSpForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="selection.length > 0" type="primary" @click="baseInfoDialog = true">
            {{ selection[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="jyycxfSpForm.nextNodeID" label="endExptlist">通过</el-radio>
          <el-radio v-model="jyycxfSpForm.nextNodeID" label="handleExptlist">回退</el-radio>
        </el-form-item>
        <el-form-item label="审批意见" prop="opinion">
          <el-input
            v-model="jyycxfSpForm.opinion"
            type="textarea"
            placeholder="请输入审批意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
        </el-form-item>
        <el-form-item prop="handledate" label="审批时间">
          <el-date-picker
            v-model="jyycxfSpForm.handledate"
            style="display: inline-block"
            :clearable="false"
            value-format="yyyy-MM-dd HH:mm:ss"
            format="yyyy-MM-dd HH:mm:ss"
            size="small"
            type="datetime"
            placeholder="选择日期"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subJyycxfExamineBatch">提交批量审批
          </el-button>
          <el-button size="mini" @click="jyycxfSpDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>
    <el-dialog
      title="严重违法修复批量审核"
      :visible.sync="yzwfShDialog"
      width="800px"
    >
      <el-form ref="yzwfShForm" :rules="yzwfShFormRules" :model="yzwfShForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="selection.length > 0" type="primary" @click="baseInfoDialog = true">
            {{ selection[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="yzwfShForm.nextNodeID" label="approveSerIllegal">通过</el-radio>
          <el-radio v-model="yzwfShForm.nextNodeID" label="serIllegalEnter">回退</el-radio>
        </el-form-item>
        <el-form-item label="审核意见" prop="opinion">
          <el-input
            v-model="yzwfShForm.opinion"
            type="textarea"
            placeholder="请输入审核意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
        </el-form-item>
        <el-form-item v-if="yzwfShForm.nextNodeID === 'approveSerIllegal'" label="审批人" prop="reviewerId" class="bt0">
          <el-col :span="12">
            <el-select v-model="yzwfShForm.reviewerId" style="width: 100%" filterable clearable placeholder="请选择审批人">
              <el-option
                v-for="item in yzwfShReviewer"
                :key="'reviewer'+item.primaryKey"
                :label="item.name"
                :value="item.primaryKey"
              />
            </el-select>
          </el-col>
        </el-form-item>
        <el-form-item prop="handledate" label="审核时间">
          <el-date-picker
            v-model="yzwfShForm.handledate"
            style="display: inline-block"
            :clearable="false"
            value-format="yyyy-MM-dd HH:mm:ss"
            format="yyyy-MM-dd HH:mm:ss"
            size="small"
            type="datetime"
            placeholder="选择日期"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subYzwfReviewBatch">提交批量审核</el-button>
          <el-button size="mini" @click="yzwfShDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>
    <el-dialog
      title="严重违法修复批量审批"
      :visible.sync="yzwfSpDialog"
      width="800px"
    >
      <el-form ref="yzwfSpForm" :rules="yzwfSpFormRules" :model="yzwfSpForm" label-width="150px">
        <el-form-item label="业务列表">
          <el-link v-if="selection.length > 0" type="primary" @click="baseInfoDialog = true">
            {{ selection[0].busname }}...
          </el-link>
        </el-form-item>
        <el-form-item label="是否通过" prop="nextNodeID">
          <el-radio v-model="yzwfSpForm.nextNodeID" label="endSerIllegal">通过</el-radio>
          <el-radio v-model="yzwfSpForm.nextNodeID" label="serIllegalEnter">回退</el-radio>
        </el-form-item>
        <el-form-item label="审批意见" prop="opinion">
          <el-input
            v-model="yzwfSpForm.opinion"
            type="textarea"
            placeholder="请输入审批意见"
            :autosize="{ minRows: 2, maxRows: 6 }"
          />
        </el-form-item>
        <el-form-item prop="handledate" label="审批时间">
          <el-date-picker
            v-model="yzwfSpForm.handledate"
            style="display: inline-block"
            :clearable="false"
            value-format="yyyy-MM-dd HH:mm:ss"
            format="yyyy-MM-dd HH:mm:ss"
            size="small"
            type="datetime"
            placeholder="选择日期"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" size="mini" :loading="batchLoading" @click="subYzwfExamineBatch">提交批量审批</el-button>
          <el-button size="mini" @click="yzwfSpDialog = false">取消</el-button>
        </el-form-item>
      </el-form>
    </el-dialog>
  </div>

</template>

<script>
import { taskCommonPage, taskUnionPage, taskUnionPageStatistic, checkPrint } from '@/api/task'
import {
  saveAbnormalAccept,
  getRegulatory,
  checkoutToincludeabn,
  batchReviewAndExamine,
  isPassDissentApply
} from '@/api/abnormal'
import { queryOlderP } from '@/api/updatePassword'
import { getUsersWithPermission } from '@/api/user'
import { batchJyycxfShAndSp, batchYzfwShAndSp, batchShAndSp, getRemInfoByBatch } from '@/api/credit'
import { isMenHu } from '@/utils/utils'
import axios from 'axios'

export default {
  data() {
    return {
      axiosCancelSource: null, // 用于Axios取消请求
      batchLoading: false,
      baseInfoDialog: false,
      reviewFormRules: {
        nextNodeID: [
          { required: true, trigger: 'blur' }
        ],
        opinion: [
          { required: true, message: '请输入审核意见', trigger: 'blur' }
        ],
        reviewerId: [
          { required: true, message: '请选择审批人' }
        ]
      },
      xfShFormRules: {
        nextNodeID: [
          { required: true, trigger: 'blur' }
        ],
        opinion: [
          { required: true, message: '请输入审核意见', trigger: 'blur' }
        ],
        jyycReviewerId: [
          { required: true, message: '请选择经营异常审批人' }
        ],
        yzwfReviewerId: [
          { required: true, message: '请选择严重违法审批人' }
        ],
        handledate: [
          { required: true, message: '请选择日期' }
        ]
      },
      jyycxfShFormRules: {
        nextNodeID: [
          { required: true, trigger: 'blur' }
        ],
        opinion: [
          { required: true, message: '请输入审核意见', trigger: 'blur' }
        ],
        reviewerId: [
          { required: true, message: '请选择审批人' }
        ],
        handledate: [
          { required: true, message: '请选择日期' }
        ]
      },
      jyycxfSpFormRules: {
        opinion: [
          { required: true, message: '请输入审批意见', trigger: 'blur' }
        ],
        handledate: [
          { required: true, message: '请选择日期' }
        ]
      },
      xfSpFormRules: {
        nextNodeID: [
          { required: true, trigger: 'blur' }
        ],
        opinion: [
          { required: true, message: '请输入审批意见', trigger: 'blur' }
        ],
        handledate: [
          { required: true, message: '请选择日期' }
        ]
      },
      yzwfShFormRules: {
        nextNodeID: [
          { required: true, trigger: 'blur' }
        ],
        opinion: [
          { required: true, message: '请输入审核意见', trigger: 'blur' }
        ],
        reviewerId: [
          { required: true, message: '请选择审批人' }
        ],
        handledate: [
          { required: true, message: '请选择日期' }
        ]
      },
      yzwfSpFormRules: {
        opinion: [
          { required: true, message: '请输入审批意见', trigger: 'blur' }
        ],
        handledate: [
          { required: true, message: '请选择日期' }
        ]
      },
      examineFormRules: {
        nextNodeID: [
          { required: true, trigger: 'blur' }
        ],
        opinion: [
          { required: true, message: '请输入审批意见', trigger: 'blur' }
        ]
      },
      reviewer: [],
      opinionOptions: [],
      reviewForm: {
        nextNodeID: 'approvelist',
        opinion: ''
      },
      examineForm: {
        nextNodeID: 'endExptlist',
        opinion: ''
      },
      reviewDialog: false,
      examineDialog: false,
      selection: [],
      showMore: false,
      bustypeOptions: [],
      pwd: '',
      templateDialog: false,
      activeName: '',
      showFixed: false,
      user: JSON.parse(sessionStorage.getItem('user')),
      searchForm: {
        UNISCIDORREGNO: '',
        userId: '',
        acceptno: '',
        searchName: '',
        bustype: '',
        busstatus: '',
        currentNodeOrBizStatus: '',
        gzrNumSwitch: false,
        gzrNum: 0
      },
      loading: false,
      tableData: [],
      sbusstatusOptions: [{
        value: '1',
        label: '待受理'
      }, {
        value: '2',
        label: '待审核'
      }, {
        value: '3',
        label: '待审批'
      }, {
        value: '4',
        label: '审批通过'
      }],
      pageParam: {
        customParamMap: {
          userId: '',
          type: '',
          orderName: 'acceptno',
          orderType: 'desc'
        },
        curPage: 1,
        total: 0,
        pageSize: 10
      },
      xfShForm: {
        handledate: null
      },
      xfShDialog: false,
      xfSpForm: {
        handledate: null
      },
      xfSpDialog: false,
      jyycxfShForm: {
        handledate: null
      },
      jyycxfShDialog: false,
      jyycxfSpForm: {
        handledate: null
      },
      jyycxfSpDialog: false,
      yzwfShForm: {
        handledate: null
      },
      yzwfShDialog: false,
      yzwfSpForm: {
        handledate: null
      },
      yzwfSpDialog: false,
      allnum: 0,
      abnormalnum: 0,
      illegalnum: 0,
      repairnum: 0,
      revokenum: 0,
      cancelnum: 0,
      punishmentnum: 0,
      marketnum: 0,
      risknum: 0,
      gzisnum: 0,
      correctnum: 0,
      statparam: {
        customParamMap: {
          userId: '',
          type: '',
          currentNodeOrBizStatus: ''
        }
      },
      jyycFlag: false, // 批量经营异常标识
      yzwfFlag: false, // 批量严重违法标识
      remBatchVos: {}, // 批量信用修复业务列表
      remInfoDialog: false // 批量信用修复业务列表弹窗标识
    }
  },
  watch: {
    activeName() {
      sessionStorage.setItem('activeName', this.activeName)
    }
  },
  mounted() {
    this.jyycxfShForm.handledate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
    this.jyycxfSpForm.handledate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
    this.yzwfShForm.handledate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
    this.yzwfSpForm.handledate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
    this.xfShForm.handledate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
    this.xfSpForm.handledate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
    if (!sessionStorage.getItem('activeName')) {
      this.activeName = this.$route.query.activeName ? this.$route.query.activeName : 'all'
    } else {
      this.activeName = sessionStorage.getItem('activeName')
    }
    if (this.$route.query.bustype !== undefined && this.$route.query.bustype !== 'undefined') {
      const list = []
      list.push(this.$route.query.bustype)
      this.searchForm.bustypeAndStatus = list
    }
    // 恢复会话搜索条件
    const pageParam = sessionStorage.getItem('pageParam')
    if (pageParam) {
      this.pageParam = JSON.parse(pageParam)
      this.searchForm = JSON.parse(pageParam).customParamMap
    }
    this.loadStatistic()
    this.search()
    window.addEventListener('scroll', this.handleScroll, true)
    this.opinionOptions = this.$util.getCommonWordsWithModule(this.user.primaryKey, '企业经营异常名录列入')
    this.loadReviewer()
    this.loadjyycxfShReviewer()
    this.loadyzwfShReviewer()
    this.handleTabs()
  },
  methods: {
    loadjyycxfShReviewer() {
      // 经营异常-信用修复审核人员
      return getUsersWithPermission('exptRemoveApprove', this.user.orgId).then(res => {
        if (res.code === 0) {
          this.jyycxfShReviewer = res.data
        }
      })
    },
    loadyzwfShReviewer() {
      // 严重违法-信用修复审核人员
      return getUsersWithPermission('illegalRemoveExamine', this.user.orgId).then(res => {
        if (res.code === 0) {
          this.yzwfShReviewer = res.data
        }
      })
    },
    showMoreCriteria() {
      this.showMore = !this.showMore
    },
    dateFormat(row) {
      if (this.$util.isEmpty(row.createTime)) return ''
      return this.$util.formatDate.format(new Date(Date.parse(row.createTime)), 'yyyy-MM-dd')
    },
    dateFormat1(row) {
      if (this.$util.isEmpty(row.sendertime)) return ''
      return this.$util.formatDate.format(new Date(Date.parse(row.sendertime)), 'yyyy-MM-dd hh:mm:ss')
    },
    // 信用修复剩余时间计算
    deadlineCalculate(row) {
      if (this.$util.isEmpty(row.deadlineDate)) return ''
      return `${row.deadlineDay}天`
    },
    tableRowClassName({ row, rowIndex }) {
      if (rowIndex % 2 === 1) {
        return 'warning-row'
      }
    },
    clickHandleTabs() {
      this.resetSearchForm()
      this.handleTabs()
    },
    handleTabs() {
      let list = []
      if (this.activeName === 'abnormal') { // 经营异常管理
        list = [{
          value: '71',
          label: '企业地址批量列入'
        }, {
          value: '72',
          label: '个体户地址批量列入'
        }, {
          value: '73',
          label: '农合地址批量列入'
        }, {
          value: '5',
          label: '企业经营异常名录列入'
        }, {
          value: '6',
          label: '企业经营异常名录异议'
        }, {
          value: '11',
          label: '个体户经营异常状态标记'
        }, {
          value: '13',
          label: '农专社经营异常名录列入'
        }]
      } else if (this.activeName === 'illegal') { // 严重违法失信
        list = [{
          value: '55',
          label: '严重违法失信名单拟列入'
        }, {
          value: '15',
          label: '严重违法失信名单列入'
        }, {
          value: '16',
          label: '严重违法失信名单异议'
        }
        ]
      } else if (this.activeName === 'revoke') { // 批量吊销
        list = [{
          value: '51',
          label: '批量吊销'
        }, {
          value: '52',
          label: '撤销'
        }, {
          value: '53',
          label: '复议'
        }, {
          value: '54',
          label: '诉讼'
        }]
      } else if (this.activeName === 'revokeZX') { // 批量注销
        list = [{
          value: '91',
          label: '批量注销'
        }, {
          value: '52',
          label: '撤销'
        }, {
          value: '53',
          label: '复议'
        }, {
          value: '54',
          label: '诉讼'
        }]
      } else if (this.activeName === 'punishment') { // 联合惩戒
        list = [{
          value: '61',
          label: '联合惩戒锁定'
        }, {
          value: '62',
          label: '联合惩戒解锁'
        }]
      } else if (this.activeName === 'cancel') { // 撤销登记案件
        list = [{
          value: '31',
          label: '撤销登记案件'
        }]
      } else if (this.activeName === 'repair') { // 信用修复管理
        list = [{
          value: '33',
          label: '严重违法失信信用修复'
        }, {
          value: '7',
          label: '企业经营异常名录信用修复'
        }, {
          value: '12',
          label: '个体户经营异常状态信用修复'
        }, {
          value: '14',
          label: '农专社经营异常名录信用修复'
        }]
      } else if (this.activeName === 'maketProblem') {
        list = [{
          value: '66',
          label: '现场核查'
        }]
      } else if (this.activeName === 'gzis') { // 总局一体化平台
        list = [{
          value: '30',
          label: '照面信息异议反馈'
        }]
      } else if (this.activeName === 'correct') { // 数据勘误
        list = [{
          value: '40',
          label: '列异勘误'
        }, {
          value: '41',
          label: '列严勘误'
        }]
      } else if (this.activeName === 'all') {
        list = [
          {
            value: '7',
            label: '企业经营异常名录信用修复'
          }, {
            value: '12',
            label: '个体户经营异常状态信用修复'
          }, {
            value: '14',
            label: '农专社经营异常名录信用修复'
          }, {
            value: '33',
            label: ' 严重违法失信名单信用修复'
          }, {
            value: '5',
            label: '企业经营异常名录列入'
          }, {
            value: '11',
            label: '个体户经营异常状态标记'
          }, {
            value: '6',
            label: '企业经营异常名录异议'
          }, {
            value: '55',
            label: '严重违法失信名单拟列入'
          }, {
            value: '15',
            label: '严重违法失信名单列入'
          }, {
            value: '16',
            label: '严重违法失信名单异议'
          }, {
            value: '51',
            label: '批量吊销'
          }, {
            value: '61',
            label: '联合惩戒锁定'
          }, {
            value: '62',
            label: '联合惩戒解锁'
          }, {
            value: '31',
            label: '撤销登记案件'
          }, {
            value: '30',
            label: '照面信息异议反馈'
          }, {
            value: '40',
            label: '列异勘误'
          }, {
            value: '41',
            label: '列严勘误'
          }, {
            value: '66',
            label: '现场核查'
          }]
      }
      this.bustypeOptions = list
      this.search()
    },
    cellStyle(row, column, rowIndex, columnIndex) {
      if (row.row.isagree === '2') {
        return 'color:red'
      }
    },
    deadlineRed(row, rowIndex) {
      if (row.row.isdeadline === '1') {
        return {
          // backgroundColor: 'yellow',
          color: 'red'
        }
      }
      if (this.$util.isEmpty(row.row.deadlineDate)) return ''
      const days = row.row.deadlineDay
      const deadlineDate = new Date(Date.parse(row.row.deadlineDate))
      const nowDate = new Date()
      if (nowDate > deadlineDate) {
        return { color: 'red' }
      } else if (days === 0 || days === 1) {
        return { color: '#ffa500' }
      }
    },
    toUpdatePwd() {
      this.templateDialog = false
      this.$router.push({ path: '/system/updatePassword' })
    },
    cancelToUpdatePwd() {
      this.templateDialog = false
      this.$router.push({ path: '/todo/list' })
    },
    handleScroll() {
      var scrollTop =
          window.pageYOffset ||
          document.documentElement.scrollTop ||
          document.body.scrollTop
      if (scrollTop > 80) {
        this.showFixed = true
      } else {
        this.showFixed = false
      }
    },
    tableSortChange({ column, prop, order }) {
      this.pageParam.customParamMap.orderName = prop
      this.pageParam.customParamMap.orderType = order === 'ascending' ? 'asc' : 'desc'
      this.pageParam.curPage = 1
      this.loadPage()
    },
    handleHeaderClick(column, event) {
      this.pageParam.customParamMap.orderName = column.property
      this.pageParam.customParamMap.orderType = column.order === 'ascending' ? 'asc' : 'desc'
      this.pageParam.curPage = 1
      this.loadPage()
    },
    /**
     * 子系统iframe，点击受理的时候触发的方法，我只想写在这个大框架页面，是要写在A子系统的\
     * @param data 这个参数就是子系统要告诉父的参数
     */
    jumpUrl(data) {
      // 如果是信创环境直接跳转
      if (isMenHu()) {
        window.location.href = data
      } else {
        window.parent.postMessage(data, '*')
      }
    },
    handleTabClick() {
    },
    // 重置条件
    resetSearchForm() {
      const val = this.$options.data().searchForm
      this.searchForm = val
      this.pageParam.curPage = 1
      sessionStorage.removeItem('pageParam')
      this.searchForm.UNISCIDORREGNO = ''
    },
    // 公示提示
    tip() {
      return this.$message.error('该主体公示中')
    },
    gotoPrintNotice(row) {
      switch (row.bustype) {
        case '6':
          this.$router.push({
            path: '/abnormal/company/dissent/ApplyNoticePrint',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        case '16':
          this.$router.push({
            path: '/illegal/printEntrance',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid, bustype: row.bustype, currentNodeOrBizStatus: row.currentNodeOrBizStatus, isPrint: row.isPrint }
          })
          break
      }
    },
    // 搜索
    search() {
      this.searchForm.userId = this.user.primaryKey
      this.pageParam.customParamMap = this.searchForm
      this.$set(this.pageParam.customParamMap, 'type', this.activeName)
      if (!sessionStorage.getItem('pageParam')) {
        this.$set(this.pageParam.customParamMap, 'orderName', 'ISBACK')
        this.$set(this.pageParam.customParamMap, 'orderType', 'DESC')
      }
      this.loadPage()
    },
    // 分页多选插件回调
    removeCallback(index, row) {
      this.$refs.multipleTable.toggleRowSelection(row, false)
    },
    // 全选按钮事件
    selectAll() {
      const table = this.$refs.multipleTable
      for (const i in table.data) {
        const each = table.data[i]
        table.toggleRowSelection(each, true)
      }
    },
    // 选项变更事件
    handleSelectionChange(selectData) {
      this.selection = selectData
    },
    // 当前分页改变
    pageIndexChange(curPage) {
      this.pageParam.curPage = curPage
      this.loadPage()
    },
    // 分页大小改变
    pageSizeChange(pageSize) {
      this.pageParam.pageSize = pageSize
      this.loadPage()
    },
    // 待办统计
    loadStatistic() {
      this.statparam.customParamMap.userId = this.user.primaryKey
      taskUnionPageStatistic(this.statparam).then(res => {
        this.allnum = res.data.allnum
        this.abnormalnum = res.data.abnormalnum
        this.illegalnum = res.data.illegalnum
        this.repairnum = res.data.repairnum
        this.revokenum = res.data.revokenum
        this.cancelnum = res.data.cancelnum
        this.punishmentnum = res.data.punishmentnum
        this.marketnum = res.data.marketnum
        this.risknum = res.data.risknum
        this.gzisnum = res.data.gzisnum
        this.correctnum = res.data.correctnum
      })
    },
    // 加载分页汇总
    loadPage() {
      // 记录当前会话条件的搜索
      sessionStorage.setItem('pageParam', JSON.stringify(this.pageParam))
      if (this.loading) {
        this.axiosCancelSource.cancel('请求已取消,重新请求')
      }
      this.loading = true
      const CancelToken = axios.CancelToken
      this.axiosCancelSource = CancelToken.source()
      taskUnionPage(this.pageParam, this.axiosCancelSource.token).then(res => {
        this.loading = false
        const list = []
        let i = 1
        const pageStart = (this.pageParam.curPage - 1) * this.pageParam.pageSize
        res.data.records.forEach(each => {
          each.index = pageStart + i++
          each.bustypename = this.$util.getTaskBusinessTypeName(each.bustype)
          each.busStatusName = this.$util.getTaskNodeName(each.currentNodeOrBizStatus)
          // 异议类型判断是否打印受理/不受理通知书
          each.isPassDissentApply = false
          if (each.bustype === '6') {
            isPassDissentApply(each.bustype, each.bizseqid).then(res => {
              each.isPassDissentApply = res.data.isPass
              each.acceptstat = res.data.acceptstat
              // 若通过受理审批环节且不同意 当前业务状态：不予受理
              if (each.isPassDissentApply === true && each.acceptstat === '0') {
                each.busStatusName = '不予受理'
              }
            })
          } else if (each.bustype === '51' && each.currentNodeOrBizStatus === '10') { // 批量吊销听证公示倒计时
            // 要改
          } else if (each.bustype === '33' && each.currentNodeOrBizStatus === 'serIllegalEnter') {
            if (each.lastNode === 'handleSerIllegal') {
              each.busStatusName = '回退（待审核）'
            } else if (each.lastNode === 'approveSerIllegal') {
              each.busStatusName = '回退（待审批）'
            } else if (each.lastNode === 'serIllegalEnter' && each.busstatus === '5') {
              each.busStatusName = '回退'
            }
          } else if (each.bustype === '16') {
            checkPrint(each.workflowid).then(res => {
              each.isPassDissentApply = res.data.isPass
            })
          } else if ((each.bustype === '7' || each.bustype === '12' || each.bustype === '14') && each.currentNodeOrBizStatus === 'exptlistEnter') {
            if (each.lastNode === 'exptlistEnter' && each.busstatus === '5') {
              each.busStatusName = '回退'
            }
          }
          list.push(each)
        })
        this.tableData = list
        this.pageParam.total = res.data.total
      })
    },
    // 打印跳转
    gotoPrint(row) {
      switch (row.bustype) {
        // 异常名录列入
        case '5':
          this.$router.push({
            path: '/abnormal/company/inclusion/print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 异常名录异议
        case '6':
          this.$router.push({
            path: '/abnormal/company/dissent/Print',
            query: {
              bizseq: row.bizseqid,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid,
              acceptstat: row.acceptstat
            }
          })
          break
          // 异常名录移出
        case '7':
          this.$router.push({
            path: '/abnormal/company/remove/Print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 个体工商户标记
        case '11':
          this.$router.push({
            path: '/abnormal/individual/mark/print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 个体工商户恢复
        case '12':
          this.$router.push({
            path: '/abnormal/individual/recover/print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 农专社经营异常名录列入
        case '13':
          this.$router.push({
            path: '/abnormal/company/inclusion/print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 农专社经营异常名录信用修复
        case '14':
          this.$router.push({
            path: '/abnormal/company/remove/print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 严重违法名录列入
        case '15':
          // 严重违法名录异议
        case '16':
          // 严重违法名录移出
        case '17':
          this.$router.push({
            path: '/illegal/printEntrance',
            query: { bizseq: row.bizseqid, workflowId: row.workflowId, tasklistid: row.tasklistid, bustype: row.bustype }
          })
          break
          // 冒用他人身份
        case '31':
          this.$router.push({
            path: '/cancel/print',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
      }
    },
    // 跳转处理
    gotoHandle(row) {
      // 拟列入经营异常名录页面跳转
      if (row.toIncludeId) {
        this.goToAbnormal(row)
        return
      }
      // if (row.bustype === '5' || row.bustype === '11' || row.bustype === '13') {
      //   return this.$message.info('该业务已经停止办理')
      // }
      switch (row.bustype) {
        // 地址批量列入
        case '73':
        case '72':
        case '71':
          this.$router.push({
            path: '/abnormal/company/inclusion/' + (row.currentNodeOrBizStatus === 'exptlistEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleExptlist' ? 'review' : 'examine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        case '11':
        case '13':
        case '5':
          this.$router.push({
            path: '/abnormal/company/inclusion/' + (row.currentNodeOrBizStatus === 'exptlistEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleExptlist' ? 'review' : 'examine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        // 企业经营异常企业异议
        case '6':
        case '20':
          this.$router.push({
            path: '/abnormal/company/dissent/' + (row.currentNodeOrBizStatus === 'acceptDissentEnter' ? 'ApplyAccept' : row.currentNodeOrBizStatus === 'handleDissentAccept' ? 'ApplyExamine' : row.currentNodeOrBizStatus === 'approveDissent' ? 'ToApprovalAccept' : row.currentNodeOrBizStatus === 'approveDissentAccept' ? 'ApprovalAcp' : row.currentNodeOrBizStatus === 'approveDissentReview' ? 'ApprovalReview' : 'ApprovalExamine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        case '7': {
          const path = '/crss/#/credit/company/' + (row.currentNodeOrBizStatus === 'exptlistEnter' ? 'removeaccept' : row.currentNodeOrBizStatus === 'handleExptlist' ? 'removereview' : 'removeexamine') + '?bizseq=' + row.bizseqid + '&workflowId=' + row.workflowid + '&currentNode=' + row.currentNodeOrBizStatus + '&tasklistid=' + row.tasklistid + '&type=company'
          this.jumpUrl(path)
          break
        }
        case '12': {
          // this.deleAbnTask(row.bizseqid)
          const path = '/crss/#/credit/company/' + (row.currentNodeOrBizStatus === 'exptlistEnter' ? 'removeaccept' : row.currentNodeOrBizStatus === 'handleExptlist' ? 'removereview' : 'removeexamine') + '?bizseq=' + row.bizseqid + '&workflowId=' + row.workflowid + '&currentNode=' + row.currentNodeOrBizStatus + '&tasklistid=' + row.tasklistid + '&type=individual'
          this.jumpUrl(path)
          break
        }
        case '14': {
          // this.deleAbnTask(row.bizseqid)
          const path = '/crss/#/credit/company/' + (row.currentNodeOrBizStatus === 'exptlistEnter' ? 'removeaccept' : row.currentNodeOrBizStatus === 'handleExptlist' ? 'removereview' : 'removeexamine') + '?bizseq=' + row.bizseqid + '&workflowId=' + row.workflowid + '&currentNode=' + row.currentNodeOrBizStatus + '&tasklistid=' + row.tasklistid + '&type=farmer'
          this.jumpUrl(path)
          break
        }
        // 严重违法名录列入
        case '55':
          this.$router.push({
            path: '/illegal/inclusion/' + (row.currentNodeOrBizStatus === 'serIllegalEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleSerIllegal' ? 'review' : 'examine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 严重违法名录列入
        case '15':
          let path = ''
          if (row.currentNodeOrBizStatus === 'accept') {
            path = 'accept'
          } else if (row.currentNodeOrBizStatus === 'review') {
            path = 'review'
          } else if (row.currentNodeOrBizStatus === 'examine') {
            path = 'examine'
          } else if (row.currentNodeOrBizStatus === 'bureauExamineSuccess') {
            path = 'bureauExamineSuccess'
          } else if (row.currentNodeOrBizStatus === 'examineSuccess') {
            path = 'info'
          }
          this.$router.push({
            path: '/illegal/listed/' + path,
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 严重违法名录异议
        case '16':
          const page = row.currentNodeOrBizStatus === 'acceptDissentEnter' ? 'applyAccept' : row.currentNodeOrBizStatus === 'handleDissentAccept' ? 'applyExamine' : 'approvalExamine'
          this.$router.push({
            path: `/illegal/dissent/${page}`,
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 严重违法名录移出
        case '17':
          this.$router.push({
            path: '/illegal/remove/' + (row.currentNodeOrBizStatus === 'serIllegalEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleSerIllegal' ? 'review' : 'examine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 冒用他人身份
        case '31': {
          this.$router.push({
            path: '/cancel/' + (row.currentNodeOrBizStatus === 'startAccept' ? 'cancelTodo' : row.currentNodeOrBizStatus === 'handleCancel' ? 'cancelCheck' : row.currentNodeOrBizStatus === 'approvalCancel' ? 'cancelPass' : row.currentNodeOrBizStatus === 'resultAddEnter' || row.currentNodeOrBizStatus === 'cancelShow' ? 'resultAccept' : row.currentNodeOrBizStatus === 'handleResultAdd' ? 'resultReview' : 'resultExamine'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
          break
        }
        // 撤销变更
        case '84': {
          this.$router.push({
            path: '/cancel/' + (row.currentNodeOrBizStatus === 'startAccept' ? 'cancelTodo' : row.currentNodeOrBizStatus === 'handleCancel' ? 'cancelCheck' : row.currentNodeOrBizStatus === 'approvalCancel' ? 'cancelPass' : row.currentNodeOrBizStatus === 'resultAddEnter' || row.currentNodeOrBizStatus === 'cancelShow' ? 'resultAccept' : row.currentNodeOrBizStatus === 'handleResultAdd' ? 'resultReview' : 'resultExamine'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
          break
        }
        // 撤销注销
        case '87': {
          this.$router.push({
            path: '/cancel/' + (row.currentNodeOrBizStatus === 'startAccept' ? 'cancelTodo' : row.currentNodeOrBizStatus === 'handleCancel' ? 'cancelCheck' : row.currentNodeOrBizStatus === 'approvalCancel' ? 'cancelPass' : row.currentNodeOrBizStatus === 'resultAddEnter' || row.currentNodeOrBizStatus === 'cancelShow' ? 'resultAccept' : row.currentNodeOrBizStatus === 'handleResultAdd' ? 'resultReview' : 'resultExamine'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
          break
        }
        // 信用修复管理-严重违法失信名单信用修复
        case '33': {
          // this.deleTask(row.bizseqid)
          const path = '/crss/#/credit/repair/' + (row.currentNodeOrBizStatus === 'serIllegalEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleSerIllegal' ? 'review' : 'examine') + '?bizseq=' + row.bizseqid + '&workflowid=' + row.workflowid + '&currentNode=' + row.currentNodeOrBizStatus + '&tasklistid=' + row.tasklistid
          // this.$router.push({ path: '/credit/repair/' + (row.currentNodeOrBizStatus === 'serIllegalEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleSerIllegal' ? 'review' : 'examine'), query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }})
          this.jumpUrl(path)
          break
        }
        // 行政处罚修复
        case '27': {
          this.$router.push({
            path: '/remPunish/accept',
            query: {
              taskId: row.tasklistid,
              bizSeq: row.bizseqid,
              workflowId: row.workflowid
            }
          })
          break
        }
        // 信用风险异议申请
        case '36': {
          const path = '/crgs/#/schedule/dissentFirstCheck?bizseq=' + row.bizseqid + '&workflowid=' + row.workflowid + '&uscc=' + row.uscc + '&currentNode=' + row.currentNodeOrBizStatus
          this.jumpUrl(path)
          break
        }
        // 总局一体化平台
        case '30': {
          const path = '/gzis/#/annual/dissent/' + (row.currentNodeOrBizStatus === 'annualDissentEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handleAnnualDissent' ? 'review' : 'examine') + '?bizseq=' + row.bizseqid + '&workflowid=' + row.workflowid + '&currentNode=' + row.currentNodeOrBizStatus + '&tasklistid=' + row.tasklistid
          this.jumpUrl(path)
          break
        }
        // 列异勘误
        case '40':
          this.$router.push({
            path: '/abnormal/corrections/detail',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 列严勘误
        case '41':
          this.$router.push({
            path: '/illegal/corrections/detail',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        // 批量吊销勘误
        case '42':
          this.$router.push({
            path: '/revoke/revokeCorrectionsDetail',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 批量吊销
        case '51':
          const bizStatus = row.currentNodeOrBizStatus
          switch (row.currentNodeOrBizStatus) {
            // 批量吊销线索录入
            case '0':
              this.$router.push({
                path: '/revoke/BatchRevoke/',
                query: {
                  active_top: 0,
                  active: 3,
                  bizStatus: row.bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
              // active_top: 1 立案环节
            case '1':
              this.$router.push({
                path: '/revoke/register/accept',
                query: {
                  active_top: 1,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '2':
              this.$router.push({
                path: '/revoke/register/review',
                query: {
                  active_top: 1,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '3':
              this.$router.push({
                path: '/revoke/register/examine',
                query: {
                  active_top: 1,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
              // active_top: 2 调查环节
            case '4':
              this.$router.push({
                path: '/revoke/investigate/accept',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '5':
              this.$router.push({
                path: '/revoke/investigate/review',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '6':
              this.$router.push({
                path: '/revoke/investigate/examine',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
              // active_top: 3 听证告知环节
            case '7':
              this.$router.push({
                path: '/revoke/hearing/accept',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '8':
              this.$router.push({
                path: '/revoke/hearing/review',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '9':
              this.$router.push({
                path: '/revoke/hearing/examine',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '24':
              this.$router.push({
                path: '/revoke/hearing/review',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '25':
              this.$router.push({
                path: '/revoke/hearing/review',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '26':
              this.$router.push({
                path: '/revoke/hearing/review',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
              // active_top: 4 决定环节
            case '10':
              this.$router.push({
                path: '/revoke/decision/accept',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '11':
              this.$router.push({
                path: '/revoke/decision/review',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '12':
              this.$router.push({
                path: '/revoke/decision/department',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '27':
              this.$router.push({
                path: '/revoke/decision/department',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '28':
              this.$router.push({
                path: '/revoke/decision/department',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '29':
              this.$router.push({
                path: '/revoke/decision/department',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '13':
              this.$router.push({
                path: '/revoke/decision/examine',
                query: {
                  active_top: 3,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
              // active_top: 5 送达与结束环节
            case '14':
              this.$router.push({
                path: '/revoke/send/accept',
                query: {
                  active_top: 4,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '15':
              this.$router.push({
                path: '/revoke/send/review',
                query: {
                  active_top: 4,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '16':
              this.$router.push({
                path: '/revoke/send/examine',
                query: {
                  active_top: 4,
                  active: 3,
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '22':
              this.$router.push({
                path: '/revoke/noRegister/',
                query: {
                  bizStatus: bizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
          }
          break
          // 撤销复议诉讼
        case '52':
          this.$router.push({
            path: '/revoke/revokeDetail',
            query: {
              handleType: '1',
              currentNode: row.currentNodeOrBizStatus,
              bizseq: row.bizseqid,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
          break
        case '53':
          this.$router.push({
            path: '/revoke/revokeDetail',
            query: {
              handleType: '2',
              currentNode: row.currentNodeOrBizStatus,
              bizseq: row.bizseqid,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
          break
        case '54':
          this.$router.push({
            path: '/revoke/revokeDetail',
            query: {
              handleType: '3',
              currentNode: row.currentNodeOrBizStatus,
              bizseq: row.bizseqid,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
          break
          // 联合惩戒锁定
        case '61':
          this.$router.push({
            path: '/punish/inclusion/' + (row.currentNodeOrBizStatus === 'punishEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handlePunish' ? 'review' : row.currentNodeOrBizStatus === 'reviewPunish' ? 'reviewAgain' : 'examine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 联合惩戒解锁
        case '62':
          this.$router.push({
            path: '/punish/remove/' + (row.currentNodeOrBizStatus === 'punishEnter' ? 'accept' : row.currentNodeOrBizStatus === 'handlePunish' ? 'review' : row.currentNodeOrBizStatus === 'reviewPunish' ? 'reviewAgain' : 'examine'),
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
          // 市场所监管-现场核查
        case '66':
          this.$router.push({
            path: '/market/marketDynamicInspect',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        case '67':
          this.$router.push({
            path: '/market/dailysupervision',
            query: { bizseq: row.bizseqid, workflowId: row.workflowid, tasklistid: row.tasklistid }
          })
          break
        // 撤销案件录入处理结果
        // eslint-disable-next-line no-lone-blocks
        case '81': {
          this.$router.push({
            path: '/cancel/easyTFraud/' + (row.currentNodeOrBizStatus === 'startLrAccept' ? 'easyResultExamine' : row.currentNodeOrBizStatus === 'approvalLrCancel' ? 'easyResultApproval' : 'revokeEntryList'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
        }
          break
        // 撤销撤销案件
        // eslint-disable-next-line no-lone-blocks
        case '82': {
          this.$router.push({
            path: '/cancel/removeTFraud/' + (row.currentNodeOrBizStatus === 'startCxAccept' ? 'removeTFraudAccept' : row.currentNodeOrBizStatus === 'handleCancelCx' ? 'removeTFraudExamine' : row.currentNodeOrBizStatus === 'approvalCancelCx' ? 'removeTFraudApproval' : 'removeTFraudList'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
        }
          break
        // 撤销变更录入处理结果
        // eslint-disable-next-line no-lone-blocks
        case '85': {
          this.$router.push({
            path: '/cancel/easyTFraud/' + (row.currentNodeOrBizStatus === 'startLrAccept' ? 'easyResultExamine' : row.currentNodeOrBizStatus === 'approvalLrCancel' ? 'easyResultApproval' : 'revokeEntryList'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
        }
          break
        // 撤销撤销变更案件
        // eslint-disable-next-line no-lone-blocks
        case '86': {
          this.$router.push({
            path: '/cancel/removeTFraud/' + (row.currentNodeOrBizStatus === 'startCxAccept' ? 'removeTFraudAccept' : row.currentNodeOrBizStatus === 'handleCancelCx' ? 'removeTFraudExamine' : row.currentNodeOrBizStatus === 'approvalCancelCx' ? 'removeTFraudApproval' : 'removeTFraudList'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
        }
          break
        // 撤销注销录入处理结果
        // eslint-disable-next-line no-lone-blocks
        case '88': {
          this.$router.push({
            path: '/cancel/easyTFraud/' + (row.currentNodeOrBizStatus === 'startLrAccept' ? 'easyResultExamine' : row.currentNodeOrBizStatus === 'approvalLrCancel' ? 'easyResultApproval' : 'revokeEntryList'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
        }
          break
        // 撤销撤销注销案件
        // eslint-disable-next-line no-lone-blocks
        case '89': {
          this.$router.push({
            path: '/cancel/removeTFraud/' + (row.currentNodeOrBizStatus === 'startCxAccept' ? 'removeTFraudAccept' : row.currentNodeOrBizStatus === 'handleCancelCx' ? 'removeTFraudExamine' : row.currentNodeOrBizStatus === 'approvalCancelCx' ? 'removeTFraudApproval' : 'removeTFraudList'),
            query: {
              bizseq: row.bizseqid,
              currentNode: row.currentNodeOrBizStatus,
              workflowId: row.workflowid,
              tasklistid: row.tasklistid
            }
          })
        }
          break
        case '91': {
          switch (row.currentNodeOrBizStatus) {
            // 批量吊销线索录入
            case '31':
              this.$router.push({
                path: '/bBulkDeactivation/batchDeactivation/registerZXAccept',
                query: {
                  active_top: 1,
                  active: 3,
                  bizStatus: row.currentNodeOrBizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            // active_top: 1 立案环节
            case '32':
              this.$router.push({
                path: '/bBulkDeactivation/batchDeactivation/registerZXExamine',
                query: {
                  active_top: 1,
                  active: 3,
                  bizStatus: row.currentNodeOrBizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '33':
              this.$router.push({
                path: '/bBulkDeactivation/batchDeactivation/registerZXAccept',
                query: {
                  active_top: 1,
                  active: 3,
                  bizStatus: row.currentNodeOrBizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
            case '34':
              this.$router.push({
                path: '/bBulkDeactivation/batchDeactivation/forcedLogoutAccept',
                query: {
                  active_top: 2,
                  active: 3,
                  bizStatus: row.currentNodeOrBizStatus,
                  bizseq: row.bizseqid,
                  workflowid: row.workflowid,
                  tasklistid: row.tasklistid
                }
              })
              break
          }
        }
      }
    },
    goToAbnormal(row) {
      // 办理前检验待办
      checkoutToincludeabn({ toIncludeId: row.toIncludeId }).then(res => {
        if (res.code !== 0) {
          this.$alert(res.msg, '业务重复办理', {
            confirmButtonText: '确定'
          })
          return
        }
        if (row.bustype === '5') {
          // 企业
          saveAbnormalAccept(row.toIncludeId, 'company').then(res => {
            if (res.code === 0) {
              this.$router.push({
                path: '/abnormal/company/inclusion/accept',
                query: { tasklistid: res.data.tasklistid, bizseq: res.data.bizseq, workflowId: res.data.workflowId }
              })
            } else {
              this.$message.error(res.msg)
            }
          })
        } else if (row.bustype === '13') {
          // 农专
          saveAbnormalAccept(row.toIncludeId, 'farmer').then(res => {
            if (res.code === 0) {
              this.$router.push({
                path: '/abnormal/agriculture/inclusion/accept',
                query: { tasklistid: res.data.tasklistid, bizseq: res.data.bizseq, workflowId: res.data.workflowId }
              })
            } else {
              this.$message.error(res.msg)
            }
          })
        } else if (row.bustype === '11') {
          // 个体
          saveAbnormalAccept(row.toIncludeId, 'individual').then(res => {
            if (res.code === 0) {
              this.$router.push({
                path: '/abnormal/individual/mark/accept',
                query: { tasklistid: res.data.tasklistid, bizseq: res.data.bizseq, workflowId: res.data.workflowId }
              })
              // const { href } = this.$router.resolve({ path: '/abnormal/company/inclusion/accept', query: { tasklistid: res.data.tasklistid, bizseq: res.data.bizseq, workflowId: res.data.workflowId }})
              // window.open(href, '_blank')
            } else {
              this.$message.error(res.msg)
            }
          })
        }
      })
    },
    batchExamineApprove() {
      // 判断当前勾选列表的待办是否都是一样的环节状态
      if (this.selection.length < 1) {
        this.$message.warning('批量审核/审批，请选择多条的记录！')
        return
      }
      const bustypeSet = new Set()
      const currNodeSet = new Set()
      this.jyycFlag = false
      this.yzwfFlag = false
      for (const item of this.selection) {
        if (['7', '12', '14', '33'].indexOf(item.bustype) !== -1) { // 经营异常和严重违法批量信用修复特殊处理
          if (['33'].indexOf(item.bustype) !== -1) {
            this.yzwfFlag = true
          } else {
            this.jyycFlag = true
          }
          bustypeSet.add('xyxf')
          if (item.currentNodeOrBizStatus === 'handleExptlist' || item.currentNodeOrBizStatus === 'handleSerIllegal') {
            currNodeSet.add('xyxfHandle')
          } else if (item.currentNodeOrBizStatus === 'approvelist' || item.currentNodeOrBizStatus === 'approveSerIllegal') {
            currNodeSet.add('xyxfApprove')
          } else {
            currNodeSet.add(item.currentNodeOrBizStatus)
          }
        } else {
          bustypeSet.add(item.bustype)
          currNodeSet.add(item.currentNodeOrBizStatus)
        }
      }
      // 判断当前勾选列表的待办是否都是一样的环节状态
      if (bustypeSet.size > 1 || currNodeSet.size > 1) {
        this.$message.warning('勾选的件存在多种业务类型/业务状态，请只保留一种类型！')
        return
      }
      // 目前只有经营的列异业务的批量审核、审批才可以批量
      if (['5', '11', '13', '71', '72', '73'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'handleExptlist') {
        // 经营列异，批量审核
        this.reviewDialog = true
      } else if (['5', '11', '13', '71', '72', '73'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'approvelist') {
        // 经营列异，批量审批
        this.examineDialog = true
      } else if (['xyxf'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'xyxfHandle') {
        // 信用修复经营异常、严重违法修复，批量审核
        this.getRemInfoByBatch()
        this.xfShDialog = true
      } else if (['xyxf'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'xyxfApprove') {
        // 信用修复经营异常、严重违法修复，批量审批
        this.getRemInfoByBatch()
        this.xfSpDialog = true
      } else {
        this.$message.warning('该业务暂不支持批量审核/审批！')
      }
      // else if (['7', '12', '14'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'handleExptlist') {
      //   // 信用修复的经营异常修复，批量审核
      //   this.jyycxfShDialog = true
      // } else if (['7', '12', '14'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'approvelist') {
      //   // 信用修复的经营异常修复，批量审批
      //   this.jyycxfSpDialog = true
      // } else if (['33'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'handleSerIllegal') {
      //   // 信用修复的严重违法修复，批量审核
      //   this.yzwfShDialog = true
      // } else if (['33'].indexOf(Array.from(bustypeSet)[0]) !== -1 && Array.from(currNodeSet)[0] === 'approveSerIllegal') {
      //   // 信用修复的严重违法修复，批量审批
      //   this.yzwfSpDialog = true
      // }
    },
    subReviewBatch() {
      this.$refs.reviewForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审核？', '提示').then(() => {
          this.batchLoading = true
          if (this.reviewForm.nextNodeID === 'approvelist') {
            this.reviewForm.nextPerformerids = this.reviewForm.reviewerId
          }
          for (const i in this.reviewer) {
            if (this.reviewer[i].primaryKey === this.reviewForm.nextPerformerids) {
              this.reviewForm.nextPerformerNames = this.reviewer[i].name
            }
          }
          this.reviewForm.batchType = 'review'
          this.reviewForm.taskListUnionDto = this.selection
          batchReviewAndExamine(this.reviewForm).then(res => {
            this.batchLoading = false
            this.reviewDialog = false
            if (res.code === 0) {
              this.$message.success('批量审核成功')
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    subxfReviewBatch() { // 批量信用修复审核
      this.$refs.xfShForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审核？', '提示').then(() => {
          this.batchLoading = true
          if (this.xfShForm.nextNodeID === 'approve') {
            this.xfShForm.isagree = '1'
            this.xfShForm.jyycNextPerformerids = this.xfShForm.jyycReviewerId
            this.xfShForm.yzwfNextPerformerids = this.xfShForm.yzwfReviewerId
          } else {
            this.xfShForm.isagree = '2'
          }
          for (const i in this.jyycxfShReviewer) {
            if (this.jyycxfShReviewer[i].primaryKey === this.xfShForm.jyycNextPerformerids) {
              this.xfShForm.jyycNextPerformerNames = this.jyycxfShReviewer[i].name
            }
          }
          for (const i in this.yzwfShReviewer) {
            if (this.yzwfShReviewer[i].primaryKey === this.xfShForm.yzwfNextPerformerids) {
              this.xfShForm.yzwfNextPerformerNames = this.yzwfShReviewer[i].name
            }
          }
          this.xfShForm.batchType = 'review'
          this.xfShForm.taskListUnionDto = this.selection
          batchShAndSp(this.xfShForm).then(res => {
            this.batchLoading = false
            this.xfShDialog = false
            if (res.code === 0) {
              if (res.data.errorNumber > 0) {
                this.$message.warning('批量审核共' + res.data.total + '条，共成功' + res.data.successNumber + '条，失败' + res.data.errorNumber + '条')
              } else {
                this.$message.success('批量审核成功')
              }
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    subxfExamineBatch() { // 批量信用修复审批
      this.$refs.xfSpForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审批？', '提示').then(() => {
          this.batchLoading = true
          this.xfSpForm.nextPerformerids = null
          this.xfSpForm.nextPerformerNames = null
          this.xfSpForm.taskListUnionDto = this.selection
          this.xfSpForm.batchType = 'examine'
          if (this.xfSpForm.nextNodeID === 'end') {
            this.xfSpForm.isagree = '1'
          } else {
            this.xfSpForm.isagree = '2'
          }
          batchShAndSp(this.xfSpForm).then(res => {
            this.batchLoading = false
            this.xfSpDialog = false
            if (res.code === 0) {
              if (res.data.errorNumber > 0) {
                this.$message.warning('批量审批共' + res.data.total + '条，共成功' + res.data.successNumber + '条，失败' + res.data.errorNumber + '条')
              } else {
                this.$message.success('批量审批成功')
              }
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    getRemInfoByBatch() { // 获取批量信用修复列表详情
      this.batchLoading = true
      const data = {
        'taskListUnionDto': this.selection
      }
      getRemInfoByBatch(data).then(res => {
        this.batchLoading = false
        if (res.code === 0) {
          this.remBatchVos = res.data.remBatchVos
        }
      })
    },
    subJyycxfReviewBatch() {
      this.$refs.jyycxfShForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审核？', '提示').then(() => {
          this.batchLoading = true
          if (this.jyycxfShForm.nextNodeID === 'approvelist') {
            this.jyycxfShForm.isagree = '1'
            this.jyycxfShForm.nextPerformerids = this.jyycxfShForm.reviewerId
          } else {
            this.jyycxfShForm.isagree = '2'
          }
          for (const i in this.jyycxfShReviewer) {
            if (this.jyycxfShReviewer[i].primaryKey === this.jyycxfShForm.nextPerformerids) {
              this.jyycxfShForm.nextPerformerNames = this.jyycxfShReviewer[i].name
            }
          }
          this.jyycxfShForm.batchType = 'review'
          this.jyycxfShForm.taskListUnionDto = this.selection
          batchJyycxfShAndSp(this.jyycxfShForm).then(res => {
            this.batchLoading = false
            this.jyycxfShDialog = false
            if (res.code === 0) {
              this.$message.success('批量审核成功')
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    subYzwfReviewBatch() {
      this.$refs.yzwfShForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审核？', '提示').then(() => {
          this.batchLoading = true
          if (this.yzwfShForm.nextNodeID === 'approveSerIllegal') {
            this.yzwfShForm.nextPerformerids = this.yzwfShForm.reviewerId
          }
          for (const i in this.yzwfShReviewer) {
            if (this.yzwfShReviewer[i].primaryKey === this.yzwfShForm.nextPerformerids) {
              this.yzwfShForm.nextPerformerNames = this.yzwfShReviewer[i].name
            }
          }
          this.yzwfShForm.batchType = 'review'
          this.yzwfShForm.taskListUnionDto = this.selection
          batchYzfwShAndSp(this.yzwfShForm).then(res => {
            this.batchLoading = false
            this.yzwfShDialog = false
            if (res.code === 0) {
              this.$message.success('批量审核成功')
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    subExamineBatch() {
      this.$refs.examineForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审批？', '提示').then(() => {
          this.batchLoading = true
          this.examineForm.nextPerformerids = null
          this.examineForm.nextPerformerNames = null
          this.examineForm.taskListUnionDto = this.selection
          this.examineForm.batchType = 'examine'
          batchReviewAndExamine(this.examineForm).then(res => {
            this.batchLoading = false
            this.examineDialog = false
            if (res.code === 0) {
              this.$message.success('批量审批成功')
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    subJyycxfExamineBatch() {
      this.$refs.jyycxfSpForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审批？', '提示').then(() => {
          this.batchLoading = true
          this.jyycxfSpForm.nextPerformerids = null
          this.jyycxfSpForm.nextPerformerNames = null
          this.jyycxfSpForm.taskListUnionDto = this.selection
          this.jyycxfSpForm.batchType = 'examine'
          if (this.jyycxfShForm.nextNodeID === 'endExptlist') {
            this.jyycxfSpForm.isagree = '1'
          } else {
            this.jyycxfSpForm.isagree = '2'
          }
          batchJyycxfShAndSp(this.jyycxfSpForm).then(res => {
            this.batchLoading = false
            this.jyycxfSpDialog = false
            if (res.code === 0) {
              this.$message.success('批量审批成功')
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    subYzwfExamineBatch() {
      this.$refs.yzwfSpForm.validate(valid => {
        if (!valid) return
        this.$confirm('是否确认提交批量审批？', '提示').then(() => {
          this.batchLoading = true
          this.yzwfSpForm.nextPerformerids = null
          this.yzwfSpForm.nextPerformerNames = null
          this.yzwfSpForm.taskListUnionDto = this.selection
          this.yzwfSpForm.batchType = 'examine'
          batchYzfwShAndSp(this.yzwfSpForm).then(res => {
            this.batchLoading = false
            this.yzwfSpDialog = false
            if (res.code === 0) {
              this.$message.success('批量审批成功')
              this.search()
            }
          })
        }).catch(() => {
        })
      })
    },
    // 加载审批人
    loadReviewer() {
      return getUsersWithPermission('exptInclueApprove', this.user.orgId).then(res => {
        if (res.code === 0) {
          this.reviewer = res.data
        }
      })
    }
    // deleTask(bizseq) {
    //   deleTaskAndillRem(bizseq).then(res => {
    //
    //   })
    // },
    // deleAbnTask(bizseq) {
    //   deleAbnTaskAndillRem(bizseq).then(res => {
    //
    //   })
    // },
  }
}
</script>

<style lang="scss" scoped>
.main-content {
  padding: 10pt;

  .content-header {
    background: white;

    .label-name_1u {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 180px;
      font-size: 16px;
    }

    .search-input-box_1u {
      display: inline-block;
      width: calc(100% - 230px);
    }

    .label-name_2u {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 210px;
      font-size: 16px;
    }

    .search-input-box_2u {
      display: inline-block;
      width: calc(65% - 120px);
    }

    .label-name_u {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 210px;
      font-size: 16px;
    }

    .search-input-box_u {
      display: inline-block;
      width: calc(65% - 120px);
    }

    .label-name_3u {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 180px;
      font-size: 16px;
    }

    .label-name_1 {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 100px;
      font-size: $font-size-content-text;
    }

    .search-input-box_1 {
      display: inline-block;
      width: calc(100% - 110px);
    }

    .label-name_2 {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 110px;
      font-size: $font-size-content-text;
    }

    .search-input-box_2 {
      display: inline-block;
      width: calc(100% - 120px);
    }

    .label-name_3 {
      text-align: right;
      display: inline-block; //转成行内快，才可定义宽度
      width: 140px;
      font-size: $font-size-content-text;
    }

    .custom {
      width: calc(100% - 150px);
    }

    .search-input {
      cursor: pointer;
    }

    .body {
      padding: 20px 0;
      border-top: none;
      margin-bottom: 10PX;
    }
  }

  .content-body {
    background: white;
    margin-bottom: 100px;
  }

  .header {
    /* height:50PX; */
    /* padding:15PX 10PX; */
    .title {
      font-weight: 600;
      /* font-size: 1.2rem; */
    }
  }

  .page-box {
    margin: 10PX;
    text-align: right
  }

  // .mb10{
  //   margin-bottom: 10px;
  // }
  .btn-box {
    display: inline-block;
    padding-left: 10px;
  }

  .prompt {
    color: #F53633;
  }
}

.tab {
  margin-bottom: 10px;
}

.fixed-bottom {
  position: fixed;
  width: 100%;
  bottom: -10px;
  right: 0;
  z-index: 99;
  padding: 10px;
  /* background: #8bbef6; */
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to bottom, #fff 0%, #8bbef6 100%);
  box-shadow: 1px -4px 4px rgba(0, 21, 41, 0.08);
}

.content-body {
  background: #fff;

  /deep/ .el-table .warning-row {
    background: #eaf4fe !important;
  }

  /deep/ .el-table .sort-caret.descending {
    border-top-color: #fff !important;
  }

  /deep/ .el-table .sort-caret.ascending {
    border-bottom-color: #fff !important;
  }
}
</style>

<style lang="scss">

.el-input__inner {
  height: 28px !important;
}

.fixed-bottom {
  .el-pagination {
    text-align: right !important;
  }
}
</style>
