| | |
| | | this.$prompt('备注说明', '确定要容缺此任务吗', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | inputType: 'textarea' |
| | | inputType: 'textarea', |
| | | inputValidator: (value) => { |
| | | if (!value || value.trim() === '') { |
| | | return "请填写备注说明" |
| | | } |
| | | return true |
| | | }, |
| | | inputErrorMessage: '请填写备注说明' |
| | | }).then(({ value }) => { |
| | | let waitForm = { |
| | | taskId: this.taskId, |
| | |
| | | this.$prompt('备注说明', '确定要跳过此任务吗', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | inputType: 'textarea' |
| | | // inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/, |
| | | // inputErrorMessage: '邮箱格式不正确' |
| | | inputType: 'textarea', |
| | | inputValidator: (value) => { |
| | | if (!value || value.trim() === '') { |
| | | return "请填写备注说明" |
| | | } |
| | | return true |
| | | }, |
| | | inputErrorMessage: '请填写备注说明' |
| | | }).then(({ value }) => { |
| | | let jumpForm = { |
| | | taskId: this.taskId, |
| | |
| | | </div> |
| | | <div class="search-warp"> |
| | | <div @click="changeTab(1, 'all')" :class="{'item-warm': true, 'all-color': true, 'active': 1 === selectTabId}">全部事项<span v-if="detailData && detailData.statistics">({{detailData.statistics.totalTaskNum}})</span></div> |
| | | <div @click="changeTab(2, 'todo')" :class="{'item-warm': true, 'all-color': true, 'active': 2 === selectTabId}">待办事项<span v-if="detailData && detailData.statistics">({{detailData.statistics.todoTaskNum}})</span></div> |
| | | <div @click="changeTab(3, 'wait')" :class="{'item-warm': true, 'current-color': true, 'active': 3 === selectTabId}">容缺事项</div> |
| | | <div @click="changeTab(2, 'todo')" :class="{'item-warm': true, 'todo-color': true, 'active': 2 === selectTabId}">待办事项<span v-if="detailData && detailData.statistics">({{detailData.statistics.todoTaskNum}})</span></div> |
| | | <div @click="changeTab(4, 'remaining')" :class="{'item-warm': true, 'remaining-color': true, 'active': 4 === selectTabId}">剩余事项<span v-if="detailData && detailData.statistics">({{detailData.statistics.remainingTaskNum}})</span></div> |
| | | <div @click="changeTab(5, 'timely')" :class="{'item-warm': true, 'timely-color': true, 'active': 5 === selectTabId}">按时完成<span v-if="detailData && detailData.statistics">({{detailData.statistics.timelyFinishedTaskNum}})</span></div> |
| | | <div @click="changeTab(6, 'overtime')" :class="{'item-warm': true, 'overtime-color': true, 'active': 6 === selectTabId}">超时事项(0)</div> |
| | | <div @click="changeTab(3, 'wait')" :class="{'item-warm': true, 'wait-color': true, 'active': 3 === selectTabId}">容缺事项</div> |
| | | <!-- <div @click="changeTab(7, 'willOvertime')" :class="{'item-warm': true, 'willOvertime-color': true, 'active': 7 === selectTabId}">临期事项(0)</div>--> |
| | | <div @click="changeTab(8, 'urge')" :class="{'item-warm': true, 'urge-color': true, 'active': 8 === selectTabId}">督办事项(0)</div> |
| | | </div> |
| | |
| | | .all-color { |
| | | background-color: rgb(180, 253, 255); |
| | | } |
| | | .todo-color { |
| | | background-color: rgb(66, 174, 243); |
| | | } |
| | | |
| | | .current-color { |
| | | background-color: rgb(127, 131, 247); |
| | |
| | | background-color: rgb(204, 247, 131); |
| | | } |
| | | .overtime-color { |
| | | background-color: rgb(129, 179, 55); |
| | | color: white; |
| | | background-color: #e8e866; |
| | | } |
| | | |
| | | .wait-color { |
| | | background-color: orange; |
| | | } |
| | | |
| | | .willOvertime-color { |
| | | background-color: rgb(255, 248, 29); |
| | | } |
| | | .urge-color { |
| | | background-color: rgb(0, 0, 0); |
| | | background-color: red; |
| | | color: white; |
| | | } |
| | | .active { |