Commit 5a954ed5ab6a5c8589435423c669697dd554819b
1 parent
d8ed082d
研判状态改变
Showing
8 changed files
with
20 additions
and
16 deletions
src/assets/data.js
| 1 | 1 | // 假数据 |
| 2 | 2 | |
| 3 | 3 | // 1.归属平台 |
| 4 | -export const MediaPlatList = ['微信', '微博', '抖音', '今日头条', '小红书', '其他']; | |
| 5 | 4 | \ No newline at end of file |
| 5 | +export const MediaPlatList = ['微信', '微博', '抖音', '今日头条', '小红书', '其他']; | |
| 6 | + | |
| 7 | +// 核查处置状态列表 | |
| 8 | +const reportStatusList = [ | |
| 9 | + {id: '577006621985604869', name: '未研判'}, | |
| 10 | + {id: '577006641364189019', name: '未下发'}, | |
| 11 | + {id: '577004235234524513', name: '待处置'}, | |
| 12 | + {id: '577006696312866053', name: '已处置'}, | |
| 13 | + {id: '577006666214540549', name: '已研判'}, | |
| 14 | +]; | |
| 6 | 15 | \ No newline at end of file | ... | ... |
src/views/DisposalSuggestions/index.vue
| ... | ... | @@ -40,11 +40,9 @@ |
| 40 | 40 | <NCC-table v-loading="listLoading" :data="list"> |
| 41 | 41 | <el-table-column show-overflow-tooltip prop="platformNameStr" label="应用名称" align="left" /> |
| 42 | 42 | <el-table-column show-overflow-tooltip label="应用类型" prop="platformType" align="left"> |
| 43 | - <template slot-scope="scope">{{ scope.row.platformType | dynamicTextUP(systemTypeOptions) }}</template> | |
| 44 | - </el-table-column> | |
| 45 | - <el-table-column show-overflow-tooltip label="问题类型" prop="questionType" align="left"> | |
| 46 | - <template slot-scope="scope">{{ scope.row.questionType | dynamicText(questionTypeOptions) }}</template> | |
| 43 | + <template slot-scope="scope">{{ scope.row.platformNameStr || scope.row.platformName }}</template> | |
| 47 | 44 | </el-table-column> |
| 45 | + <el-table-column show-overflow-tooltip label="问题类型" prop="questionType" align="left" /> | |
| 48 | 46 | <!-- <el-table-column show-overflow-tooltip prop="link" label="有害链接" align="left" /> --> |
| 49 | 47 | <el-table-column show-overflow-tooltip prop="questionClass" label="关键词" align="left" /> |
| 50 | 48 | <el-table-column show-overflow-tooltip prop="creatorTime" label="录入时间" align="left" :formatter="ncc.tableDateFormat"/> |
| ... | ... | @@ -59,8 +57,8 @@ |
| 59 | 57 | </el-table-column> --> |
| 60 | 58 | <el-table-column label="操作" fixed="right" width="100"> |
| 61 | 59 | <template slot-scope="scope"> |
| 62 | - <!-- 未研判 ‘577006621985604869’/未下发 ‘577006641364189019’可以研判 --> | |
| 63 | - <el-button type="text" v-if="isSHILevel" @click="addOrUpdateHandle(scope.row.id)" :disabled="scope.row.stage != '577006621985604869' && scope.row.stage !='577006641364189019'">{{ scope.row.stage == '577006621985604869' ? '研判' : '下发'}}</el-button> | |
| 60 | + <!-- 未研判 ‘577006621985604869’/未下发 ‘577006641364189019’ / 已处置 ‘577006696312866053’ 可以研判 --> | |
| 61 | + <el-button type="text" v-if="isSHILevel" @click="addOrUpdateHandle(scope.row.id)" :disabled="['577006621985604869', '577006641364189019', '577006696312866053'].includes(scope.row.stage) == -1">{{ scope.row.stage == '577006641364189019' ? '下发' : '研判'}}</el-button> | |
| 64 | 62 | <el-button type="text" v-else @click="toHandle(scope.row.id)" >处理</el-button> |
| 65 | 63 | <el-button type="text" @click="toDetail(scope.row.id)" >详情</el-button> |
| 66 | 64 | </template> | ... | ... |
src/views/baseCaseHandling/index.vue
| ... | ... | @@ -61,8 +61,12 @@ |
| 61 | 61 | <!-- <el-table-column prop="id" label="主键" align="left" show-overflow-tooltip/> --> |
| 62 | 62 | <el-table-column prop="number" label="档案号" align="left" show-overflow-tooltip/> |
| 63 | 63 | <el-table-column prop="registrationTime" label="登记时间" :formatter="ncc.tableDateFormat" align="left" show-overflow-tooltip/> |
| 64 | - <el-table-column prop="systemNameStr" label="应用名称" align="left" width="150" show-overflow-tooltip /> | |
| 65 | - <el-table-column prop="registeredEntityStr" label="运营主体" align="left" show-overflow-tooltip/> | |
| 64 | + <el-table-column prop="systemNameStr" label="应用名称" align="left" width="150" show-overflow-tooltip > | |
| 65 | + <template slot-scope="scope">{{ scope.row.systemNameStr || scope.row.systemName }}</template> | |
| 66 | + </el-table-column> | |
| 67 | + <el-table-column prop="registeredEntityStr" label="运营主体" align="left" show-overflow-tooltip> | |
| 68 | + <template slot-scope="scope">{{ scope.row.registeredEntityStr || scope.row.registeredEntity }}</template> | |
| 69 | + </el-table-column> | |
| 66 | 70 | <el-table-column label="类别" prop="category" align="left"> |
| 67 | 71 | <template slot-scope="scope">{{ scope.row.category | dynamicTextUP(systemTypeOptions) }}</template> |
| 68 | 72 | </el-table-column> | ... | ... |
src/views/baseInspectionReport/Form.vue
| ... | ... | @@ -386,7 +386,6 @@ export default { |
| 386 | 386 | dataFormSubmit() { |
| 387 | 387 | this.$refs["elForm"].validate(async (valid) => { |
| 388 | 388 | if (valid) { |
| 389 | - console.log(this.dataForm); | |
| 390 | 389 | let obj = { |
| 391 | 390 | ...this.dataForm, |
| 392 | 391 | questionType: this.dataForm.questionType == '其他' ? this.dataForm.otherQuestionType : this.dataForm.questionType, | ... | ... |
src/views/baseSpecialAction/Form.vue
| ... | ... | @@ -293,7 +293,6 @@ export default { |
| 293 | 293 | ...this.dataForm, |
| 294 | 294 | state: type |
| 295 | 295 | } |
| 296 | - console.log(obj); | |
| 297 | 296 | let url = !this.dataForm.id ? '/Extend/BaseSpecialAction/Release' : '/Extend/BaseSpecialAction/Update'; |
| 298 | 297 | let method = !this.dataForm.id ? 'PUT' : 'POST'; |
| 299 | 298 | this.toPostForm(url, method, obj); | ... | ... |
src/views/baseSpecialAction/index.vue
src/views/baseSpecialhandle/index.vue
src/views/baseSystemInfo/InspectForm.vue
| ... | ... | @@ -285,7 +285,6 @@ export default { |
| 285 | 285 | dataFormSubmit() { |
| 286 | 286 | this.$refs["elForm"].validate(async (valid) => { |
| 287 | 287 | if (valid) { |
| 288 | - console.log(this.dataForm); | |
| 289 | 288 | let obj = { |
| 290 | 289 | ...this.dataForm, |
| 291 | 290 | questionType: this.dataForm.questionType == '其他' ? this.dataForm.otherQuestionType : this.dataForm.questionType, | ... | ... |