10.10综合交易所原始源码-管理后台
1
admin
2026-01-07 e1e694369dabf557615669ce2f71e9af70277ff6
src/views/modules/mining/stock-subscription.vue
@@ -20,9 +20,14 @@
        <el-button type="primary" icon="el-icon-edit" size="small"
          v-if="isAuth('mining:stock-subscription:operate') && scope.row.status == 1"
          @click.stop="batchPublishing(scope.row)">公布</el-button>
        <el-button type="primary" icon="el-icon-unlock" size="small"
          v-if="isAuth('mining:stock-subscription:operate') && scope.row.status == 2 && scope.row.subscribedAmount == scope.row.requiredNumber && scope.row.unLock != 1"
          v-if="isAuth('mining:stock-subscription:operate') && scope.row.unLock == 0"
          @click.stop="unlockHandle(scope.row)">解锁</el-button>
        <el-button type="primary" icon="el-icon-unlock" size="small"
          v-else-if="isAuth('mining:stock-subscription:operate') && scope.row.unLock == 1"
          @click.stop="unlockHandle(scope.row)">锁定</el-button>
      </template>
    </avue-crud>
    <!-- 弹窗, 新增 / 修改 -->
@@ -232,7 +237,8 @@
    },
    //解锁
    unlockHandle(row) {
      this.$confirm("确定要解锁该订单吗?", "提示", {
      let str = `确定要${row.unLock == 1 ? "锁定" : "解锁"}该订单吗?`
      this.$confirm(str, "提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",