|  | @@ -48,10 +48,10 @@
 | 
											
												
													
														|  |                    @keyup.enter.native="handleQuery"
 |  |                    @keyup.enter.native="handleQuery"
 | 
											
												
													
														|  |                  />
 |  |                  />
 | 
											
												
													
														|  |                </el-form-item>
 |  |                </el-form-item>
 | 
											
												
													
														|  | -              <el-form-item label="介绍信类型" prop="type">
 |  | 
 | 
											
												
													
														|  | 
 |  | +              <el-form-item label="出入类型" prop="type">
 | 
											
												
													
														|  |                  <el-select
 |  |                  <el-select
 | 
											
												
													
														|  |                    v-model="queryParams.type"
 |  |                    v-model="queryParams.type"
 | 
											
												
													
														|  | -                  placeholder="请选择介绍信类型"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                  placeholder="请选择出入类型"
 | 
											
												
													
														|  |                    clearable
 |  |                    clearable
 | 
											
												
													
														|  |                  >
 |  |                  >
 | 
											
												
													
														|  |                    <el-option
 |  |                    <el-option
 | 
											
										
											
												
													
														|  | @@ -62,7 +62,21 @@
 | 
											
												
													
														|  |                    />
 |  |                    />
 | 
											
												
													
														|  |                  </el-select>
 |  |                  </el-select>
 | 
											
												
													
														|  |                </el-form-item>
 |  |                </el-form-item>
 | 
											
												
													
														|  | -              <el-form-item class="searchTitle" prop="rangen" label="出入时间">
 |  | 
 | 
											
												
													
														|  | 
 |  | +              <el-form-item label="出入状态" prop="status">
 | 
											
												
													
														|  | 
 |  | +                <el-select
 | 
											
												
													
														|  | 
 |  | +                  v-model="queryParams.status"
 | 
											
												
													
														|  | 
 |  | +                  placeholder="请选择介绍信类型"
 | 
											
												
													
														|  | 
 |  | +                  clearable
 | 
											
												
													
														|  | 
 |  | +                >
 | 
											
												
													
														|  | 
 |  | +                  <el-option
 | 
											
												
													
														|  | 
 |  | +                    v-for="dict in dict.type.out_in_request_status"
 | 
											
												
													
														|  | 
 |  | +                    :key="dict.value"
 | 
											
												
													
														|  | 
 |  | +                    :label="dict.label"
 | 
											
												
													
														|  | 
 |  | +                    :value="dict.value"
 | 
											
												
													
														|  | 
 |  | +                  />
 | 
											
												
													
														|  | 
 |  | +                </el-select>
 | 
											
												
													
														|  | 
 |  | +              </el-form-item>
 | 
											
												
													
														|  | 
 |  | +              <el-form-item class="searchTitle" prop="rangen" label="申请时间">
 | 
											
												
													
														|  |                  <DataRangePicker
 |  |                  <DataRangePicker
 | 
											
												
													
														|  |                    v-model="queryParams.range"
 |  |                    v-model="queryParams.range"
 | 
											
												
													
														|  |                    key="daterange"
 |  |                    key="daterange"
 | 
											
										
											
												
													
														|  | @@ -92,6 +106,15 @@
 | 
											
												
													
														|  |                  </el-button
 |  |                  </el-button
 | 
											
												
													
														|  |                  >
 |  |                  >
 | 
											
												
													
														|  |                </el-col>
 |  |                </el-col>
 | 
											
												
													
														|  | 
 |  | +              <el-col :span="1.5">
 | 
											
												
													
														|  | 
 |  | +                <el-button
 | 
											
												
													
														|  | 
 |  | +                  type="primary"
 | 
											
												
													
														|  | 
 |  | +                  icon="el-icon-download"
 | 
											
												
													
														|  | 
 |  | +                  size="mini"
 | 
											
												
													
														|  | 
 |  | +                  @click="handleExport"
 | 
											
												
													
														|  | 
 |  | +                  >导出数据</el-button
 | 
											
												
													
														|  | 
 |  | +                >
 | 
											
												
													
														|  | 
 |  | +              </el-col>
 | 
											
												
													
														|  |                <right-toolbar
 |  |                <right-toolbar
 | 
											
												
													
														|  |                  :showSearch.sync="showSearch"
 |  |                  :showSearch.sync="showSearch"
 | 
											
												
													
														|  |                  @queryTable="getList"
 |  |                  @queryTable="getList"
 | 
											
										
											
												
													
														|  | @@ -100,21 +123,21 @@
 | 
											
												
													
														|  |            </div>
 |  |            </div>
 | 
											
												
													
														|  |            <el-table
 |  |            <el-table
 | 
											
												
													
														|  |              v-loading="loading"
 |  |              v-loading="loading"
 | 
											
												
													
														|  | -            height="646"
 |  | 
 | 
											
												
													
														|  | 
 |  | +            height="546"
 | 
											
												
													
														|  |              border
 |  |              border
 | 
											
												
													
														|  |              size="small"
 |  |              size="small"
 | 
											
												
													
														|  |              :data="outInRecrodList"
 |  |              :data="outInRecrodList"
 | 
											
												
													
														|  |            >
 |  |            >
 | 
											
												
													
														|  | -            <el-table-column
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <!-- <el-table-column
 | 
											
												
													
														|  |                label="申请单位"
 |  |                label="申请单位"
 | 
											
												
													
														|  |                prop="companyName"
 |  |                prop="companyName"
 | 
											
												
													
														|  |                align="center"
 |  |                align="center"
 | 
											
												
													
														|  |                width="180"
 |  |                width="180"
 | 
											
												
													
														|  |                :show-overflow-tooltip="true"
 |  |                :show-overflow-tooltip="true"
 | 
											
												
													
														|  | -            />
 |  | 
 | 
											
												
													
														|  | 
 |  | +            /> -->
 | 
											
												
													
														|  |              <el-table-column
 |  |              <el-table-column
 | 
											
												
													
														|  |                label="出入人员"
 |  |                label="出入人员"
 | 
											
												
													
														|  | -              prop="userName"
 |  | 
 | 
											
												
													
														|  | 
 |  | +              prop="userNames"
 | 
											
												
													
														|  |                align="center"
 |  |                align="center"
 | 
											
												
													
														|  |                width="180"
 |  |                width="180"
 | 
											
												
													
														|  |                :show-overflow-tooltip="true"
 |  |                :show-overflow-tooltip="true"
 | 
											
										
											
												
													
														|  | @@ -125,18 +148,23 @@
 | 
											
												
													
														|  |                      <dict-tag :options="dict.type.letter_id_type" :value="scope.row.idType"/>
 |  |                      <dict-tag :options="dict.type.letter_id_type" :value="scope.row.idType"/>
 | 
											
												
													
														|  |                    </template>
 |  |                    </template>
 | 
											
												
													
														|  |            </el-table-column> -->
 |  |            </el-table-column> -->
 | 
											
												
													
														|  | -            <el-table-column
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <!-- <el-table-column
 | 
											
												
													
														|  |                label="证件号码"
 |  |                label="证件号码"
 | 
											
												
													
														|  |                prop="idCard"
 |  |                prop="idCard"
 | 
											
												
													
														|  |                align="center"
 |  |                align="center"
 | 
											
												
													
														|  |                width="180"
 |  |                width="180"
 | 
											
												
													
														|  | -            />
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +            /> -->
 | 
											
												
													
														|  |              <el-table-column
 |  |              <el-table-column
 | 
											
												
													
														|  | -              label="介绍信类型"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                label="介绍信编号"
 | 
											
												
													
														|  | 
 |  | +                prop="letterNo"
 | 
											
												
													
														|  | 
 |  | +                align="center"
 | 
											
												
													
														|  | 
 |  | +                width="140"
 | 
											
												
													
														|  | 
 |  | +              />
 | 
											
												
													
														|  | 
 |  | +            <el-table-column
 | 
											
												
													
														|  | 
 |  | +              label="出入类型"
 | 
											
												
													
														|  |                align="center"
 |  |                align="center"
 | 
											
												
													
														|  |                prop="letterType"
 |  |                prop="letterType"
 | 
											
												
													
														|  | -              width="110"
 |  | 
 | 
											
												
													
														|  | 
 |  | +              width="100"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <template slot-scope="scope">
 |  |                <template slot-scope="scope">
 | 
											
												
													
														|  |                  <dict-tag
 |  |                  <dict-tag
 | 
											
										
											
												
													
														|  | @@ -153,10 +181,37 @@
 | 
											
												
													
														|  |                prop="letterReasons"
 |  |                prop="letterReasons"
 | 
											
												
													
														|  |              />
 |  |              />
 | 
											
												
													
														|  |              <el-table-column
 |  |              <el-table-column
 | 
											
												
													
														|  | 
 |  | +              label="出入状态"
 | 
											
												
													
														|  | 
 |  | +              align="center"
 | 
											
												
													
														|  | 
 |  | +              prop="status"
 | 
											
												
													
														|  | 
 |  | +              width="100"
 | 
											
												
													
														|  | 
 |  | +            >
 | 
											
												
													
														|  | 
 |  | +              <template slot-scope="scope">
 | 
											
												
													
														|  | 
 |  | +                <dict-tag
 | 
											
												
													
														|  | 
 |  | +                  :options="dict.type.out_in_request_status"
 | 
											
												
													
														|  | 
 |  | +                  :value="scope.row.status"
 | 
											
												
													
														|  | 
 |  | +                />
 | 
											
												
													
														|  | 
 |  | +              </template>
 | 
											
												
													
														|  | 
 |  | +            </el-table-column>
 | 
											
												
													
														|  | 
 |  | +            <el-table-column
 | 
											
												
													
														|  | 
 |  | +              label="申请时间"
 | 
											
												
													
														|  | 
 |  | +              align="center"
 | 
											
												
													
														|  | 
 |  | +              prop="createTime"
 | 
											
												
													
														|  | 
 |  | +              width="180"
 | 
											
												
													
														|  | 
 |  | +            >
 | 
											
												
													
														|  | 
 |  | +            </el-table-column>
 | 
											
												
													
														|  | 
 |  | +            <!-- <el-table-column
 | 
											
												
													
														|  | 
 |  | +              label="审核时间"
 | 
											
												
													
														|  | 
 |  | +              align="center"
 | 
											
												
													
														|  | 
 |  | +              prop="approveTime"
 | 
											
												
													
														|  | 
 |  | +              width="180"
 | 
											
												
													
														|  | 
 |  | +            >
 | 
											
												
													
														|  | 
 |  | +            </el-table-column> -->
 | 
											
												
													
														|  | 
 |  | +            <el-table-column
 | 
											
												
													
														|  |                label="地区"
 |  |                label="地区"
 | 
											
												
													
														|  |                align="center"
 |  |                align="center"
 | 
											
												
													
														|  |                prop="affiliatedArea"
 |  |                prop="affiliatedArea"
 | 
											
												
													
														|  | -              width="180"
 |  | 
 | 
											
												
													
														|  | 
 |  | +              width="100"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |              </el-table-column>
 |  |              </el-table-column>
 | 
											
												
													
														|  |              <el-table-column
 |  |              <el-table-column
 | 
											
										
											
												
													
														|  | @@ -173,7 +228,7 @@
 | 
											
												
													
														|  |                width="180"
 |  |                width="180"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |              </el-table-column>
 |  |              </el-table-column>
 | 
											
												
													
														|  | -            <el-table-column
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <!-- <el-table-column
 | 
											
												
													
														|  |                label="出入时间"
 |  |                label="出入时间"
 | 
											
												
													
														|  |                align="center"
 |  |                align="center"
 | 
											
												
													
														|  |                width="420"
 |  |                width="420"
 | 
											
										
											
												
													
														|  | @@ -193,7 +248,7 @@
 | 
											
												
													
														|  |                      )
 |  |                      )
 | 
											
												
													
														|  |                    }}</span>
 |  |                    }}</span>
 | 
											
												
													
														|  |                </template>
 |  |                </template>
 | 
											
												
													
														|  | -            </el-table-column>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            </el-table-column> -->
 | 
											
												
													
														|  |              <!-- <el-table-column label="核验结果" width="250" align="center" prop="checkImage">
 |  |              <!-- <el-table-column label="核验结果" width="250" align="center" prop="checkImage">
 | 
											
												
													
														|  |                      <template slot-scope="scope">
 |  |                      <template slot-scope="scope">
 | 
											
												
													
														|  |                        <ImageListPreview v-model="scope.row.imgFile"></ImageListPreview>
 |  |                        <ImageListPreview v-model="scope.row.imgFile"></ImageListPreview>
 | 
											
										
											
												
													
														|  | @@ -217,11 +272,21 @@
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <template slot-scope="scope">
 |  |                <template slot-scope="scope">
 | 
											
												
													
														|  |                  <el-button
 |  |                  <el-button
 | 
											
												
													
														|  | 
 |  | +                  v-if="scope.row.status==0"
 | 
											
												
													
														|  | 
 |  | +                  size="mini"
 | 
											
												
													
														|  | 
 |  | +                  type="text"
 | 
											
												
													
														|  | 
 |  | +                  icon="el-icon-view"
 | 
											
												
													
														|  | 
 |  | +                  @click="handleApproveRequest(scope.row)"
 | 
											
												
													
														|  | 
 |  | +                  v-hasPermi="['core:outinrequest:approve']"
 | 
											
												
													
														|  | 
 |  | +                >审批
 | 
											
												
													
														|  | 
 |  | +                </el-button>
 | 
											
												
													
														|  | 
 |  | +                <el-button
 | 
											
												
													
														|  | 
 |  | +                  v-if="scope.row.status!=0"
 | 
											
												
													
														|  |                    size="mini"
 |  |                    size="mini"
 | 
											
												
													
														|  |                    type="text"
 |  |                    type="text"
 | 
											
												
													
														|  |                    icon="el-icon-view"
 |  |                    icon="el-icon-view"
 | 
											
												
													
														|  |                    @click="handleDetailInfo(scope.row)"
 |  |                    @click="handleDetailInfo(scope.row)"
 | 
											
												
													
														|  | -                  v-hasPermi="['core:record:list']"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                  v-hasPermi="['core:outinrequest:list']"
 | 
											
												
													
														|  |                  >详情
 |  |                  >详情
 | 
											
												
													
														|  |                  </el-button>
 |  |                  </el-button>
 | 
											
												
													
														|  |                  <el-button
 |  |                  <el-button
 | 
											
										
											
												
													
														|  | @@ -249,6 +314,7 @@
 | 
											
												
													
														|  |              ref="dialogDetail"
 |  |              ref="dialogDetail"
 | 
											
												
													
														|  |              @success="handleQuery(true)"
 |  |              @success="handleQuery(true)"
 | 
											
												
													
														|  |            ></dialog-out-in-detail>
 |  |            ></dialog-out-in-detail>
 | 
											
												
													
														|  | 
 |  | +          <dialog-approve-request ref="dialogApproveRequest" @success="handleQuery(true)"></dialog-approve-request>
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |        </el-col>
 |  |        </el-col>
 | 
											
												
													
														|  |      </el-row>
 |  |      </el-row>
 | 
											
										
											
												
													
														|  | @@ -256,18 +322,19 @@
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  | -import {outInRecordList} from "@/api/core/letter";
 |  | 
 | 
											
												
													
														|  | 
 |  | +import {outInRequestList} from "@/api/core/letter";
 | 
											
												
													
														|  |  import KFileUpload from "@/components/K-FileUpload/index.vue";
 |  |  import KFileUpload from "@/components/K-FileUpload/index.vue";
 | 
											
												
													
														|  |  import dayjs from "dayjs";
 |  |  import dayjs from "dayjs";
 | 
											
												
													
														|  |  import OrgTree from "@/components/orgTree/orgQuerySelector.vue";
 |  |  import OrgTree from "@/components/orgTree/orgQuerySelector.vue";
 | 
											
												
													
														|  |  import DataRangePicker from "@/components/dateTime/daterange.picker.vue";
 |  |  import DataRangePicker from "@/components/dateTime/daterange.picker.vue";
 | 
											
												
													
														|  | 
 |  | +import dialogApproveRequest from "./dialog.approve.request.vue";
 | 
											
												
													
														|  |  import dialogOutInDetail from "./dialog.outIn.detail.vue";
 |  |  import dialogOutInDetail from "./dialog.outIn.detail.vue";
 | 
											
												
													
														|  |  import {mapGetters} from "vuex";
 |  |  import {mapGetters} from "vuex";
 | 
											
												
													
														|  |  import {imageUrl} from "@/utils/ruoyi";
 |  |  import {imageUrl} from "@/utils/ruoyi";
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +import {getInfo} from "@/api/login";
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  | -  components: {OrgTree, KFileUpload, DataRangePicker, dialogOutInDetail},
 |  | 
 | 
											
												
													
														|  | -  dicts: ["letter_status", "out_in_type"],
 |  | 
 | 
											
												
													
														|  | 
 |  | +  components: {OrgTree, KFileUpload, DataRangePicker, dialogOutInDetail,dialogApproveRequest},
 | 
											
												
													
														|  | 
 |  | +  dicts: ["letter_status", "out_in_type","out_in_request_status"],
 | 
											
												
													
														|  |    name: "outInLog",
 |  |    name: "outInLog",
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
										
											
												
													
														|  | @@ -296,6 +363,7 @@ export default {
 | 
											
												
													
														|  |          checkSub: true,
 |  |          checkSub: true,
 | 
											
												
													
														|  |          userName: null,
 |  |          userName: null,
 | 
											
												
													
														|  |          type: null,
 |  |          type: null,
 | 
											
												
													
														|  | 
 |  | +        status: null,
 | 
											
												
													
														|  |          range: [],
 |  |          range: [],
 | 
											
												
													
														|  |          orgId: this.$store.getters.orgId,
 |  |          orgId: this.$store.getters.orgId,
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
										
											
												
													
														|  | @@ -303,6 +371,7 @@ export default {
 | 
											
												
													
														|  |        form: {},
 |  |        form: {},
 | 
											
												
													
														|  |        // 表单校验
 |  |        // 表单校验
 | 
											
												
													
														|  |        rules: {},
 |  |        rules: {},
 | 
											
												
													
														|  | 
 |  | +      selectedOrgName: null,
 | 
											
												
													
														|  |      };
 |  |      };
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
										
											
												
													
														|  | @@ -316,7 +385,7 @@ export default {
 | 
											
												
													
														|  |      /** 查询介绍信列表 */
 |  |      /** 查询介绍信列表 */
 | 
											
												
													
														|  |      getList() {
 |  |      getList() {
 | 
											
												
													
														|  |        this.loading = true;
 |  |        this.loading = true;
 | 
											
												
													
														|  | -      outInRecordList(this.queryParams).then((response) => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      outInRequestList(this.queryParams).then((response) => {
 | 
											
												
													
														|  |          this.outInRecrodList = response.rows;
 |  |          this.outInRecrodList = response.rows;
 | 
											
												
													
														|  |          this.total = response.total;
 |  |          this.total = response.total;
 | 
											
												
													
														|  |          this.loading = false;
 |  |          this.loading = false;
 | 
											
										
											
												
													
														|  | @@ -341,8 +410,32 @@ export default {
 | 
											
												
													
														|  |        this.queryParams.range = ['',''];
 |  |        this.queryParams.range = ['',''];
 | 
											
												
													
														|  |        this.handleQuery();
 |  |        this.handleQuery();
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | 
 |  | +     /** 导出按钮操作 */
 | 
											
												
													
														|  | 
 |  | +     handleExport() {
 | 
											
												
													
														|  | 
 |  | +      if (this.total==null || this.total===0){
 | 
											
												
													
														|  | 
 |  | +        this.$modal.alert("暂无可用数据导出");
 | 
											
												
													
														|  | 
 |  | +        return;
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      if (this.total>50000){
 | 
											
												
													
														|  | 
 |  | +        this.$modal.alert("导出数据超过5万条,请缩小查询范围后重试");
 | 
											
												
													
														|  | 
 |  | +        return;
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      this.download(
 | 
											
												
													
														|  | 
 |  | +        "core/letter/outinrequest/export",
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +          ...this.queryParams,
 | 
											
												
													
														|  | 
 |  | +        },
 | 
											
												
													
														|  | 
 |  | +        `${
 | 
											
												
													
														|  | 
 |  | +          this.selectedOrgName
 | 
											
												
													
														|  | 
 |  | +        }-${this.$tab.getCurrentTabName()}-${dayjs().format("YYYYMMDD")}.xlsx`
 | 
											
												
													
														|  | 
 |  | +      );
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |      getDefaultKey(key) {
 |  |      getDefaultKey(key) {
 | 
											
												
													
														|  | 
 |  | +      console.log("getDefaultKey",key);
 | 
											
												
													
														|  | 
 |  | +      // this.queryParams.orgId = org.id;
 | 
											
												
													
														|  | 
 |  | +      // this.selectedOrgName = org.shortName;
 | 
											
												
													
														|  |        this.queryParams.orgId = key;
 |  |        this.queryParams.orgId = key;
 | 
											
												
													
														|  | 
 |  | +      // this.selectedOrgName = org.shortName;
 | 
											
												
													
														|  |        this.getList();
 |  |        this.getList();
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      //单选框状态改变
 |  |      //单选框状态改变
 | 
											
										
											
												
													
														|  | @@ -353,12 +446,26 @@ export default {
 | 
											
												
													
														|  |      // 节点单击事件
 |  |      // 节点单击事件
 | 
											
												
													
														|  |      clickTreeNode(data) {
 |  |      clickTreeNode(data) {
 | 
											
												
													
														|  |        // this.initPlanRoleList();
 |  |        // this.initPlanRoleList();
 | 
											
												
													
														|  | 
 |  | +      this.selectedOrgName = data.shortName;
 | 
											
												
													
														|  |        this.queryParams.orgId = data.id;
 |  |        this.queryParams.orgId = data.id;
 | 
											
												
													
														|  |        this.handleQuery();
 |  |        this.handleQuery();
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      handleDetailInfo(row) {
 |  |      handleDetailInfo(row) {
 | 
											
												
													
														|  |        this.$refs["dialogDetail"].show(row.id);
 |  |        this.$refs["dialogDetail"].show(row.id);
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | 
 |  | +    handleApproveRequest(row) {
 | 
											
												
													
														|  | 
 |  | +      getInfo().then((res) => {
 | 
											
												
													
														|  | 
 |  | +        const user = res.user;
 | 
											
												
													
														|  | 
 |  | +        if (user.signatureSeal ==='' || user.signatureSeal === null){
 | 
											
												
													
														|  | 
 |  | +          this.$modal.alert("用户尚未配置个人签名印章,请先至App端【我的】页面新增签名印章。");
 | 
											
												
													
														|  | 
 |  | +        }else {
 | 
											
												
													
														|  | 
 |  | +          this.$refs["dialogApproveRequest"].show(row.id, user.signatureSeal,{});
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +      })
 | 
											
												
													
														|  | 
 |  | +        .catch((error) => {
 | 
											
												
													
														|  | 
 |  | +          //reject(error);
 | 
											
												
													
														|  | 
 |  | +        });
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |      async onDown(pdfUrl) {
 |  |      async onDown(pdfUrl) {
 | 
											
												
													
														|  |        // const data = await this.$api.eduTraining.predown(id);
 |  |        // const data = await this.$api.eduTraining.predown(id);
 | 
											
												
													
														|  |        window.open(imageUrl(pdfUrl));
 |  |        window.open(imageUrl(pdfUrl));
 |