|
@@ -6,6 +6,7 @@ import { pick } from 'lodash-es';
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import type { FormInstance, FormRules } from 'element-plus'
|
|
|
import type { AxiosRequestConfig } from 'axios'
|
|
|
+import { user } from "~/store/user";
|
|
|
|
|
|
// #region (constant)
|
|
|
const TABLE_KEY = 'xhs_id'
|
|
@@ -406,7 +407,7 @@ request({
|
|
|
<template>
|
|
|
<div class="card flex-grow flex flex-col">
|
|
|
<div class="flex justify-between">
|
|
|
- <div>
|
|
|
+ <div class="flex">
|
|
|
<import-button @success="queryApi" :url="URL_CUT_REF"></import-button>
|
|
|
<el-button @click="handleTableRowBtn_export" type="primary">导出</el-button>
|
|
|
<!-- <el-button @click="handleTableRowBtn_add" type="primary">新增</el-button> -->
|
|
@@ -504,7 +505,7 @@ request({
|
|
|
<!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_edit(scope)" type="primary">编辑
|
|
|
</el-button> -->
|
|
|
<el-button link :auto-insert-space="false" @click="handleTableColBtn_audit(scope)" type="primary"
|
|
|
- :disabled="scope.row.xhs_spzt_option_k !== '1'">审核
|
|
|
+ :disabled="scope.row.xhs_spzt_option_k !== '1' || scope.row.xhs_spr !== user.user_realname">审核
|
|
|
</el-button>
|
|
|
<!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_detail(scope)" type="primary">详情
|
|
|
</el-button>
|