新版交易所前段管理后台
1
PC-20250623MANY\Administrator
2025-10-10 406e8883f36164d4caab777e3091d936bb86eade
1
3 files modified
130 ■■■■■ changed files
.env.development 6 ●●●● patch | view | raw | blame | history
.env.production 4 ●●●● patch | view | raw | blame | history
src/views/modules/c2c/c2c_pay_order.vue 120 ●●●●● patch | view | raw | blame | history
.env.development
@@ -4,8 +4,8 @@
# api接口请求地址
# VUE_APP_BASE_API = 'https://zhapi.coinbtcs.com'
# VUE_APP_BASE_API = 'http://192.168.10.7:8085'
VUE_APP_BASE_API = 'https://syjysapi.yanshiz.com'
 # VUE_APP_BASE_API = 'http://192.168.10.6:8086'
VUE_APP_BASE_API = 'https://sysapi.yanshiz.com'
# VUE_APP_BASE_API = 'https://syjysapi.yanshiz.com'
# 静态资源文件url
VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/'
VUE_APP_RESOURCES_URL = 'https://sysimg.yanshiz.com/'
.env.production
@@ -5,10 +5,10 @@
# VUE_APP_BASE_API = 'https://mini-admin.mall4j.com/apis'
# VUE_APP_BASE_API = 'https://zhapi.coinbtcs.com/aip'
VUE_APP_BASE_API = 'https://syjysapi.yanshiz.com'
VUE_APP_BASE_API = 'https://sysapi.yanshiz.com'
# 静态资源文件url   app端的前端打開下
VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/'
VUE_APP_RESOURCES_URL = 'hhttps://sysimg.yanshiz.com/'
src/views/modules/c2c/c2c_pay_order.vue
@@ -1,15 +1,7 @@
<template>
  <div class="mod-c2c_pay_order">
    <avue-crud
      ref="crud"
      :page.sync="page"
      :data="dataList"
      :option="tableOption"
      @search-change="searchChange"
      @selection-change="selectionChange"
      :cell-class-name="addClasscolor"
      @on-load="getDataList"
    >
    <avue-crud ref="crud" :page.sync="page" :data="dataList" :option="tableOption" @search-change="searchChange"
      @selection-change="selectionChange" :cell-class-name="addClasscolor" @on-load="getDataList">
      <!-- <template slot="menuLeft">
        <el-button
          type="primary"
@@ -40,69 +32,38 @@
        }}</el-button>
      </template>
      <template slot-scope="scope" slot="method_type_name">
        <el-button type="text" @click.stop="searPaymsg(scope.row.order_no)"
          >点击查看</el-button
        >
        <el-button type="text" @click.stop="searPaymsg(scope.row.order_no)">点击查看</el-button>
      </template>
      <template slot-scope="scope" slot="paramName3">
        <el-button type="text" @click.stop="searchOtherMsg(scope.row)"
          >查看</el-button
        >
        <el-button type="text" @click.stop="searchOtherMsg(scope.row)">
          查看
          <span class="xxts" v-show="scope.row.unread_msg && scope.row.unread_msg > 0"></span>
        </el-button>
      </template>
      <template slot-scope="scope" slot="paramName4">
        <el-button type="text" @click.stop="lastSearch(scope.row)"
          >更多信息</el-button
        >
        <el-button type="text" @click.stop="lastSearch(scope.row)">更多信息</el-button>
      </template>
      <template slot-scope="scope" slot="menu">
        <el-button
          type="primary"
          icon="el-icon-edit"
          size="small"
          v-if="
            scope.row.state == '0' ||
            scope.row.state == '1' ||
            scope.row.state == '2' ||
            scope.row.state == '3' ||
            scope.row.state == '5'
          "
          @click.stop="deletOrdeHandle(scope.row)"
          >取消订单</el-button
        >
        <el-button
          type="primary"
          icon="el-icon-edit"
          size="small"
          v-if="
            scope.row.state == '1' ||
            scope.row.state == '2' ||
            scope.row.state == '5'
          "
          @click.stop="passtHandle(scope.row, 'n')"
          >手动放行</el-button
        >
        <el-button
          type="primary"
          icon="el-icon-edit"
          size="small"
          v-if="scope.row.state == '0'"
          @click.stop="passtHandle(scope.row)"
          >一键通过</el-button
        >
        <el-button type="primary" icon="el-icon-edit" size="small" v-if="
          scope.row.state == '0' ||
          scope.row.state == '1' ||
          scope.row.state == '2' ||
          scope.row.state == '3' ||
          scope.row.state == '5'
        " @click.stop="deletOrdeHandle(scope.row)">取消订单</el-button>
        <el-button type="primary" icon="el-icon-edit" size="small" v-if="
          scope.row.state == '1' ||
          scope.row.state == '2' ||
          scope.row.state == '5'
        " @click.stop="passtHandle(scope.row, 'n')">手动放行</el-button>
        <el-button type="primary" icon="el-icon-edit" size="small" v-if="scope.row.state == '0'"
          @click.stop="passtHandle(scope.row)">一键通过</el-button>
      </template>
    </avue-crud>
    <!-- 弹窗, 新增 / 修改 -->
    <add-or-update
      v-if="addOrUpdateVisible"
      ref="addOrUpdate"
      @refreshDataList="getDataList"
    ></add-or-update>
    <add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
    <!-- 参数管理 -->
    <parameters
      v-if="parametersFlag"
      @refreshDataList="getDataList"
      ref="parameters"
    >
    <parameters v-if="parametersFlag" @refreshDataList="getDataList" ref="parameters">
    </parameters>
    <!-- 参数管理 -->
    <lastMsg v-if="lastVisible" @refreshDataList="getDataList" ref="lastUpdate">
@@ -111,25 +72,13 @@
    <payMsg v-if="payMsgVisible" @refreshDataList="getDataList" ref="payUpdate">
    </payMsg>
    <!-- 参数管理 -->
    <otherMsg
      v-if="otherVisible"
      @refreshDataList="getDataList"
      ref="otherUpdate"
    >
    <otherMsg v-if="otherVisible" @refreshDataList="getDataList" ref="otherUpdate">
    </otherMsg>
    <!-- 取消订单 -->
    <deletMsg
      v-if="deletVisible"
      @refreshDataList="getDataList"
      ref="deletUpdate"
    >
    <deletMsg v-if="deletVisible" @refreshDataList="getDataList" ref="deletUpdate">
    </deletMsg>
    <!-- 取消订单 -->
    <passtpn
      v-if="passtpnVisible"
      @refreshDataList="getDataList"
      ref="passtpnUpdate"
    >
    <passtpn v-if="passtpnVisible" @refreshDataList="getDataList" ref="passtpnUpdate">
    </passtpn>
  </div>
</template>
@@ -296,8 +245,8 @@
      var userIds = id
        ? [id]
        : this.dataListSelections.map((item) => {
            return item.userId;
          });
          return item.userId;
        });
      this.$confirm(
        `确定对[id=${userIds.join(",")}]进行[${id ? "删除" : "批量删除"}]操作?`,
        "提示",
@@ -323,12 +272,19 @@
            });
          });
        })
        .catch(() => {});
        .catch(() => { });
    },
  },
};
</script>
<style lang="scss" scoped>
.mod-mange {
.xxts {
  width: 8px;
  height: 8px;
  display: inline-block;
  background-color: red;
  border-radius: 50%;
  position: relative;
  top: -7px;
}
</style>