no message

This commit is contained in:
kuaifan 2022-05-29 19:47:11 +08:00
parent 9470ebb1ae
commit 6132c3fa02
9 changed files with 20 additions and 9 deletions

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
ca7202cc0a10d7a3
e7b8a1795dcd59a7

View File

@ -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) {

View File

@ -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>

View File

@ -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
},