xuqiang 4 years ago
parent
commit
96792bc3cb

+ 1 - 0
src/main/nine-space/package.json

@@ -17,6 +17,7 @@
     "core-js": "^3.6.5",
     "dayjs": "^1.10.7",
     "echarts": "^4.9.0",
+    "element-ui": "^2.15.6",
     "html2canvas": "^1.3.2",
     "lodash": "^4.17.21",
     "mathjs": "^9.5.1",

+ 3 - 0
src/main/nine-space/src/main.js

@@ -9,6 +9,8 @@ import 'vant/lib/index.css';
 import './styles/app.less';
 import './styles/font.less';
 import http from './plugins/http';
+// import ElementUI from 'element-ui';
+// import 'element-ui/lib/theme-chalk/index.css';
 import PageTitle from './components/PageTitle';
 import LikeButton from './components/LikeButton.vue';
 import Driver from './components/Driver.vue';
@@ -56,6 +58,7 @@ http.http
 createApp(App)
     .use(Vant)
     .use(http)
+    // .use(ElementUI)
     .use(ConfigProvider)
     .use(VueClipboard)
     .mixin(common)

+ 10 - 0
src/main/nine-space/src/router/index.js

@@ -156,6 +156,16 @@ const routes = [
         name: 'verifiedSuc',
         component: () => import('../views/account/VerifiedSuc.vue')
     },
+    {
+        path: '/verifiedSucs',
+        name: 'verifiedSucs',
+        component: () => import('../views/account/VerifiedSucs.vue')
+    },
+    {
+        path: '/Authentication',
+        name: 'Authentication',
+        component: () => import('../views/account/Authentication.vue')
+    },
     {
         path: '/setting',
         name: 'userSetting',

+ 2 - 2
src/main/nine-space/src/views/Mine.vue

@@ -43,7 +43,7 @@
                         size="mini"
                         :icon="require('../assets/renzheng_icon_pre.png')"
                         round
-                        @click="$router.push('/verifiedSuc')"
+                        @click="$router.push('/Authentication')"
                         v-if="authStatus === '已认证'"
                         class="verid"
                     >
@@ -194,7 +194,7 @@ export default {
             if (this.authStatus === '认证中' || this.authStatus === '认证失败') {
                 this.$router.push('/waiting');
             } else if (this.authStatus === '未认证') {
-                this.$router.push('/verified');
+                this.$router.push('/Authentication');
             }
         }
     }

+ 93 - 0
src/main/nine-space/src/views/account/Authentication.vue

