no message

This commit is contained in:
kuaifan 2021-06-11 00:17:19 +08:00
parent d7ce383c36
commit d94dc5ebea
9 changed files with 47 additions and 13 deletions

View File

@ -289,10 +289,7 @@
this.isLoading = true; this.isLoading = true;
$A.apiAjax({ $A.apiAjax({
url: 'system/imgview', url: 'system/imgview',
data: { path: path?path:'' }, data: {path: path ? path : ''},
beforeSend: true,
complete: true,
error: true,
success: (res) => { success: (res) => {
this.isLoading = false; this.isLoading = false;
if (res.ret === 1) { if (res.ret === 1) {

View File

@ -104,17 +104,19 @@
<!--任务详情--> <!--任务详情-->
<Modal <Modal
v-model="projectTask._show" v-model="projectTask._show"
:title="$L('任务详情')" :mask-closable="false"
:mask-closable="false"> footer-hide>
<TaskDetail/>
</Modal> </Modal>
</div> </div>
</template> </template>
<script> <script>
import { mapState } from 'vuex' import { mapState } from 'vuex'
import TaskDetail from "./manage/components/TaskDetail";
export default { export default {
components: {TaskDetail},
data() { data() {
return { return {
loadIng: 0, loadIng: 0,

View File

@ -0,0 +1,22 @@
<template>
<div class="task-detail">
{{projectTask}}
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: "TaskDetail",
data() {
return {
}
},
computed: {
...mapState(['userId', 'projectTask']),
},
}
</script>

View File

@ -60,11 +60,15 @@
font-size: 28px; font-size: 28px;
} }
.ivu-progress-outer { .ivu-progress {
background-color: rgba(0, 0, 0, 0.68); height: 100%;
.ivu-progress-outer {
.ivu-progress-inner { background-color: rgba(0, 0, 0, 0.68);
width: 88%; height: 100%;
.ivu-progress-inner {
width: 88%;
margin: 0 auto;
}
} }
} }
} }

View File

@ -229,6 +229,10 @@ body {
.ivu-progress { .ivu-progress {
display: flex; display: flex;
align-items: center; align-items: center;
.ivu-progress-outer {
display: flex;
align-items: center;
}
&.ivu-progress-show-info { &.ivu-progress-show-info {
.ivu-progress-outer { .ivu-progress-outer {
margin: 0; margin: 0;

View File

@ -3,4 +3,5 @@
@import "project-list"; @import "project-list";
@import "task-add"; @import "task-add";
@import "task-add-simple"; @import "task-add-simple";
@import "task-detail";
@import "task-priority"; @import "task-priority";

View File

@ -400,6 +400,7 @@
color: #777777; color: #777777;
background-color: #EAEDF2; background-color: #EAEDF2;
padding: 1px 4px; padding: 1px 4px;
margin-left: 18px;
font-size: 12px; font-size: 12px;
font-weight: 500; font-weight: 500;
border-radius: 3px; border-radius: 3px;

View File

@ -0,0 +1,3 @@
.task-detail {
padding-bottom: 22px;
}

View File

@ -172,7 +172,7 @@
padding-right: 6px; padding-right: 6px;
} }
.ivu-progress { .ivu-progress {
margin-right: -26px; margin-right: -18px;
.ivu-progress-inner { .ivu-progress-inner {
background-color: #e4e4e4; background-color: #e4e4e4;
} }