|
@@ -75,12 +75,7 @@
|
|
|
width="140">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- <span v-if="actionIndex != scope.row.id">{{
|
|
|
- scope.row.identity?
|
|
|
- personnelType.find((item)=>{
|
|
|
- return item.id == scope.row.identity
|
|
|
- }).name : ''
|
|
|
- }}</span>
|
|
|
+ <dict-tag v-if="actionIndex != scope.row.id" :options="dict.type.personnel_type" :value="scope.row.identity"/>
|
|
|
<el-select
|
|
|
size="mini"
|
|
|
v-else
|
|
@@ -90,10 +85,10 @@
|
|
|
style="width: 100%"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="dict in personnelType"
|
|
|
- :key="dict.id"
|
|
|
- :label="dict.name"
|
|
|
- :value="dict.id"
|
|
|
+ v-for="dict in dict.type.personnel_type"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</div>
|
|
@@ -163,7 +158,7 @@
|
|
|
<el-radio label="11">携程</el-radio>
|
|
|
<el-radio label="13">抖音</el-radio>
|
|
|
<el-radio label="14">猫眼</el-radio>
|
|
|
- <el-radio label="15">去哪儿</el-radio>
|
|
|
+ <!-- <el-radio label="15">去哪儿</el-radio> -->
|
|
|
<el-radio label="16">其他</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
@@ -261,6 +256,7 @@ import {
|
|
|
const https = require('https');
|
|
|
const axios = require('axios');
|
|
|
export default {
|
|
|
+ dicts: ['personnel_type'],
|
|
|
data() {
|
|
|
return {
|
|
|
loading: false,
|
|
@@ -321,13 +317,6 @@ import {
|
|
|
websocketData: null,
|
|
|
|
|
|
idcardLoading: false,
|
|
|
- personnelType: [
|
|
|
- { id: "0" , name:'无' },
|
|
|
- { id: "1", name:'现役军人' },
|
|
|
- { id: "2" , name:'警察' },
|
|
|
- { id: "3" , name:'消防员' },
|
|
|
- { id: "4" , name:'残疾军人' }
|
|
|
- ],
|
|
|
payTime: null, // 支付等待时间
|
|
|
payTimeNum: 0,
|
|
|
printListId: null,
|
|
@@ -770,14 +759,20 @@ import {
|
|
|
clearInterval(this.payTime)
|
|
|
}
|
|
|
if(this.ruleForm.paymentType == 2){
|
|
|
- this.$message('订单入库成功');
|
|
|
+ this.$message({
|
|
|
+ message: '订单入库成功',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
this.loading = false
|
|
|
// this.payStatus = 8
|
|
|
// this.getPrintListApi()
|
|
|
this.goTicketingCollections()
|
|
|
|
|
|
}else {
|
|
|
- this.$message('用户已支付成功,请打印门票');
|
|
|
+ this.$message({
|
|
|
+ message: '用户已支付成功,请打印门票',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
// 开始 打印
|
|
|
this.loading = false
|
|
|
// this.payStatus = 8
|