|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
|
|
|
- <el-form-item label="" prop="companyId">
|
|
|
+ <!-- <el-form-item label="" prop="companyId">
|
|
|
<el-input
|
|
|
v-model="queryParams.companyId"
|
|
|
placeholder="请输入"
|
|
@@ -18,48 +18,39 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item label="编号" prop="number">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.number"
|
|
|
- placeholder="请输入编号"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
+ <el-input v-model="queryParams.number" placeholder="请输入编号" clearable size="small"
|
|
|
+ @keyup.enter.native="handleQuery" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="分值等级" prop="grade">
|
|
|
+ <!-- <el-form-item label="分值" prop="grade">
|
|
|
<el-input
|
|
|
v-model="queryParams.grade"
|
|
|
- placeholder="请输入分值等级"
|
|
|
+ placeholder="请输入分值"
|
|
|
clearable
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item label="时间" prop="collection">
|
|
|
- <el-date-picker clearable size="small" style="width: 200px"
|
|
|
- v-model="queryParams.collection"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择时间">
|
|
|
+ <el-date-picker clearable size="small" style="width: 200px" v-model="queryParams.collection" type="date"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="选择时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="价钱" prop="price">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.price"
|
|
|
- placeholder="请输入价钱"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
+ <el-input v-model="queryParams.price" placeholder="请输入价钱" clearable size="small"
|
|
|
+ @keyup.enter.native="handleQuery" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="状态" prop="status">
|
|
|
+ <el-input v-model="queryParams.price" placeholder="请输入状态" clearable size="small"
|
|
|
+ @keyup.enter.native="handleQuery" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="状态" prop="status">
|
|
|
+ <!-- <el-form-item label="状态" prop="status">
|
|
|
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
|
|
|
<el-option label="请选择字典生成" value="" />
|
|
|
</el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="0:否" prop="deleteFlag">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="0:否" prop="deleteFlag">
|
|
|
<el-input
|
|
|
v-model="queryParams.deleteFlag"
|
|
|
placeholder="请输入0:否"
|
|
@@ -67,16 +58,16 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="" prop="gmtCreate">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="" prop="gmtCreate">
|
|
|
<el-date-picker clearable size="small" style="width: 200px"
|
|
|
v-model="queryParams.gmtCreate"
|
|
|
type="date"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
placeholder="选择">
|
|
|
</el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="" prop="gmtUpdate">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="" prop="gmtUpdate">
|
|
|
<el-date-picker clearable size="small" style="width: 200px"
|
|
|
v-model="queryParams.gmtUpdate"
|
|
|
type="date"
|
|
@@ -101,7 +92,7 @@
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
- </el-form-item>
|
|
|
+ </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>
|
|
@@ -110,62 +101,44 @@
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- icon="el-icon-plus"
|
|
|
- size="mini"
|
|
|
- @click="handleAdd"
|
|
|
- v-permission="['gubi:transaction:add']"
|
|
|
- >新增</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd"
|
|
|
+ v-permission="['gubi:transaction:add']">新增</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="success"
|
|
|
- icon="el-icon-edit"
|
|
|
- size="mini"
|
|
|
- :disabled="single"
|
|
|
- @click="handleUpdate"
|
|
|
- v-permission="['gubi:transaction:edit']"
|
|
|
- >修改</el-button>
|
|
|
+ <el-button type="success" icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
|
|
+ v-permission="['gubi:transaction:edit']">修改</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- icon="el-icon-delete"
|
|
|
- size="mini"
|
|
|
- :disabled="multiple"
|
|
|
- @click="handleDelete"
|
|
|
- v-permission="['gubi:transaction:remove']"
|
|
|
- >删除</el-button>
|
|
|
+ <el-button type="danger" icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
|
|
+ v-permission="['gubi:transaction:remove']">删除</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- icon="el-icon-download"
|
|
|
- size="mini"
|
|
|
- @click="handleExport"
|
|
|
- v-permission="['gubi:transaction:export']"
|
|
|
- >导出</el-button>
|
|
|
+ <el-button type="warning" icon="el-icon-download" size="mini" @click="handleExport"
|
|
|
+ v-permission="['gubi:transaction:export']">导出</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
<el-table v-loading="loading" :data="transactionList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="" align="center" prop="id" />
|
|
|
- <el-table-column label="" align="center" prop="companyId" />
|
|
|
- <el-table-column label="分值id" align="center" prop="orderId" />
|
|
|
+ <!-- <el-table-column label="" align="center" prop="id" />
|
|
|
+ <el-table-column label="" align="center" prop="companyId" /> -->
|
|
|
+ <!-- <el-table-column label="分值id" align="center" prop="orderId" /> -->
|
|
|
<el-table-column label="编号" align="center" prop="number" />
|
|
|
- <el-table-column label="分值等级" align="center" prop="grade" />
|
|
|
+ <el-table-column label="分值" align="center" prop="grade" />
|
|
|
<el-table-column label="时间" align="center" prop="collection" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.collection) }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="价钱" align="center" prop="price" />
|
|
|
+ <el-table-column label="价钱(万元)" align="center" prop="price" width="120" />
|
|
|
<el-table-column label="状态" align="center" prop="status" />
|
|
|
- <el-table-column label="附件" align="center" prop="urlPath" />
|
|
|
- <el-table-column label="0:否" align="center" prop="deleteFlag" />
|
|
|
- <el-table-column label="" align="center" prop="gmtCreate" width="180">
|
|
|
+ <el-table-column align="center" property="urlPath" label="图片">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <img v-for="item in scope.row.urlPath" :src="item" width="40">
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <!-- <el-table-column label="0:否" align="center" prop="deleteFlag" /> -->
|
|
|
+ <!-- <el-table-column label="" align="center" prop="gmtCreate" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.gmtCreate) }}</span>
|
|
|
</template>
|
|
@@ -176,43 +149,35 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="" align="center" prop="userId" />
|
|
|
- <el-table-column label="" align="center" prop="adminId" />
|
|
|
+ <el-table-column label="" align="center" prop="adminId" /> -->
|
|
|
<el-table-column label="操作" align="center" 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-permission="['gubi:transaction:edit']"
|
|
|
- >修改</el-button>
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
- v-permission="['gubi:transaction:remove']"
|
|
|
- >删除</el-button>
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
|
|
+ v-permission="['gubi:transaction:edit']">修改</el-button>
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
|
|
+ v-permission="['gubi:transaction: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"
|
|
|
- />
|
|
|
+
|
|
|
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
+ @pagination="getList" />
|
|
|
|
|
|
<!-- 添加或修改交易记录对话框 -->
|
|
|
<el-dialog :title="title" :visible.sync="open" width="500px">
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
- <el-form-item label="" prop="companyId">
|
|
|
+ <!-- <el-form-item label="" prop="companyId">
|
|
|
<el-input v-model="form.companyId" placeholder="请输入" />
|
|
|
+ </el-form-item> -->
|
|
|
+ <el-form-item label="分值" prop="orderId">
|
|
|
+ <div @click="selectType">{{ orderName ? orderName : '选择分值' }}</div>
|
|
|
+ <!-- <el-select v-model="form.orderId" clearable style="width: 100%" class="filter-item" placeholder="请选择分值" >
|
|
|
+ <el-option v-for="(item,index) in threeList" :key="index" :label="item.typeId" :value="item.id" />
|
|
|
+ </el-select> -->
|
|
|
+ <!-- <el-input v-model="form.orderId" placeholder="请输入分值id" /> -->
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="分值id" prop="orderId">
|
|
|
- <el-input v-model="form.orderId" placeholder="请输入分值id" />
|
|
|
+ <el-form-item label="分值图片" prop="number">
|
|
|
+ <img v-for="item in urlPath" :src="item" width="40">
|
|
|
</el-form-item>
|
|
|
<el-form-item label="编号" prop="number">
|
|
|
<el-input v-model="form.number" placeholder="请输入编号" />
|
|
@@ -221,28 +186,23 @@
|
|
|
<el-input v-model="form.grade" placeholder="请输入分值等级" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="时间" prop="collection">
|
|
|
- <el-date-picker clearable size="small" style="width: 200px"
|
|
|
- v-model="form.collection"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择时间">
|
|
|
+ <el-date-picker clearable size="small" style="width: 200px" v-model="form.collection" type="date"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="选择时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="价钱" prop="price">
|
|
|
<el-input v-model="form.price" placeholder="请输入价钱" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="状态">
|
|
|
- <el-radio-group v-model="form.status">
|
|
|
- <el-radio label="1">请选择字典生成</el-radio>
|
|
|
- </el-radio-group>
|
|
|
+ <el-input v-model="form.status" placeholder="请输入状态" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="附件" prop="urlPath">
|
|
|
+ <!-- <el-form-item label="附件" prop="urlPath">
|
|
|
<el-input v-model="form.urlPath" type="textarea" placeholder="请输入内容" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="0:否" prop="deleteFlag">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="0:否" prop="deleteFlag">
|
|
|
<el-input v-model="form.deleteFlag" placeholder="请输入0:否" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="" prop="gmtCreate">
|
|
|
+ </el-form-item> -->
|
|
|
+ <!-- <el-form-item label="" prop="gmtCreate">
|
|
|
<el-date-picker clearable size="small" style="width: 200px"
|
|
|
v-model="form.gmtCreate"
|
|
|
type="date"
|
|
@@ -263,22 +223,39 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="" prop="adminId">
|
|
|
<el-input v-model="form.adminId" placeholder="请输入" />
|
|
|
- </el-form-item>
|
|
|
+ </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>
|
|
|
+ <el-dialog title="分值" :visible.sync="dialogFormVisible">
|
|
|
+ <el-form :model="form">
|
|
|
+ <el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="dialogFormVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="typeConfirm">确 定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listTransaction, getTransaction, delTransaction, addTransaction, updateTransaction, exportTransaction } from "@/api/gubi/transaction";
|
|
|
-
|
|
|
+import { listTransaction, getTransaction, delTransaction, addTransaction, updateTransaction, exportTransaction, typeList } from "@/api/gubi/transaction";
|
|
|
+import { listThree, getThree, delThree, addThree, updateThree, exportThree } from "@/api/gubi/three";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ data: [],
|
|
|
+ newList: [],
|
|
|
+ defaultProps: {
|
|
|
+ children: 'children',
|
|
|
+ label: 'typeName'
|
|
|
+ },
|
|
|
+ formLabelWidth: '120px',
|
|
|
+ dialogFormVisible: false,
|
|
|
// 遮罩层
|
|
|
loading: true,
|
|
|
// 选中数组
|
|
@@ -291,6 +268,7 @@ export default {
|
|
|
total: 0,
|
|
|
// 交易记录表格数据
|
|
|
transactionList: [],
|
|
|
+ threeList: [],
|
|
|
// 弹出层标题
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
@@ -315,25 +293,82 @@ export default {
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
|
+ orderName: "",
|
|
|
+ urlPath: [],
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
deleteFlag: [
|
|
|
{ required: true, message: "0:否(默认) 1:是不能为空", trigger: "blur" }
|
|
|
- ], }
|
|
|
+ ],
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleNodeClick(data) {
|
|
|
+ console.log(data);
|
|
|
+ this.form.orderId = data.id
|
|
|
+ this.orderName = data.typeName
|
|
|
+ this.urlPath = data.urlPath.split(",")
|
|
|
+ },
|
|
|
+ typeConfirm() {
|
|
|
+ this.dialogFormVisible = false
|
|
|
+ },
|
|
|
+ selectType() {
|
|
|
+ this.dialogFormVisible = true
|
|
|
+ },
|
|
|
/** 查询交易记录列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
listTransaction(this.queryParams).then(response => {
|
|
|
this.transactionList = response.data.data.items
|
|
|
+ for (let i = 0; i < this.transactionList.length; i++) {
|
|
|
+ if (this.transactionList[i].urlPath) {
|
|
|
+ this.transactionList[i].urlPath = this.transactionList[i].urlPath.split(',')
|
|
|
+ } else {
|
|
|
+ this.transactionList[i].urlPath = []
|
|
|
+ }
|
|
|
+ }
|
|
|
this.total = response.data.data.count
|
|
|
this.loading = false;
|
|
|
});
|
|
|
+ typeList().then(response => {
|
|
|
+ this.makeData(response.data.data)
|
|
|
+
|
|
|
+ // this.threeList = response.data.data.items
|
|
|
+ // for(let i =0;i<this.threeList.length;i++){
|
|
|
+ // if(this.threeList[i].urlPath){
|
|
|
+ // this.threeList[i].urlPath = this.threeList[i].urlPath.split(',')
|
|
|
+ // }else{
|
|
|
+ // this.threeList[i].urlPath=[]
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // this.total = response.data.data.count
|
|
|
+ // this.loading = false;
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
+ makeData(val) {
|
|
|
+ for (let i = 0; i < val.length; i++) {
|
|
|
+ if (val[i].children) {
|
|
|
+ for (let j = 0; j < val[i].children.length; j++) {
|
|
|
+ let _obj = val[i].children[j]
|
|
|
+ _obj.typeName = val[i].children[j].secondName
|
|
|
+ val[i].children[j] = _obj
|
|
|
+ if (val[i].children[j].children) {
|
|
|
+ for (let k = 0; k < val[i].children[j].children.length; k++) {
|
|
|
+ let _obj1 = val[i].children[j].children[k]
|
|
|
+ _obj1.typeName = val[i].children[j].children[k].typeId
|
|
|
+ val[i].children[j].children[k] = _obj1
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.data = val
|
|
|
+ console.log(this.data)
|
|
|
},
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
@@ -373,7 +408,7 @@ export default {
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
- this.single = selection.length!=1
|
|
|
+ this.single = selection.length != 1
|
|
|
this.multiple = !selection.length
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
@@ -385,6 +420,7 @@ export default {
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
+ this.imgsFileList = []
|
|
|
const id = row.id || this.ids.join(',')
|
|
|
getTransaction(id).then(response => {
|
|
|
this.form = response.data.data
|
|
@@ -393,9 +429,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
- submitForm: function() {
|
|
|
+ submitForm: function () {
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
if (valid) {
|
|
|
+ this.form.urlPath = this.urlPath.toString()
|
|
|
if (this.form.id != undefined) {
|
|
|
updateTransaction(this.form).then(response => {
|
|
|
if (response.data) {
|
|
@@ -407,6 +444,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
+
|
|
|
addTransaction(this.form).then(response => {
|
|
|
if (response.data) {
|
|
|
this.msgSuccess("新增成功");
|
|
@@ -424,28 +462,28 @@ export default {
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids.join(',')
|
|
|
this.$confirm('是否确认删除交易记录编号为"' + ids + '"的数据项?', "警告", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
- }).then(function() {
|
|
|
- return delTransaction(ids);
|
|
|
- }).then(() => {
|
|
|
- this.getList();
|
|
|
- this.msgSuccess("删除成功");
|
|
|
- }).catch(function() {});
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function () {
|
|
|
+ return delTransaction(ids);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.msgSuccess("删除成功");
|
|
|
+ }).catch(function () { });
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|
|
|
this.$confirm('是否确认导出所有交易记录数据项?', "警告", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
- }).then(function() {
|
|
|
- return exportTransaction(queryParams);
|
|
|
- }).then(response => {
|
|
|
- this.download(response.data.data);
|
|
|
- }).catch(function() {});
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function () {
|
|
|
+ return exportTransaction(queryParams);
|
|
|
+ }).then(response => {
|
|
|
+ this.download(response.data.data);
|
|
|
+ }).catch(function () { });
|
|
|
}
|
|
|
}
|
|
|
};
|