Your Name
2022-08-04 ee84672f93c1d32a42cbfeb690412aa5cf68fa07
更新
已修改2个文件
13 ■■■■ 文件已修改
src/utils/request.ts 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doublePrevent/riskCheckManage/checkTaskManage/checkTask/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | 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>