|
|
@@ -33,8 +33,14 @@
|
|
|
@click="clickUID(scope.row[prop])"
|
|
|
>{{scope.row[prop]}}</el-button>
|
|
|
<span v-else-if="prop === 'statusShow' && scope.row['status'] !== '1'">
|
|
|
- {{scope.row[prop]}}
|
|
|
- <el-button type="text" @click="clickRetry(scope.row['id'])">重试</el-button>
|
|
|
+ <span v-if="scope.row['status'] === '0'">
|
|
|
+ 已提交
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ {{scope.row[prop]}}
|
|
|
+ <el-button type="text" @click="clickRetry(scope.row['id'])">重试</el-button>
|
|
|
+ </span>
|
|
|
+
|
|
|
</span>
|
|
|
<span v-else>{{scope.row[prop]}}</span>
|
|
|
</template>
|
|
|
@@ -128,6 +134,13 @@ export default {
|
|
|
// 点击重试
|
|
|
async clickRetry(id) {
|
|
|
const res = await this.$post("/api/admin/payment/redoDraw", { id });
|
|
|
+ if (res && res.status === 1) {
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ message: "操作成功!",
|
|
|
+ });
|
|
|
+ this.getTableData();
|
|
|
+ }
|
|
|
},
|
|
|
// 点击用户的 uid
|
|
|
clickUID(uid) {
|