Commit 26b28e97 authored by huangzhenglong's avatar huangzhenglong

feat: 处理任务提示

parent 9b91b1e4
...@@ -79,8 +79,8 @@ ...@@ -79,8 +79,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag <el-tag
:type="getStatusType(scope.row.status)" :type="getStatusType(scope.row.status)"
:class="{'clickable-tag': scope.row.status === 4}" :class="{'clickable-tag': scope.row.status === 3 || scope.row.status === 4}"
@click="scope.row.status === 4 && showErrorMessage(scope.row)"> @click="(scope.row.status === 3 || scope.row.status === 4) && showErrorMessage(scope.row)">
{{ getStatusText(scope.row.status) }} {{ getStatusText(scope.row.status) }}
</el-tag> </el-tag>
</template> </template>
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
<el-table :data="appListData" size="mini" border style="width: 100%"> <el-table :data="appListData" size="mini" border style="width: 100%">
<el-table-column prop="name" label="应用名称"></el-table-column> <el-table-column prop="name" label="应用名称"></el-table-column>
<el-table-column prop="appId" label="包名"></el-table-column> <el-table-column prop="appId" label="包名"></el-table-column>
<el-table-column label="计划数" width="200" align="center"> <el-table-column label="计划数" width="200" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input-number v-model="scope.row.campaignCount" :min="1" @change="updateAppCampaignCount(scope.row, $event)" size="mini"></el-input-number> <el-input-number v-model="scope.row.campaignCount" :min="1" @change="updateAppCampaignCount(scope.row, $event)" size="mini"></el-input-number>
...@@ -379,8 +379,8 @@ ...@@ -379,8 +379,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag <el-tag
:type="getStatusType(scope.row.status)" :type="getStatusType(scope.row.status)"
:class="{'clickable-tag': scope.row.status === 4}" :class="{'clickable-tag': scope.row.status === 3 || scope.row.status === 4}"
@click="scope.row.status === 4 && showErrorMessage(scope.row)"> @click="(scope.row.status === 3 || scope.row.status === 4) && showErrorMessage(scope.row)">
{{ getStatusText(scope.row.status) }} {{ getStatusText(scope.row.status) }}
</el-tag> </el-tag>
</template> </template>
...@@ -954,7 +954,7 @@ export default { ...@@ -954,7 +954,7 @@ export default {
}) })
}, },
showErrorReason() { showErrorReason() {
this.errorReasonVisible = true; this.errorReasonVisible = true;
...@@ -1338,7 +1338,7 @@ export default { ...@@ -1338,7 +1338,7 @@ export default {
async fetchAppsForSelector() { async fetchAppsForSelector() {
try { try {
this.appsLoading = true; // 显示加载状态 this.appsLoading = true; // 显示加载状态
const params = { const params = {
platformId: 5, platformId: 5,
menuCode: "game.Overview,android", menuCode: "game.Overview,android",
...@@ -1358,7 +1358,7 @@ export default { ...@@ -1358,7 +1358,7 @@ export default {
} }
}, },
removeApp(app) { removeApp(app) {
this.$confirm(`确定要移除应用 "${app.name}" 吗?`, '提示', { this.$confirm(`确定要移除应用 "${app.name}" 吗?`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment