|
|
|
@ -32,10 +32,11 @@
|
|
|
|
|
<div v-for="(item, index) in levelTree"
|
|
|
|
|
@click="handleClickTree(item, index)"
|
|
|
|
|
:class="{ active: item.active }" class="box-item">
|
|
|
|
|
<span class="box-number">{{ item.total }}</span>
|
|
|
|
|
<span class="box-text" style="font-size: 12px;font-weight: 400">{{
|
|
|
|
|
item.name
|
|
|
|
|
}}</span>
|
|
|
|
|
<div class="box-text" >
|
|
|
|
|
<i class="icon-jinggao iconfont"></i>
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-number">{{ item.total }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
@ -206,16 +207,6 @@
|
|
|
|
|
onClick: () => {
|
|
|
|
|
handleEdit(record)
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: 'ant-design:delete-outlined',
|
|
|
|
|
tooltip: '删除',
|
|
|
|
|
popConfirm: {
|
|
|
|
|
title: '是否要删除?',
|
|
|
|
|
okText: '是',
|
|
|
|
|
cancelText: '否',
|
|
|
|
|
confirm: handleDelete.bind(null, record),
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
]" />
|
|
|
|
|
</template>
|
|
|
|
@ -454,27 +445,7 @@ function selectTreeLevel(list, key, topKey) {
|
|
|
|
|
})
|
|
|
|
|
return arr
|
|
|
|
|
}
|
|
|
|
|
const startData = [
|
|
|
|
|
{ tasK_BASE_TYPE: 'VGM_COMPARE', tasK_TITLE: 'VGM_COMPARE' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'SI_FEEDBACK', tasK_TITLE: 'SI_FEEDBACK' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'ORIGINAL_LOST', tasK_TITLE: 'ORIGINAL_LOST' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'ABORT_CHANGE_SHIP', tasK_TITLE: 'ABORT_CHANGE_SHIP' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'CHANGE_SHIP', tasK_TITLE: 'CHANGE_SHIP' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'PER_BILL', tasK_TITLE: 'PER_BILL' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'INVOICE_BILL_MAIL', tasK_TITLE: 'INVOICE_BILL_MAIL' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'TRNAS_PLAN_HAS_CHANGE', tasK_TITLE: 'TRNAS_PLAN_HAS_CHANGE' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'POD_DISCHARGE_FULL', tasK_TITLE: 'POD_DISCHARGE_FULL' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'CUT_MODIFY', tasK_TITLE: 'CUT_MODIFY' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'VGM_MISSING', tasK_TITLE: 'VGM_MISSING' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'CAUTION_NOTICE', tasK_TITLE: 'CAUTION_NOTICE' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'VGM_FEEDBACK', tasK_TITLE: 'VGM_FEEDBACK' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'ROLLING_NOMINATION', tasK_TITLE: 'ROLLING_NOMINATION' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'CANCELLATION', tasK_TITLE: 'CANCELLATION' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'BC_MODIFY', tasK_TITLE: 'BC_MODIFY' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'BC', tasK_TITLE: 'BC' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'DRAFT', tasK_TITLE: 'DRAFT' },
|
|
|
|
|
{ tasK_BASE_TYPE: 'TRUCK_DISPATCH', tasK_TITLE: 'TRUCK_DISPATCH' },
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
const columns = [
|
|
|
|
|
{ dataIndex: 'tasK_TYPE_NAME', width: 100, title: '任务类型' },
|
|
|
|
|
{ dataIndex: 'tasK_TITLE', width: 200, title: '任务标题' },
|
|
|
|
@ -515,9 +486,6 @@ const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps }]
|
|
|
|
|
if (item.FieldName === 'task_TYPE') {
|
|
|
|
|
item.ConditionalType = 0
|
|
|
|
|
}
|
|
|
|
|
if (item.FieldName === 'status') {
|
|
|
|
|
item.ConditionalType = 0
|
|
|
|
|
}
|
|
|
|
|
if (item.FieldName === 'taskRecvName') {
|
|
|
|
|
item.ConditionalType = 0
|
|
|
|
|
}
|
|
|
|
@ -1207,9 +1175,16 @@ function handleClickTree(row, index) {
|
|
|
|
|
.box-item {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(245, 249, 252, 1);
|
|
|
|
|
|
|
|
|
|
.box-text {
|
|
|
|
|
background: rgba(245, 249, 252, 1);
|
|
|
|
|
color: rgba(37, 122, 250, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
@ -1237,8 +1212,12 @@ function handleClickTree(row, index) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-text {
|
|
|
|
|
padding: 4px 7px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
padding: 2px 7px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
flex:1;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottom-box {
|
|
|
|
|