吉安感知网项目-前端
罗广辉
2026-01-23 dd60254c941484cbd3e989fab83e2f73f56122ec
feat: 菜单tabs
7 files modified
48 ■■■■■ changed files
applications/task-work-order/src/config/website.js 1 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/permission.js 16 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/router/views/index.js 1 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/store/modules/tags.js 1 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/styles/tags.scss 4 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue 23 ●●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/orderManage/orderManage/index.vue 2 ●●● patch | view | raw | blame | history
applications/task-work-order/src/config/website.js
@@ -42,7 +42,6 @@
        menu: true,
    },
    fistPage: {
        name: '工单管理首页',
        path: '/',
    },
    //配置菜单的属性
applications/task-work-order/src/permission.js
@@ -59,14 +59,14 @@
          let toMenu = findRouteByPath(newMenu, to.path)
          store.commit('ADD_TAG', {
            name: firstMenu.name,
            path: firstMenu.path,
            fullPath: firstMenu.path,
            params: firstMenu.params || {},
            query: firstMenu.query || {},
            meta: firstMenu.meta || {},
          })
          // store.commit('ADD_TAG', {
          //   name: firstMenu.name,
          //   path: firstMenu.path,
          //   fullPath: firstMenu.path,
          //   params: firstMenu.params || {},
          //   query: firstMenu.query || {},
          //   meta: firstMenu.meta || {},
          // })
          store.commit('ADD_TAG', {
            name: toMenu.name,
            path: toMenu.path,
applications/task-work-order/src/router/views/index.js
@@ -4,7 +4,6 @@
export default [
    {
        path: '/',
        name:'工单管理首页',
        redirect: '/orderView/orderManage/orderManage/index',
    },
  {
applications/task-work-order/src/store/modules/tags.js
@@ -15,6 +15,7 @@
      setStore({ name: 'tag', content: state.tag })
      if (state.bsTagList.some(ele => ele.fullPath == action.fullPath)) return
      state.bsTagList.push(action)
            console.log(state.bsTagList,'99')
      setStore({ name: 'bsTagList', content: state.bsTagList })
    },
    DEL_TAG: (state, action) => {
applications/task-work-order/src/styles/tags.scss
@@ -44,7 +44,7 @@
      background: #5B6BFF;
      .is-icon-close {
        margin: 0 10px;
        //margin: 0 10px;
      }
    }
@@ -114,4 +114,4 @@
    padding: 1px 0 0 15px;
    box-sizing: border-box;
  }
}
}
applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
@@ -76,13 +76,8 @@
                                </template>
                            </el-table-column>
                            <el-table-column prop="executeTime" show-overflow-tooltip label="任务执行时间" />
                            <el-table-column prop="feishou" show-overflow-tooltip label="选择飞手" />
                            <el-table-column prop="deviceId" show-overflow-tooltip label="选择设备" />
                            <el-table-column label="操作" class-name="operation-btns">
                                <template v-slot="{ row }">
                                    <el-link type="primary" @click="">查看</el-link>
                                </template>
                            </el-table-column>
                            <el-table-column prop="recommendFlyerName" show-overflow-tooltip label="选择飞手" />
                            <el-table-column prop="deviceName" show-overflow-tooltip label="选择设备" />
                        </el-table>
                    </template>
                </div>
@@ -187,7 +182,7 @@
                        <el-table-column prop="devicePayload" label="设备负载" />
                    </el-table>
                </template>
                <div v-else>请先选择设备需求并绘制范围</div>
                <div v-else>请先选择设备需求并在地图上绘制工单范围</div>
            </div>
        </div>
@@ -215,10 +210,10 @@
                </el-button>
                <el-button v-if="gdStatus === '10'" @click="addDescription">拒绝接单</el-button>
                <el-button v-if="gdStatus === '10'" @click="statusChange(1)">接单</el-button>
                <el-button v-if="gdStatus === '22'" @click="statusChange(7)">同意修改</el-button>
                <el-button v-if="gdStatus === '22'" @click="statusChange(8)">不同意修改</el-button>
                <el-button v-if="gdStatus === '21'" @click="statusChange(5)">同意取消</el-button>
                <el-button v-if="gdStatus === '22'" @click="statusChange(7)">同意修改</el-button>
                <el-button v-if="gdStatus === '21'" @click="addDescription">不同意取消</el-button>
                <el-button v-if="gdStatus === '21'" @click="statusChange(5)">同意取消</el-button>
                <el-button v-if="gdStatus === '30'" @click="addDescription">协商修改</el-button>
                <el-button v-if="gdStatus === '31'" @click="statusChange(10)">同意</el-button>
            </template>
@@ -561,7 +556,6 @@
        hasPatrolTaskList.value && gdPatrolTaskPage()
        dialogMode.value === 'edit' ? editPolygon() : viewPolygon()
    }
    await getDeviceList()
    // setMapDevice()
    await nextTick()
    syncSelection()
@@ -609,18 +603,17 @@
    .processBox {
        width: 312px;
        .el-timeline{
        .el-timeline {
            padding-left: 100px;
        }
        .item-content{
        .item-content {
            position: relative;
            .flowName{
            .flowName {
                position: absolute;
                left: -100px;
                top: 0;
            }
        }
    }
}
applications/task-work-order/src/views/orderView/orderManage/orderManage/index.vue
@@ -45,7 +45,7 @@
                    <el-option
                        v-for="item in dictObj.workOrderStatus"
                        :key="item.dictKey"
                        :label="item.dictValue"
                        :label="item.dictValue.split('_')[1]"
                        :value="item.dictKey"
                    />
                </el-select>