无人机管理后台前端(已迁走)
张含笑
2025-07-01 f3b89be21107bc0aee2d969106bc6fa6a0c38a73
feat:任务管理优化
5 files modified
11 ■■■■ changed files
src/assets/images/task/qxzx.png patch | view | raw | blame | history
src/assets/images/task/zxz.png patch | view | raw | blame | history
src/views/job/components/SearchBox.vue 3 ●●●● patch | view | raw | blame | history
src/views/job/components/TaskTop/TaskEvent.vue 4 ●●●● patch | view | raw | blame | history
src/views/job/components/TaskTop/TaskTotal.vue 4 ●●●● patch | view | raw | blame | history
src/assets/images/task/qxzx.png

src/assets/images/task/zxz.png

src/views/job/components/SearchBox.vue
@@ -59,7 +59,7 @@
        </el-form-item>
        <el-form-item label="任务算法:" v-if="isExpand" class="taskAlgorithm">
          <TaskAlgorithmBusiness
            :setWidth="162"
            :setWidth="222"
            :showAlgorithm="true"
            @algorithmChange="algorithmChange"
          />
@@ -451,6 +451,7 @@
    .el-form-item {
      margin-bottom: 0;
      width: 233px;
          margin-right: 20px;
      .el-form-item__label {
        color: #363636;
src/views/job/components/TaskTop/TaskEvent.vue
@@ -81,7 +81,7 @@
        {
            name: '任务',
            type: 'bar',
            barWidth: 8,
            barWidth: 6,
            itemStyle: {
                color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                    { offset: 0, color: '#FF8902' },
@@ -92,7 +92,7 @@
        {
            name: '事件',
            type: 'bar',
            barWidth: 8,
            barWidth: 6,
            itemStyle: {
                color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                    { offset: 0, color: '#4363FF' },
src/views/job/components/TaskTop/TaskTotal.vue
@@ -40,10 +40,10 @@
const list = ref([
    { name: '计划执行', value: '0', color: '#1C5CFF', img: jhzxpng },
    { name: '已执行', value: '0', color: '#00AA2D', img: yzxpng },
    { name: '执行中', value: '0', color: '#FFA768', img:  zxzpng},
    { name: '执行中', value: '0', color: '#FF720F', img:  zxzpng},
    { name: '执行失败', value: '0', color: '#FF4848', img: zxsbpng },
    { name: '待执行', value: '0', color: '#00CDC2', img: dzxpng },
    { name: '取消执行', value: '0', color: '#A6A6A6', img: qxzxpng },
    { name: '取消执行', value: '0', color: '#373333', img: qxzxpng },
])
// 获取任务统计总数