新版交易所前段管理后台
1
admin
2026-01-20 b8fc0ec44bc61966a60a7d0f6a0d93f7b68928a5
src/views/modules/c2c/c2c_pay_order.vue
@@ -58,6 +58,8 @@
        " @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-time" size="small"
          @click.stop="updateTimeHandle(scope.row)">修改时间</el-button>
      </template>
    </avue-crud>
    <!-- 弹窗, 新增 / 修改 -->
@@ -80,6 +82,9 @@
    <!-- 取消订单 -->
    <passtpn v-if="passtpnVisible" @refreshDataList="getDataList" ref="passtpnUpdate">
    </passtpn>
    <!-- 修改时间 -->
    <timeUpdate v-if="timeUpdateVisible" @refreshDataList="getDataList" ref="timeUpdate">
    </timeUpdate>
  </div>
</template>
<script>
@@ -91,6 +96,7 @@
import otherMsg from "./c2c-order-other-msg";
import deletMsg from "./c2c-ord-delet";
import passtpn from "./c2c-ord-passtpn";
import timeUpdate from "./c2c-order-time-update";
export default {
  data() {
    return {
@@ -104,6 +110,7 @@
      payMsgVisible: false,
      parametersFlag: false,
      lastVisible: false,
      timeUpdateVisible: false,
      tableOption: tableOption,
      page: {
        total: 0, // 总页数
@@ -120,6 +127,7 @@
    otherMsg,
    deletMsg,
    passtpn,
    timeUpdate,
  },
  created() {
    this.getC2cPaymentMethodType();
@@ -240,6 +248,12 @@
        this.$refs.passtpnUpdate.init(row, n);
      });
    },
    updateTimeHandle(row) {
      this.timeUpdateVisible = true;
      this.$nextTick(() => {
        this.$refs.timeUpdate.init(row);
      });
    },
    // 删除
    deleteHandle(id) {
      var userIds = id