|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
- <el-form-item label="公司名2222" prop="companyId">
|
|
|
+ <el-form-item label="公司名" prop="companyId">
|
|
|
<el-select filterable v-model="queryParams.companyId" placeholder="请选择公司名" clearable size="small">
|
|
|
<el-option
|
|
|
v-for="item in companys"
|
|
|
@@ -127,6 +127,16 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="小程序" prop="appId">
|
|
|
+ <el-select v-model="queryParams.appId" placeholder="请选择所属小程序" clearable size="small">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in appMallOptions"
|
|
|
+ :key="dict.appid"
|
|
|
+ :label="dict.name + '(' + dict.appid + ')'"
|
|
|
+ :value="dict.appid"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
@@ -177,6 +187,7 @@
|
|
|
<el-table-column label="所属公司" align="center" prop="companyName" />
|
|
|
<el-table-column label="所属部门" align="center" prop="deptName" />
|
|
|
<el-table-column label="员工" align="center" prop="companyUserNickName" />
|
|
|
+ <el-table-column label="小程序名称" align="center" prop="miniProgramName" width="120px" />
|
|
|
<el-table-column label="状态" align="center" prop="status" >
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag prop="status" v-for="(item, index) in statusOptions" v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
|
@@ -277,10 +288,12 @@
|
|
|
<script>
|
|
|
import { refundStorePayment,listStorePayment, getStorePayment, delStorePayment, addStorePayment, updateStorePayment, exportStorePayment,setPayNotify } from "@/api/hisStore/storePayment";
|
|
|
import { getCompanyList } from "@/api/company/company";
|
|
|
+import {list as getAppMallOptions} from '@/api/course/coursePlaySourceConfig';
|
|
|
export default {
|
|
|
name: "HisStorePayment",
|
|
|
data() {
|
|
|
return {
|
|
|
+ appMallOptions:[],
|
|
|
payModeOptions:[
|
|
|
{ dictLabel: "微信支付", dictValue: "wx" },
|
|
|
{ dictLabel: "汇付", dictValue: "hf" }
|
|
|
@@ -367,8 +380,16 @@ export default {
|
|
|
this.companys = response.data;
|
|
|
});
|
|
|
this.getList();
|
|
|
+ // 获取小程序选项列表
|
|
|
+ this.getAppMallOptions();
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 获取小程序选项列表
|
|
|
+ getAppMallOptions() {
|
|
|
+ getAppMallOptions({pageNum:1,pageSize:100,isMall:1}).then(response => {
|
|
|
+ this.appMallOptions = response.rows;
|
|
|
+ })
|
|
|
+ },
|
|
|
submitPayNotifyForm(){
|
|
|
this.$refs["payNotifyForm"].validate(valid => {
|
|
|
if (valid) {
|