|
@@ -80,6 +80,7 @@
|
|
</template>
|
|
</template>
|
|
<script setup>
|
|
<script setup>
|
|
import {ref, onMounted, reactive, watch} from 'vue'
|
|
import {ref, onMounted, reactive, watch} from 'vue'
|
|
|
|
+import { useStore } from 'vuex'
|
|
import {postCreatTask, postCollectTask, postTaskList} from '@/network/api/user'
|
|
import {postCreatTask, postCollectTask, postTaskList} from '@/network/api/user'
|
|
import emitter from '@/utils/bus'
|
|
import emitter from '@/utils/bus'
|
|
import Operation from './OperationPage'
|
|
import Operation from './OperationPage'
|
|
@@ -95,6 +96,8 @@ const props = defineProps({
|
|
})
|
|
})
|
|
const emit = defineEmits(['taskDetail', 'getTaskList'])
|
|
const emit = defineEmits(['taskDetail', 'getTaskList'])
|
|
|
|
|
|
|
|
+const { dispatch } = useStore()
|
|
|
|
+
|
|
let isShowResult = ref(false)
|
|
let isShowResult = ref(false)
|
|
let resultData = reactive({})
|
|
let resultData = reactive({})
|
|
let queryParams = reactive({
|
|
let queryParams = reactive({
|
|
@@ -154,6 +157,7 @@ const refreshImg = async () => {
|
|
emit('getTaskList')
|
|
emit('getTaskList')
|
|
ElMessage.success(res.message)
|
|
ElMessage.success(res.message)
|
|
loading.value = false
|
|
loading.value = false
|
|
|
|
+ dispatch('user/getInfo')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// 下载
|
|
// 下载
|
|
@@ -270,7 +274,7 @@ onMounted(() => {
|
|
|
|
|
|
.content {
|
|
.content {
|
|
width: 100%;
|
|
width: 100%;
|
|
- background-color: var(--el-fill-color-blank);
|
|
|
|
|
|
+ background-color: var(--page-bg-color);
|
|
margin-top: 14px;
|
|
margin-top: 14px;
|
|
margin-bottom: 14px;
|
|
margin-bottom: 14px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -313,7 +317,7 @@ onMounted(() => {
|
|
.right-bar {
|
|
.right-bar {
|
|
width: 78px;
|
|
width: 78px;
|
|
height: 100%;
|
|
height: 100%;
|
|
- background-color: var(--el-fill-color-blank);
|
|
|
|
|
|
+ background-color: var(--page-bg-color);
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -323,7 +327,7 @@ onMounted(() => {
|
|
.history-box {
|
|
.history-box {
|
|
height: 240px;
|
|
height: 240px;
|
|
width: 100%;
|
|
width: 100%;
|
|
- background-color: var(--el-fill-color-blank);
|
|
|
|
|
|
+ background-color: var(--page-bg-color);
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
margin-top: 14px;
|
|
margin-top: 14px;
|
|
padding: 24px 10px 28px 10px;
|
|
padding: 24px 10px 28px 10px;
|