src/utils/request.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/doublePrevent/riskCheckManage/checkTaskManage/checkTask/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/utils/request.ts
@@ -13,12 +13,11 @@ service.interceptors.request.use( (config) => { // 在发送请求之前做些什么 token // for (let key in config.data) { // if (config.data[key] == null || config.data[key] === undefined) { // delete config.data[key]; // } // } for (let key in config.data) { if (config.data[key] == '') { config.data[key] = null; } } if (Session.get('token')) { (<any>config.headers).common['Authorization'] = `${Session.get('token')}`; (<any>config.headers).common['uid'] = `${Session.get('uid')}`; src/views/doublePrevent/riskCheckManage/checkTaskManage/checkTask/index.vue
@@ -73,7 +73,7 @@ <el-table-column prop="gmtModitify" label="最后修改时间" show-overflow-tooltip></el-table-column> <el-table-column label="操作" align="center" width="280" class-name="small-padding fixed-width"> <template #default="scope"> <el-button size="small" text type="primary" v-show="scope.row.taskStatus === 1 || scope.row.taskStatus === 4" :icon="Check" @click="onHandleTask(scope.row)">任务认领</el-button> <el-button size="small" text type="primary" v-show="(scope.row.taskStatus === 1 || scope.row.taskStatus === 4) && scope.row.taskBelong === 1" :icon="Check" @click="onHandleTask(scope.row)">任务认领</el-button> </template> </el-table-column> </el-table>