mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-04 16:37:06 +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>
|
||||
<ul ref="ganttItem"
|
||||
class="gantt-item"
|
||||
:style="ganttItemStyle"
|
||||
@scroll="itemScrollListener"
|
||||
@mouseenter="mouseType='item'">
|
||||
<li v-for="(item, key) in lists" :key="key">
|
||||
@ -50,6 +51,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
name: 'GanttView',
|
||||
props: {
|
||||
@ -100,6 +103,7 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['touchBackInProgress']),
|
||||
monthNum() {
|
||||
const {ganttWidth, dateWidth} = this;
|
||||
return Math.floor(ganttWidth / dateWidth / 30) + 2
|
||||
@ -227,7 +231,14 @@ export default {
|
||||
}
|
||||
return customStyle
|
||||
}
|
||||
}
|
||||
},
|
||||
ganttItemStyle() {
|
||||
const style = {}
|
||||
if (this.touchBackInProgress) {
|
||||
style.overflow = 'hidden !important';
|
||||
}
|
||||
return style
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
itemScrollListener(e) {
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
:stroke-color="item.task_percent === 100 ? 'rgba(132, 197, 106, 0)' : '#84C56A'"
|
||||
:stroke-width="8"
|
||||
:percent="item.task_percent"
|
||||
:size="56">
|
||||
:size="48">
|
||||
<Icon v-if="item.task_percent === 100" type="ios-checkmark"></Icon>
|
||||
<span v-else class="percent-text">{{item.task_percent}}%</span>
|
||||
</iCircle>
|
||||
|
||||
@ -230,7 +230,7 @@
|
||||
</li>
|
||||
</Draggable>
|
||||
</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">
|
||||
<Row class="task-row">
|
||||
<Col span="12"># {{$L('任务名称')}}</Col>
|
||||
@ -578,7 +578,7 @@ export default {
|
||||
columnStyle() {
|
||||
const style = {}
|
||||
if (this.touchBackInProgress) {
|
||||
style.overflow = 'hidden';
|
||||
style.overflow = 'hidden !important';
|
||||
}
|
||||
return style
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user