@@ -0,0 +1,93 @@
+<template>
+    <div class="container">
+        <div class="title">实名认证请选择</div>
+        <div class="name">账户实名认证后不能修改,<span>请使用本人身份信息完成认证</span></div>
+        <div class="box" @click="$router.push('/verified')">
+            <img
+                class="img"
+                src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-11-11-10-16-06dTNltVml.png"
+                alt=""
+            />
+            <div class="text">个人认证</div>
+            <div class="btn">下一步</div>
+        </div>
+        <!-- <div class="box box1" @click="$router.push('/verifiedSucs')">
+            <img
+                class="img"
+                src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-11-11-10-16-35hyCazZgd.png"
+                alt=""
+            />
+            <div class="text">企业认证</div>
+            <div class="btn">下一步</div>
+        </div> -->
+    </div>
+</template>
+
+<script>
+export default {
+    data() {
+        return {};
+    },
+    computed: {},
+    methods: {}
+};
+</script>
+
+<style lang="less" scoped>
+.container {
+    padding: 0 16px;
+    .btn {
+        width: 80px;
+        height: 34px;
+        background: linear-gradient(135deg, #fdfb60 0%, #ff8f3e 100%);
+        border-radius: 22px;
+        color: #333230;
+        font-size: 16px;
+        text-align: center;
+        line-height: 34px;
+    }
+    .title {
+        height: 42px;
+        font-size: 20px;
+        font-weight: 400;
+        color: #ffffff;
+        line-height: 42px;
+        padding-top: 10px;
+    }
+    .name {
+        font-size: 12px;
+        font-weight: 400;
+        color: #939599;
+        line-height: 22px;
+        margin: 10px 0 40px;
+    }
+    span {
+        color: #fdfb60;
+    }
+    .box {
+        display: flex;
+        align-items: center;
+        width: 303px;
+        height: 88px;
+        background: #1f2021;
+        border: 1px solid;
+        border-image: linear-gradient(135deg, rgba(253, 251, 96, 1), rgba(255, 143, 62, 1)) 1 1;
+        border-radius: 10px;
+        .img {
+            width: 38px;
+            height: 38px;
+            margin-left: 30px;
+        }
+        &.box1 {
+            margin-top: 30px;
+        }
+        .text {
+            font-size: 16px;
+            font-weight: bold;
+            margin: 0 50px 0 16px;
+            color: #ffffff;
+            line-height: 24px;
+        }
+    }
+}
+</style>

+ 3 - 12
src/main/nine-space/src/views/account/Verified.vue

@@ -1,7 +1,7 @@
 <template>
     <div class="login">
         <div class="tabs">
-            <div class="text1">实名认证</div>
+            <div class="text1">个人认证</div>
             <div class="text2">
                 <span>账户实名认证后不能修改,</span>
                 <span>请使用本人身份信息完成认证</span>
@@ -168,19 +168,10 @@ export default {
                     let form = { ...this.form };
                     form.userId = this.userInfo.id;
                     form.status = 'PENDING';
-                    let userInfo = {
-                        ...this.userInfo
-                    };
-                    userInfo.authorities = [
-                        ...userInfo.authorities,
-                        {
-                            name: 'ROLE_PERSONAL',
-                            description: '个人机构'
-                        }
-                    ];
+                    form.org = false;
                     this.$http
                         .post('/identityAuth/apply', {
-                            userInfo
+                            ...form
                         })
                         .then(() => {
                             this.$router.replace('/Waiting');

+ 413 - 0
src/main/nine-space/src/views/account/VerifiedSucs.vue

@@ -0,0 +1,413 @@
+<template>
+    <div class="login">
+        <div class="tabs">
+            <div class="text1">企业认证</div>
+            <div class="text2">
+                <span>账户实名认证后不能修改,</span>
+                <span>请使用本人身份信息完成认证</span>
+            </div>
+        </div>
+
+        <van-form @submit="submit" @failed="failed" ref="form">
+            <van-field
+                label="法人姓名"
+                name="法人姓名"
+                placeholder="请输入您法人姓名"
+                v-model="form.realName"
+                :rules="[{ required: true, message: '请输入您法人姓名' }]"
+            >
+            </van-field>
+            <!-- 
+            <van-field
+                type="tel"
+                label="手机号码"
+                name="手机号码"
+                placeholder="请输入您的手机号码"
+                v-model="form.phone"
+                :maxlength="11"
+                :rules="[
+                    { required: true, message: '请输入您的手机号码' },
+                    {
+                        pattern: phonePattern,
+                        message: '手机号码格式错误'
+                    }
+                ]"
+            >
+            </van-field> -->
+
+            <!-- <van-field
+                label="电子邮箱"
+                name="电子邮箱"
+                placeholder="请输入电子邮箱"
+                v-model="form.email"
+                :rules="[
+                    { required: true, message: '请输入电子邮箱' },
+                    {
+                        pattern: emailPattern,
+                        message: '电子邮箱格式错误'
+                    }
+                ]"
+            >
+            </van-field> -->
+
+            <van-field
+                label="身份证号"
+                name="身份证号"
+                placeholder="请输入身份证号"
+                v-model="form.idNo"
+                :rules="[
+                    { required: true, message: '请输入身份证号' },
+                    {
+                        pattern: IDPattern,
+                        message: '身份证号格式错误'
+                    }
+                ]"
+            >
+            </van-field>
+
+            <van-field
+                label="身份证照片(正面照)"
+                name="正面照"
+                v-model="form.idFront"
+                class="img"
+                :rules="[
+                    {
+                        validator: val => {
+                            return !!this.form.idFront;
+                        },
+                        message: '请上传身份证正面照片'
+                    }
+                ]"
+            >
+                <template #input>
+                    <div class="img-content">
+                        <van-image
+                            :src="form.idFront || require('../../assets/svgs/bg-png.svg')"
+                            fit="cover"
+                            radius="20"
+                        />
+                        <van-uploader name="idFront" result-type="file" :after-read="afterRead" />
+                    </div>
+                </template>
+            </van-field>
+            <van-field
+                label="身份证照片(反面照)"
+                name="反面照"
+                v-model="form.idBack"
+                class="img"
+                :rules="[
+                    {
+                        validator: val => {
+                            return !!this.form.idBack;
+                        },
+                        message: '请上传身份证反面照片'
+                    }
+                ]"
+            >
+                <template #input>
+                    <div class="img-content">
+                        <van-image
+                            :src="form.idBack || require('../../assets/svgs/bg-png.svg')"
+                            fit="cover"
+                            radius="20"
+                        />
+                        <van-uploader name="idBack" result-type="file" :after-read="afterRead" />
+                    </div>
+                </template>
+            </van-field>
+            <van-field
+                label="企业名称"
+                name="企业名称"
+                placeholder="请输入企业名称"
+                v-model="form.orgName"
+                :rules="[{ required: true, message: '请输入企业名称' }]"
+            >
+            </van-field>
+            <div>工商营业执照注册号/统一社会信用代码</div>
+            <van-field
+                placeholder="工商营业执照注册号/统一社会信用代码"
+                v-model="form.orgNo"
+                :rules="[{ required: true, message: '工商营业执照注册号/统一社会信用代码' }]"
+            >
+            </van-field>
+            <van-field
+                label="拼箱结束"
+                is-link
+                :value="form.startTime"
+                placeholder="请输入结束日期"
+                @click="pickerShow('newShow')"
+                readonly
+            >
+            </van-field>
+            <van-field
+                label="营业执照"
+                v-model="form.orgLicense"
+                class="img"
+                :rules="[
+                    {
+                        validator: val => {
+                            return !!this.form.orgLicense;
+                        },
+                        message: '请上传营业执照'
+                    }
+                ]"
+            >
+                <template #input>
+                    <div class="img-content">
+                        <van-image
+                            :src="form.orgLicense || require('../../assets/svgs/bg-png.svg')"
+                            fit="cover"
+                            radius="20"
+                        />
+                        <van-uploader name="orgLicense" result-type="file" :after-read="afterRead" />
+                    </div>
+                </template>
+            </van-field>
+            <van-popup :show="newShow" position="bottom" @close="onClose">
+                <van-datetime-picker
+                    type="date"
+                    :value="currentDate"
+                    @input="onInput"
+                    :min-date="minDate"
+                    :formatter="formatter"
+                />
+            </van-popup>
+            <div class="button" ref="btn">
+                <van-button
+                    round
+                    block
+                    @click="submit"
+                    color="linear-gradient(to right, #FDFB60, #FF8F3E)"
+                    class="sure"
+                >
+                    提交审核
+                </van-button>
+            </div>
+        </van-form>
+    </div>
+</template>
+
+<script>
+import { mapState } from 'vuex';
+import phone from '../../mixins/phone';
+export default {
+    computed: {
+        ...mapState(['userInfo'])
+    },
+
+    mixins: [phone],
+    data() {
+        return {
+            active: 'phone',
+            emailPattern: /^([a-zA-Z0-9]+[_|_|\-|.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|_|.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,6}$/,
+            IDPattern: /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/,
+            form: {
+                realName: '',
+                orgName: '',
+                orgNo: '',
+                idNo: '',
+                idFront: '',
+                idBack: '',
+                status: '',
+                orgLicense: ''
+            },
+            btn: null,
+            newShow: false,
+            currentDate: new Date().getTime(),
+            minDate: new Date().getTime(),
+            formatter(type, value) {
+                if (type === 'year') {
+                    return `${value}年`;
+                }
+                if (type === 'month') {
+                    return `${value}月`;
+                }
+                return value;
+            }
+        };
+    },
+    mounted() {
+        this.btn = this.$refs.btn;
+    },
+    methods: {
+        onInput(event) {
+            console.log(event);
+            this.setData({
+                currentDate: event.detail
+            });
+        },
+        pickerShow(key = 'show') {
+            this[key] = true;
+            // wx.hideKeyboard();
+        },
+        // // 时间确认按钮
+        // onConfirm(event) {
+        //     this.currentDate = event.detail;
+        //     var timeValue = this.timeFormat(new Date(event.detail), 'yyyy-MM-dd hh:mm');
+        //     this.form.startTime = timeValue;
+        //     this.newShow = false;
+        // },
+        // // 时间取消按钮
+        // onCancel() {
+        //     this.newShow = false;
+        // },
+        submit() {
+            this.$refs.form
+                .validate()
+                .then(() => {
+                    let form = { ...this.form };
+                    form.userId = this.userInfo.id;
+                    form.status = 'PENDING';
+                    form.org = false;
+                    this.$http
+                        .post('/identityAuth/apply', {
+                            ...form
+                        })
+                        .then(() => {
+                            this.$router.replace('/Waiting');
+                        });
+                })
+                .catch(() => {
+                    this.bs.value.refresh();
+                });
+        },
+        afterRead(file, e) {
+            this.updateFile(file).then(img => {
+                this.form[e.name] = img;
+            });
+        },
+        failed() {
+            console.log('验证失败');
+        }
+    }
+};
+</script>
+
+<style lang="less" scoped>
+.login {
+    padding: 10px 16px 150px;
+}
+
+.tabs {
+    padding-bottom: 12px;
+    .text1 {
+        font-size: 20px;
+        font-weight: bold;
+        color: #ffffff;
+        line-height: 30px;
+    }
+    .text2 {
+        font-size: 12px;
+        color: #939599;
+        line-height: 22px;
+        margin-top: 4px;
+        span {
+            &:last-child {
+                color: @prim;
+            }
+        }
+    }
+}
+.van-cell::after {
+    border-bottom-color: #202122;
+}
+
+.icon {
+    display: block;
+    margin-top: 12px;
+}
+/deep/ .van-form {
+    // margin-top: 28px;
+    .van-cell {
+        padding: 0px 0;
+
+        .van-field__left-icon {
+            margin-right: 8px;
+        }
+    }
+
+    .van-field__body {
+        height: 70px;
+        align-items: center;
+    }
+
+    .van-field__label {
+        font-size: 14px;
+        font-weight: bold;
+        color: #ffffff;
+        line-height: 24px;
+        margin-top: 25px;
+    }
+}
+.button {
+    margin-top: 60px;
+
+    .del {
+        margin-top: 20px;
+        border-color: #ffffff;
+    }
+
+    .sure {
+        color: @bg !important;
+    }
+
+    .van-button {
+        font-weight: bold;
+    }
+}
+
+.sub-code {
+    padding-right: 0;
+    border-width: 0;
+}
+
+.img {
+    display: flex;
+    padding: 20px 0 10px;
+
+    .img-label {
+        font-size: 14px;
+        font-weight: bold;
+        color: #ffffff;
+        line-height: 20px;
+        margin: 5px 12px 5px 0;
+        min-width: 86px;
+    }
+}
+
+.img-content {
+    position: relative;
+    /deep/.van-uploader {
+        position: absolute;
+        left: 0;
+        top: 0;
+        opacity: 0;
+        .van-uploader__upload {
+            width: 160px;
+            height: 160px;
+        }
+    }
+}
+
+.button {
+    position: fixed;
+    left: 0;
+    right: 0;
+    bottom: 0;
+    background-color: @bg2;
+    padding: 6px 42px;
+    z-index: 20;
+}
+
+/deep/.img {
+    &.van-cell {
+        margin-top: 20px;
+        .van-field__body {
+            height: 160px;
+        }
+        .van-field__label {
+            margin-top: 5px;
+        }
+    }
+}
+</style>

+ 1 - 1
src/main/nine-space/src/views/asset/Consignment.vue

@@ -39,7 +39,7 @@ export default {
             showKeyboard: false,
             list: [
                 {
-                    title: '1. 作品寄售为单个作品价格?'
+                    title: '1. 作品寄售为单个作品价格'
                 },
                 {
                     title: '2. 用户将会看到加密作品的权益、加密空间的使用情况'

+ 41 - 2
src/main/nine-space/yarn.lock

@@ -2061,6 +2061,13 @@ async-limiter@~1.0.0:
   resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz"
   integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
 
+async-validator@~1.8.1:
+  version "1.8.5"
+  resolved "https://registry.npmmirror.com/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1634529574100&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz#dc3e08ec1fd0dddb67e60842f02c0cd1cec6d7f0"
+  integrity sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=
+  dependencies:
+    babel-runtime "6.x"
+
 async@^2.6.2:
   version "2.6.3"
   resolved "https://registry.npmjs.org/async/-/async-2.6.3.tgz"
@@ -2127,6 +2134,11 @@ babel-extract-comments@^1.0.0:
   dependencies:
     babylon "^6.18.0"
 
+babel-helper-vue-jsx-merge-props@^2.0.0:
+  version "2.0.3"
+  resolved "https://registry.nlark.com/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6"
+  integrity sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY=
+
 babel-loader@^8.1.0:
   version "8.2.3"
   resolved "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.3.tgz"
@@ -2181,7 +2193,7 @@ babel-plugin-transform-object-rest-spread@^6.26.0:
     babel-plugin-syntax-object-rest-spread "^6.8.0"
     babel-runtime "^6.26.0"
 
-babel-runtime@^6.26.0:
+babel-runtime@6.x, babel-runtime@^6.26.0:
   version "6.26.0"
   resolved "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz"
   integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
@@ -3445,7 +3457,7 @@ deep-is@~0.1.3:
   resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz"
   integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
 
-deepmerge@^1.5.2:
+deepmerge@^1.2.0, deepmerge@^1.5.2:
   version "1.5.2"
   resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz"
   integrity sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==
@@ -3747,6 +3759,18 @@ electron-to-chromium@^1.3.867:
   resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.875.tgz"
   integrity sha512-K/rqxvLwZOshysgPOqfU1x8rfdFXyieYLdT1JYlLHkLj8gI/4Qh4Xi+KrO6kq4t3aNhp/wGSGOyR4ooYvXbvyg==
 
+element-ui@^2.15.6:
+  version "2.15.6"
+  resolved "https://registry.npmmirror.com/element-ui/download/element-ui-2.15.6.tgz#c9609add35af5a686a4b7685dc1d757c75e01df3"
+  integrity sha1-yWCa3TWvWmhqS3aF3B11fHXgHfM=
+  dependencies:
+    async-validator "~1.8.1"
+    babel-helper-vue-jsx-merge-props "^2.0.0"
+    deepmerge "^1.2.0"
+    normalize-wheel "^1.0.1"
+    resize-observer-polyfill "^1.5.0"
+    throttle-debounce "^1.0.1"
+
 elliptic@^6.5.3:
   version "6.5.4"
   resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz"
@@ -6357,6 +6381,11 @@ normalize-url@^3.0.0:
   resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz"
   integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==
 
+normalize-wheel@^1.0.1:
+  version "1.0.1"
+  resolved "https://registry.npm.taobao.org/normalize-wheel/download/normalize-wheel-1.0.1.tgz#aec886affdb045070d856447df62ecf86146ec45"
+  integrity sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU=
+
 npm-run-path@^2.0.0:
   version "2.0.2"
   resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz"
@@ -7644,6 +7673,11 @@ requires-port@^1.0.0:
   resolved "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz"
   integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
 
+resize-observer-polyfill@^1.5.0:
+  version "1.5.1"
+  resolved "https://registry.nlark.com/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
+  integrity sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=
+
 resolve-cwd@^2.0.0:
   version "2.0.0"
   resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz"
@@ -8546,6 +8580,11 @@ thread-loader@^2.1.3:
     loader-utils "^1.1.0"
     neo-async "^2.6.0"
 
+throttle-debounce@^1.0.1:
+  version "1.1.0"
+  resolved "https://registry.npm.taobao.org/throttle-debounce/download/throttle-debounce-1.1.0.tgz?cache=0&sync_timestamp=1604313832516&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fthrottle-debounce%2Fdownload%2Fthrottle-debounce-1.1.0.tgz#51853da37be68a155cb6e827b3514a3c422e89cd"
+  integrity sha1-UYU9o3vmihVctugns1FKPEIuic0=
+
 through2@^2.0.0:
   version "2.0.5"
   resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz"

+ 1 - 1
src/main/pc-space/src/views/user/CollectionOrder.vue

@@ -156,7 +156,7 @@ export default {
                 customClass: 'myClass',
                 type: 'warning'
             }).then(() => {
-                this.$http.get('/order/del' + row.id).then(() => {
+                this.$http.post('/order/del/' + row.id).then(() => {
                     this.$message.success('删除成功');
                     setTimeout(() => {
                         this.getData();

+ 1 - 1
src/main/pc-space/src/views/user/PayRecord.vue

@@ -106,7 +106,7 @@ export default {
                 customClass: 'myClass',
                 type: 'warning'
             }).then(() => {
-                this.$http.get('/order/del' + row.id).then(() => {
+                this.$http.post('/order/del/' + row.id).then(() => {
                     this.$message.success('删除成功');
                     setTimeout(() => {
                         this.getData();

+ 3 - 3
src/main/pc-space/src/views/user/TransactionOrdes.vue

@@ -27,8 +27,8 @@
                 <el-table-column prop="payMethod" label="交易类型" width="158" :formatter="statusFormatter">
                 </el-table-column>
                 <el-table-column prop="name" label="藏品信息" width="164"> </el-table-column>
-                <el-table-column style="color: #fdfb60" prop="source" label="来源" width="130"> </el-table-column>
-                <el-table-column prop="username" label="去向" width="190"> </el-table-column>
+                <el-table-column style="color: #fdfb60" prop="minter" label="来源" width="130"> </el-table-column>
+                <!-- <el-table-column prop="username" label="去向" width="190"> </el-table-column> -->
                 <el-table-column prop="payTime" label="交易时间" width="198"> </el-table-column>
                 <el-table-column fixed="right" label="操作">
                     <template slot-scope="scope">
@@ -104,7 +104,7 @@ export default {
                 customClass: 'myClass',
                 type: 'warning'
             }).then(() => {
-                this.$http.get('/order/del' + row.id).then(() => {
+                this.$http.post('/order/del/' + row.id).then(() => {
                     this.$message.success('删除成功');
                     setTimeout(() => {
                         this.getData();