mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-26 15:23:04 +00:00
no message
This commit is contained in:
parent
9470ebb1ae
commit
6132c3fa02
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/572.js
vendored
Normal file
2
public/js/build/572.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/js/build/80.js
vendored
1
public/js/build/80.js
vendored
File diff suppressed because one or more lines are too long
3
public/js/build/845.js
vendored
3
public/js/build/845.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
ca7202cc0a10d7a3
|
e7b8a1795dcd59a7
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul ref="ganttItem"
|
<ul ref="ganttItem"
|
||||||
class="gantt-item"
|
class="gantt-item"
|
||||||
|
:style="ganttItemStyle"
|
||||||
@scroll="itemScrollListener"
|
@scroll="itemScrollListener"
|
||||||
@mouseenter="mouseType='item'">
|
@mouseenter="mouseType='item'">
|
||||||
<li v-for="(item, key) in lists" :key="key">
|
<li v-for="(item, key) in lists" :key="key">
|
||||||
@ -50,6 +51,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {mapState} from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'GanttView',
|
name: 'GanttView',
|
||||||
props: {
|
props: {
|
||||||
@ -100,6 +103,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
...mapState(['touchBackInProgress']),
|
||||||
monthNum() {
|
monthNum() {
|
||||||
const {ganttWidth, dateWidth} = this;
|
const {ganttWidth, dateWidth} = this;
|
||||||
return Math.floor(ganttWidth / dateWidth / 30) + 2
|
return Math.floor(ganttWidth / dateWidth / 30) + 2
|
||||||
@ -227,7 +231,14 @@ export default {
|
|||||||
}
|
}
|
||||||
return customStyle
|
return customStyle
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
ganttItemStyle() {
|
||||||
|
const style = {}
|
||||||
|
if (this.touchBackInProgress) {
|
||||||
|
style.overflow = 'hidden !important';
|
||||||
|
}
|
||||||
|
return style
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
itemScrollListener(e) {
|
itemScrollListener(e) {
|
||||||
|
|||||||
@ -40,7 +40,7 @@
|
|||||||
:stroke-color="item.task_percent === 100 ? 'rgba(132, 197, 106, 0)' : '#84C56A'"
|
:stroke-color="item.task_percent === 100 ? 'rgba(132, 197, 106, 0)' : '#84C56A'"
|
||||||
:stroke-width="8"
|
:stroke-width="8"
|
||||||
:percent="item.task_percent"
|
:percent="item.task_percent"
|
||||||
:size="56">
|
:size="48">
|
||||||
<Icon v-if="item.task_percent === 100" type="ios-checkmark"></Icon>
|
<Icon v-if="item.task_percent === 100" type="ios-checkmark"></Icon>
|
||||||
<span v-else class="percent-text">{{item.task_percent}}%</span>
|
<span v-else class="percent-text">{{item.task_percent}}%</span>
|
||||||
</iCircle>
|
</iCircle>
|
||||||
|
|||||||
@ -230,7 +230,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</Draggable>
|
</Draggable>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="tabTypeActive === 'table'" class="project-table overlay-y">
|
<div v-else-if="tabTypeActive === 'table'" class="project-table overlay-y" :style="columnStyle">
|
||||||
<div class="project-table-head">
|
<div class="project-table-head">
|
||||||
<Row class="task-row">
|
<Row class="task-row">
|
||||||
<Col span="12"># {{$L('任务名称')}}</Col>
|
<Col span="12"># {{$L('任务名称')}}</Col>
|
||||||
@ -578,7 +578,7 @@ export default {
|
|||||||
columnStyle() {
|
columnStyle() {
|
||||||
const style = {}
|
const style = {}
|
||||||
if (this.touchBackInProgress) {
|
if (this.touchBackInProgress) {
|
||||||
style.overflow = 'hidden';
|
style.overflow = 'hidden !important';
|
||||||
}
|
}
|
||||||
return style
|
return style
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user