|
@@ -0,0 +1,436 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class="app-container">
|
|
|
|
|
+ <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="88px">
|
|
|
|
|
+ <el-form-item label="所属店铺" prop="storeId">
|
|
|
|
|
+ <el-select v-model="queryParams.storeId" placeholder="所属店铺" clearable size="small" filterable>
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="dict in storeOptions"
|
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="商品名称" prop="productName">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="queryParams.productName"
|
|
|
|
|
+ placeholder="请输入商品名称"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="商品编码" prop="productCode">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="queryParams.productCode"
|
|
|
|
|
+ placeholder="请输入商品编码"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="状态" prop="status">
|
|
|
|
|
+ <el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
|
|
|
|
|
+ <el-option label="上架" :value="1" />
|
|
|
|
|
+ <el-option label="下架" :value="0" />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item>
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
|
+ <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+
|
|
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
|
|
+ <el-col :span="1.5">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ plain
|
|
|
|
|
+ icon="el-icon-plus"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ @click="handleAdd"
|
|
|
|
|
+ v-hasPermi="['his:thirdProduct:add']"
|
|
|
|
|
+ >新增</el-button>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="1.5">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="success"
|
|
|
|
|
+ plain
|
|
|
|
|
+ icon="el-icon-edit"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ :disabled="single"
|
|
|
|
|
+ @click="handleUpdate"
|
|
|
|
|
+ v-hasPermi="['his:thirdProduct:edit']"
|
|
|
|
|
+ >修改</el-button>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="1.5">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ plain
|
|
|
|
|
+ icon="el-icon-delete"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ :disabled="multiple"
|
|
|
|
|
+ @click="handleDelete"
|
|
|
|
|
+ v-hasPermi="['his:thirdProduct:remove']"
|
|
|
|
|
+ >删除</el-button>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="1.5">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="warning"
|
|
|
|
|
+ plain
|
|
|
|
|
+ icon="el-icon-download"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ :loading="exportLoading"
|
|
|
|
|
+ @click="handleExport"
|
|
|
|
|
+ v-hasPermi="['his:thirdProduct:export']"
|
|
|
|
|
+ >导出</el-button>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <el-table height="500" border v-loading="loading" :data="productList" @selection-change="handleSelectionChange">
|
|
|
|
|
+ <el-table-column type="selection" width="50" align="center" />
|
|
|
|
|
+ <el-table-column label="ID" align="center" prop="productId" width="70" />
|
|
|
|
|
+ <el-table-column label="商品图片" align="center" width="120">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-popover placement="right" title="" trigger="hover" v-if="scope.row.productImage">
|
|
|
|
|
+ <img slot="reference" :src="scope.row.productImage" width="80">
|
|
|
|
|
+ <img :src="scope.row.productImage" style="max-width: 150px;">
|
|
|
|
|
+ </el-popover>
|
|
|
|
|
+ <span v-else>-</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="商品名称" show-overflow-tooltip align="center" prop="productName" />
|
|
|
|
|
+ <el-table-column label="店铺" align="center" prop="storeName" show-overflow-tooltip min-width="120" />
|
|
|
|
|
+ <el-table-column label="商品编码" align="center" prop="productCode" width="130" />
|
|
|
|
|
+ <el-table-column label="商品规格" align="center" prop="productSpec" width="120" show-overflow-tooltip />
|
|
|
|
|
+ <el-table-column label="售价" align="center" prop="price" width="100">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span v-if="scope.row.price != null">{{ scope.row.price.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="成本价" align="center" prop="costPrice" width="100">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span v-if="scope.row.costPrice != null">{{ scope.row.costPrice.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="库存" align="center" prop="stock" width="80" />
|
|
|
|
|
+ <el-table-column label="单位" align="center" prop="unitName" width="80" />
|
|
|
|
|
+ <el-table-column label="分类" align="center" prop="cateName" width="120" show-overflow-tooltip />
|
|
|
|
|
+ <el-table-column label="状态" align="center" prop="status" width="90">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-tag v-if="scope.row.status === 1" type="success" size="mini">上架</el-tag>
|
|
|
|
|
+ <el-tag v-else type="info" size="mini">下架</el-tag>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="操作" align="center" fixed="right" width="160" class-name="small-padding fixed-width">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ icon="el-icon-edit"
|
|
|
|
|
+ @click="handleUpdate(scope.row)"
|
|
|
|
|
+ v-hasPermi="['his:thirdProduct:edit']"
|
|
|
|
|
+ >修改</el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ icon="el-icon-delete"
|
|
|
|
|
+ @click="handleDelete(scope.row)"
|
|
|
|
|
+ v-hasPermi="['his:thirdProduct:remove']"
|
|
|
|
|
+ >删除</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+
|
|
|
|
|
+ <pagination
|
|
|
|
|
+ v-show="total > 0"
|
|
|
|
|
+ :total="total"
|
|
|
|
|
+ :page.sync="queryParams.pageNum"
|
|
|
|
|
+ :limit.sync="queryParams.pageSize"
|
|
|
|
|
+ @pagination="getList"
|
|
|
|
|
+ />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 新增/修改弹窗 -->
|
|
|
|
|
+ <el-dialog :title="title" v-if="open" :visible.sync="open" width="700px" append-to-body :close-on-click-modal="false">
|
|
|
|
|
+ <el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="所属店铺" prop="storeId">
|
|
|
|
|
+ <el-select v-model="form.storeId" placeholder="请选择所属店铺" clearable filterable style="width: 100%">
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="dict in storeOptions"
|
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="商品编码" prop="productCode">
|
|
|
|
|
+ <el-input v-model="form.productCode" placeholder="请输入商品编码" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-form-item label="商品名称" prop="productName">
|
|
|
|
|
+ <el-input v-model="form.productName" placeholder="请输入商品名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="商品图片" prop="productImage">
|
|
|
|
|
+ <Material v-model="imageArr" type="image" :num="1" :width="150" :height="150" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="商品规格" prop="productSpec">
|
|
|
|
|
+ <el-input v-model="form.productSpec" placeholder="请输入商品规格" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="单位" prop="unitName">
|
|
|
|
|
+ <el-input v-model="form.unitName" placeholder="请输入单位" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="售价" prop="price">
|
|
|
|
|
+ <el-input-number v-model="form.price" :precision="2" :min="0" controls-position="right" style="width: 200px;" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="成本价" prop="costPrice">
|
|
|
|
|
+ <el-input-number v-model="form.costPrice" :precision="2" :min="0" controls-position="right" style="width: 200px;" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="库存" prop="stock">
|
|
|
|
|
+ <el-input-number v-model="form.stock" :min="0" controls-position="right" style="width: 200px;" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="分类名称" prop="cateName">
|
|
|
|
|
+ <el-input v-model="form.cateName" placeholder="请输入分类名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="状态" prop="status">
|
|
|
|
|
+ <el-select v-model="form.status" placeholder="请选择状态" style="width: 200px;">
|
|
|
|
|
+ <el-option label="上架" :value="1" />
|
|
|
|
|
+ <el-option label="下架" :value="0" />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="排序" prop="sort">
|
|
|
|
|
+ <el-input-number v-model="form.sort" :min="0" controls-position="right" style="width: 200px;" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-form-item label="备注" prop="remark">
|
|
|
|
|
+ <el-input v-model="form.remark" type="textarea" :rows="3" placeholder="请输入备注" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
|
|
+ <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
+ <el-button @click="cancel">取 消</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script>
|
|
|
|
|
+import { listThirdProduct, getThirdProduct, addThirdProduct, updateThirdProduct, delThirdProduct, exportThirdProduct } from "@/api/his/thirdProduct";
|
|
|
|
|
+import { listStore } from "@/api/his/storeProduct";
|
|
|
|
|
+import Material from "@/components/Material";
|
|
|
|
|
+
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: "ThirdProduct",
|
|
|
|
|
+ components: { Material },
|
|
|
|
|
+ watch: {
|
|
|
|
|
+ imageArr(val) {
|
|
|
|
|
+ this.form.productImage = (val || []).join(",");
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ loading: true,
|
|
|
|
|
+ showSearch: true,
|
|
|
|
|
+ total: 0,
|
|
|
|
|
+ productList: [],
|
|
|
|
|
+ ids: [],
|
|
|
|
|
+ single: true,
|
|
|
|
|
+ multiple: true,
|
|
|
|
|
+ title: "",
|
|
|
|
|
+ open: false,
|
|
|
|
|
+ exportLoading: false,
|
|
|
|
|
+ storeOptions: [],
|
|
|
|
|
+ imageArr: [],
|
|
|
|
|
+ queryParams: {
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
|
+ storeId: null,
|
|
|
|
|
+ productName: null,
|
|
|
|
|
+ productCode: null,
|
|
|
|
|
+ status: null
|
|
|
|
|
+ },
|
|
|
|
|
+ form: {},
|
|
|
|
|
+ rules: {
|
|
|
|
|
+ storeId: [
|
|
|
|
|
+ { required: true, message: "所属店铺不能为空", trigger: "change" }
|
|
|
|
|
+ ],
|
|
|
|
|
+ productName: [
|
|
|
|
|
+ { required: true, message: "商品名称不能为空", trigger: "blur" }
|
|
|
|
|
+ ],
|
|
|
|
|
+ productCode: [
|
|
|
|
|
+ { required: true, message: "商品编码不能为空", trigger: "blur" }
|
|
|
|
|
+ ],
|
|
|
|
|
+ productImage: [
|
|
|
|
|
+ { required: true, message: "商品图片不能为空", trigger: "change" }
|
|
|
|
|
+ ],
|
|
|
|
|
+ price: [
|
|
|
|
|
+ { required: true, message: "售价不能为空", trigger: "blur" }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+ created() {
|
|
|
|
|
+ this.getStoreList();
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ getList() {
|
|
|
|
|
+ this.loading = true;
|
|
|
|
|
+ listThirdProduct(this.queryParams).then(response => {
|
|
|
|
|
+ this.productList = response.rows;
|
|
|
|
|
+ this.total = response.total;
|
|
|
|
|
+ this.loading = false;
|
|
|
|
|
+ }).catch(() => {
|
|
|
|
|
+ this.loading = false;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ getStoreList() {
|
|
|
|
|
+ listStore().then(response => {
|
|
|
|
|
+ this.storeOptions = (response.rows || []).map(item => ({
|
|
|
|
|
+ ...item,
|
|
|
|
|
+ dictValue: item.dictValue != null ? Number(item.dictValue) : item.dictValue
|
|
|
|
|
+ }));
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ handleQuery() {
|
|
|
|
|
+ this.queryParams.pageNum = 1;
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ },
|
|
|
|
|
+ resetQuery() {
|
|
|
|
|
+ this.resetForm("queryForm");
|
|
|
|
|
+ this.handleQuery();
|
|
|
|
|
+ },
|
|
|
|
|
+ handleSelectionChange(selection) {
|
|
|
|
|
+ this.ids = selection.map(item => item.productId);
|
|
|
|
|
+ this.single = selection.length !== 1;
|
|
|
|
|
+ this.multiple = !selection.length;
|
|
|
|
|
+ },
|
|
|
|
|
+ reset() {
|
|
|
|
|
+ this.imageArr = [];
|
|
|
|
|
+ this.form = {
|
|
|
|
|
+ productId: null,
|
|
|
|
|
+ storeId: null,
|
|
|
|
|
+ productName: null,
|
|
|
|
|
+ productCode: null,
|
|
|
|
|
+ productImage: null,
|
|
|
|
|
+ productSpec: null,
|
|
|
|
|
+ price: 0,
|
|
|
|
|
+ costPrice: 0,
|
|
|
|
|
+ stock: 0,
|
|
|
|
|
+ unitName: null,
|
|
|
|
|
+ cateName: null,
|
|
|
|
|
+ status: 1,
|
|
|
|
|
+ sort: 0,
|
|
|
|
|
+ remark: null
|
|
|
|
|
+ };
|
|
|
|
|
+ this.resetForm("form");
|
|
|
|
|
+ },
|
|
|
|
|
+ handleAdd() {
|
|
|
|
|
+ this.reset();
|
|
|
|
|
+ this.open = true;
|
|
|
|
|
+ this.title = "新增第三方商品";
|
|
|
|
|
+ },
|
|
|
|
|
+ handleUpdate(row) {
|
|
|
|
|
+ this.reset();
|
|
|
|
|
+ const productId = row.productId || this.ids[0];
|
|
|
|
|
+ getThirdProduct(productId).then(response => {
|
|
|
|
|
+ this.form = response.data;
|
|
|
|
|
+ if (this.form.storeId != null) {
|
|
|
|
|
+ this.form.storeId = Number(this.form.storeId);
|
|
|
|
|
+ }
|
|
|
|
|
+ this.imageArr = this.form.productImage ? [this.form.productImage] : [];
|
|
|
|
|
+ this.open = true;
|
|
|
|
|
+ this.title = "修改第三方商品";
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ submitForm() {
|
|
|
|
|
+ this.$refs["form"].validate(valid => {
|
|
|
|
|
+ if (valid) {
|
|
|
|
|
+ if (this.form.productId != null) {
|
|
|
|
|
+ updateThirdProduct(this.form).then(response => {
|
|
|
|
|
+ if (response.code === 200) {
|
|
|
|
|
+ this.msgSuccess("修改成功");
|
|
|
|
|
+ this.open = false;
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ addThirdProduct(this.form).then(response => {
|
|
|
|
|
+ if (response.code === 200) {
|
|
|
|
|
+ this.msgSuccess("新增成功");
|
|
|
|
|
+ this.open = false;
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ cancel() {
|
|
|
|
|
+ this.open = false;
|
|
|
|
|
+ this.reset();
|
|
|
|
|
+ },
|
|
|
|
|
+ handleDelete(row) {
|
|
|
|
|
+ const productIds = row.productId || this.ids;
|
|
|
|
|
+ this.$confirm("是否确认删除选中的商品数据项?", "警告", {
|
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
|
+ type: "warning"
|
|
|
|
|
+ }).then(() => {
|
|
|
|
|
+ return delThirdProduct(productIds);
|
|
|
|
|
+ }).then(response => {
|
|
|
|
|
+ if (response.code === 200) {
|
|
|
|
|
+ this.msgSuccess("删除成功");
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ }
|
|
|
|
|
+ }).catch(() => {});
|
|
|
|
|
+ },
|
|
|
|
|
+ handleExport() {
|
|
|
|
|
+ this.$confirm("是否确认导出第三方商品数据项?", "警告", {
|
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
|
+ type: "warning"
|
|
|
|
|
+ }).then(() => {
|
|
|
|
|
+ this.exportLoading = true;
|
|
|
|
|
+ const params = { ...this.queryParams };
|
|
|
|
|
+ delete params.pageNum;
|
|
|
|
|
+ delete params.pageSize;
|
|
|
|
|
+ return exportThirdProduct(params);
|
|
|
|
|
+ }).then(response => {
|
|
|
|
|
+ this.download(response.msg);
|
|
|
|
|
+ this.exportLoading = false;
|
|
|
|
|
+ }).catch(() => {
|
|
|
|
|
+ this.exportLoading = false;
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+};
|
|
|
|
|
+</script>
|