haoxuan
2023-09-13 ffeb05ad55f62677ed915c1f19c765a2550cc07e
面板改版 2023-9-13
4个文件已添加
4个文件已修改
499 ■■■■ 已修改文件
public/one-blue.png 补丁 | 查看 | 原始文档 | blame | 历史
public/one.png 补丁 | 查看 | 原始文档 | blame | 历史
public/tank.png 补丁 | 查看 | 原始文档 | blame | 历史
public/two-blue.png 补丁 | 查看 | 原始文档 | blame | 历史
public/two.png 补丁 | 查看 | 原始文档 | blame | 历史
src/api/home/index.js 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/AddIssue.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/visualization.vue 457 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/one-blue.png
public/one.png
public/tank.png

public/two-blue.png
public/two.png
src/api/home/index.js
@@ -1,4 +1,5 @@
import request from "@/utils/request";
import axios from "axios"
// 获取网络配置 
export const NetworkCard = () => {
  return request({
@@ -18,7 +19,7 @@
export const getProgress = (data) => {
  return request({
    url: "/v1/plc/productProgress",
    method: "get",
    method: "post",
    data
  });
};
@@ -69,7 +70,7 @@
//获取任务
export const getTaskInfo = (data) => {
  return request({
    url: "/v1/task/get",
    url: "/v1/task/get?page="+data.page+'&pageSize='+data.pageSize,
    method: "get",
    data,
  });
@@ -103,15 +104,7 @@
  });
};
// 生产总量
export const setProductNumber = (data) => {
  return request({
    url: 'v1/plc/setProductNumber',
    loadingFlag:true,
    method: "post",
    data,
  });
};
// 倒计时
export const countdown = (data) => {
  return request({
src/components/AddIssue.vue
@@ -3,16 +3,16 @@
  <el-dialog
    :close-on-click-modal="false"
    :visible.sync="islook"
    width="783px"
    width="753px"
    class="add-event-dialog"
    :show-close="false"
  >
    <div class="tank-box">
      <div slot="title" class="tac drawerHeader">
        <span class="title-l">新任务</span>
        <span class="title-r" @click="closeClick">
        <!-- <span class="title-r" @click="closeClick">
          <img src="../../public/close.png" />
        </span>
        </span> -->
      </div>
      <div class="dialog-content-box">
        <div
@@ -73,6 +73,7 @@
                  -
                  {{ formatDate(taskData.Order.endTime) }}
                </div>
                <div class="title-item">
                  客户名称:{{ taskData.Order.customer || "" }}
                </div>
@@ -110,10 +111,9 @@
              <div
                style="
                  color: red;
                  font-size: 16px;
                  font-size: 26px;
                  width: 100%;
                  text-align: center;
                  font-weight: 700;
                  margin-bottom: 20px;
                  margin-top: 10px;
                "
@@ -151,7 +151,7 @@
        <template v-else>
         
          <div class="btn" v-if="showBtn == 1" @click="confirmClick1">
            <img src="../../public/confirm3.png" />
            <img src="../../public/confirm1.png" />
          </div>
          <div class="btn" v-if="showBtn == 2">
            <img src="../../public/confirm2.png" />
@@ -178,7 +178,6 @@
<script>
import {
  startTask,
  setProductNumber,
  sendProcessParams,
} from "@/api/home/index"; // 产线
// import ErrorIssue from "@/components/ErrorIssue";
@@ -320,10 +319,8 @@
          sendProcessParams({ id: this.taskData.Procedure.ID }).then((res) => {
            console.log(res,'====res')
            if (res.code == 200) {
              setProductNumber().then((res) => {
                this.resParams = res;
                this.isLoading=false;
              });
            } else {
              this.isLoading=false;
              this.resParams = res;
@@ -366,8 +363,8 @@
<style lang="scss" scoped>
.tank-box {
  width: 783px;
  height: 630px;
  width: 753px;
  height: 728px;
  background: url("../../public/tank.png") no-repeat center center / cover;
  position: relative;
  .dialog-footer {
@@ -547,8 +544,14 @@
    overflow: hidden;
  }
  .title-auto-box {
    height: calc(100% - 150px);
    height: calc(100% - 180px);
    overflow: auto;
    width:calc(100% - 140px);
    margin: 0 auto;
    background:#0E246A;
    .title-box{
      padding:0 10px;
    }
  }
  .progress-item {
    width: 55%;
src/views/visualization.vue
@@ -1,17 +1,42 @@
<template>
  <div class="home">
    <!--  -->
    <template v-if="Object.keys(taskData).length > 0 && taskData.Procedure.ID">
    <!-- v-if="Object.keys(taskData).length > 0 && taskData.Procedure.ID" -->
    <template>
      <div class="left">
        <p class="title">
          <span
            class="font set-title"
            style="float: left; margin-right: 15px"
            @click="cutClick(1)"
          >
            <img v-if="activeName == 1" src="../../public/one-blue.png" />
            <img v-else src="../../public/one.png" />
          </span>
          <span class="font set-title" style="float: left" @click="cutClick(2)">
            <img v-if="activeName == 2" src="../../public/two-blue.png" />
            <img v-else src="../../public/two.png" />
          </span>
          生产管理看板
          <span
            class="font el-icon-setting set-title"
            style="float: right"
            @click="setUrl"
          ></span>
          <span
            style="float: right;margin-right:20px;font-size:28px;line-height:25px;"
            @click="taskClick"
          >
          <el-badge :value="TaskCount" class="item">
            <i   class="el-icon-chat-round"/>
          </el-badge>
        </span>
        </p>
        <div
          :class="activeName == 1 ? 'active-one' : 'active-two'"
          v-for="(taskData, index) in Tasks"
          :key="index"
        >
        <div class="statelist">
          <span class="title-item"
            >工单编号:
@@ -28,9 +53,7 @@
          <span class="title-item"
            >后道工序:
            <span class="color_4efefa">
              {{
                taskData.Procedure.procedure.nextProcedureName || "--"
              }}
                {{ taskData.Procedure.procedure.nextProcedureName || "--" }}
            </span>
          </span>
          <span class="title-item"
@@ -48,14 +71,22 @@
            </span>
          </span>
        </div>
          <div class="gongx" v-if="taskData.AllProcedures">
          <el-steps :active="taskData.CurrentProcedureIndex?taskData.CurrentProcedureIndex:0" finish-status="success" simple>
            <el-step :title="item" v-for="(item,index) in taskData.AllProcedures" :key="index"></el-step>
          </el-steps>
        </div>
        <div class="content">
          <div class="content_left">
            <div class="content-top">
              <div class="small_title">当前完成</div>
              <div class="content_leftBttom">
                <dl>
                  <dd style="font-size: 26px; font-weight: 600">
                    {{ finishNumber }}{{ taskData.Order.unit }}
                    <dd
                      style="font-size: 26px; font-weight: 600"
                      class="color_green"
                    >
                      {{ taskData.finishNumber }}{{ taskData.Order.unit }}
                  </dd>
                </dl>
              </div>
@@ -64,7 +95,10 @@
              <div class="small_title">正品生产</div>
              <div class="content_leftBttom">
                <dl>
                  <dd style="font-size: 26px; font-weight: 600">
                    <dd
                      style="font-size: 26px; font-weight: 600"
                      class="color_green"
                    >
                    {{ taskData.Order.amount || 0 }}{{ taskData.Order.unit }}
                  </dd>
                </dl>
@@ -72,7 +106,7 @@
            </div>
          </div>
          <div class="content_right">
            <el-descriptions :column="2" :colon="true">
              <el-descriptions :column="activeName == 1 ? 2 : 1" :colon="true">
              <el-descriptions-item label="产品名称">{{
                taskData.Order.productName || ""
              }}</el-descriptions-item>
@@ -110,7 +144,14 @@
                  text-color="#fff"
                  :text-inside="true"
                  :stroke-width="30"
                  :percentage="taskData.Order?parseInt(finishNumber/taskData.Order.amount*100):0"
                    :percentage="
                      (taskData.Order && taskData.finishNumber != 0)
                        ? parseInt(
                            (taskData.finishNumber / taskData.Order.amount) *
                              100
                          )
                        : 0
                    "
                ></el-progress>
              </el-descriptions-item>
              <!-- <el-descriptions-item label="合格率" style="width: 100%">
@@ -134,7 +175,7 @@
              height="calc(100% -  0px)"
              :interval="500"
              class="card-box"
              ref="cardBox1"
                :ref="'cardBox1&' + index"
              v-if="
                taskData.Procedure.procedure &&
                taskData.Procedure.procedure.inputMaterials
@@ -142,9 +183,13 @@
            >
              <el-carousel-item
                :key="index"
                v-for="(item, index) in inputMaterials"
                  v-for="(item, index) in taskData.inputMaterials"
              >
                <div class="card" :key="index2" v-for="(list, index2) in item">
                  <div
                    class="card"
                    :key="index2"
                    v-for="(list, index2) in item"
                  >
                  <div class="card_content">
                    <div class="card_contentLeft">{{ list.materialId }}</div>
                  </div>
@@ -182,14 +227,18 @@
              height="calc(100% -  0px)"
              :interval="500"
              class="card-box"
              ref="cardBox2"
              v-if="taskData.Procedure.procedure && procedureList"
                :ref="'cardBox2&' + index"
                v-if="taskData.Procedure.procedure && taskData.procedureList"
            >
              <el-carousel-item
                :key="index"
                v-for="(item, index) in procedureList"
                  v-for="(item, index) in taskData.procedureList"
              >
                <div class="card" :key="index2" v-for="(list, index2) in item">
                  <div
                    class="card"
                    :key="index2"
                    v-for="(list, index2) in item"
                  >
                  <template v-if="list.name == '工序'">
                    <div class="card_content">
                      <div class="card_contentLeft color_blue">
@@ -199,7 +248,15 @@
                    </div>
                    <div class="card_top-3">
                      <span class="card-top-r-t"
                        >完成进度:{{ taskData.Order?parseInt(finishNumber/taskData.Order.amount*100):0}}</span
                          >完成进度:{{
                            taskData.Order && taskData.finishNumber != 0
                              ? parseInt(
                                  (taskData.finishNumber /
                                    taskData.Order.amount) *
                                    100
                                )
                              : 0
                          }}</span
                      >
                      <span class="card-top-r-b">
                        <el-progress
@@ -208,7 +265,15 @@
                          text-color="#fff"
                          :text-inside="true"
                          :stroke-width="10"
                          :percentage="taskData.Order?parseInt(finishNumber/taskData.Order.amount*100):0"
                            :percentage="
                             (taskData.Order && taskData.finishNumber != 0)
                                ? parseInt(
                                    (taskData.finishNumber /
                                      taskData.Order.amount) *
                                      100
                                  )
                                : 0
                            "
                          :show-text="false"
                        ></el-progress>
                      </span>
@@ -242,22 +307,28 @@
              </el-carousel-item>
            </el-carousel>
            <p style="font-size: 22px; margin-left: 12px; margin-top: 50px"></p>
              <p
                style="font-size: 22px; margin-left: 12px; margin-top: 50px"
              ></p>
            <div class="right-small-btn">
              <el-button type="primary"> 打印</el-button>
              <el-popover
                placement="top-end"
                width="160"
                class="button-finish"
                v-model="finishShow"
                  v-model="finishShow['finishShow&'+index]"
                trigger="click"
              >
                <p>请确认是否已完成该生产任务?</p>
                <div style="text-align: right; margin: 0">
                  <el-button size="mini" @click="finishShow = false">
                    <el-button size="mini" @click="finishShow['finishShow&'+index] = false">
                    取消</el-button
                  >
                  <el-button type="primary" size="mini" @click="finishClick">
                    <el-button
                      type="primary"
                      size="mini"
                      @click="finishClick(index, taskData)"
                    >
                    确定</el-button
                  >
                </div>
@@ -274,7 +345,7 @@
              direction="vertical"
              height="calc(100% -  0px)"
              :interval="500"
              ref="cardBox3"
                :ref="'cardBox3&' + index"
              class="card-box"
              v-if="
                taskData.Procedure.procedure &&
@@ -283,7 +354,7 @@
            >
              <el-carousel-item
                :key="index"
                v-for="(item, index) in outputMaterials"
                  v-for="(item, index) in taskData.outputMaterials"
              >
                <div
                  class="card-box"
@@ -292,7 +363,9 @@
                >
                  <div class="card">
                    <div class="card_content">
                      <div class="card_contentLeft">{{ list.materialId }}</div>
                        <div class="card_contentLeft">
                          {{ list.materialId }}
                        </div>
                    </div>
                    <div class="card_top">
                      <div>
@@ -342,16 +415,17 @@
          </div>
        </div>
      </div>
      </div>
      <div class="right">
        <div class="right_top">
          <div class="right-top-l">作业状态</div>
          <div class="time">
            <dl>
              <dd><span style="font-size: 32px">{{ formatTime3 }}</span></dd>
              <dd>
                <span style="font-size: 12px; "
                  >{{ formatTime2 }}</span
                >
                <span style="font-size: 32px">{{ formatTime3 }}</span>
              </dd>
              <dd>
                <span style="font-size: 12px">{{ formatTime2 }}</span>
                <!--margin-right: 10px <span style="font-size: 14px">星期四</span> -->
              </dd>
            </dl>
@@ -369,13 +443,11 @@
        </div>
        <div class="right_dutyLst">
          <div class="right-small-title">当前值班</div>
          <div
            class="right-person-box"
            v-if="taskData.Procedure.procedure.workers"
          >
          <div class="right-person-box" v-if="workers && workers.length > 0">
            <dl
              class="right-small-person"
              v-for="(item, index) in taskData.Procedure.procedure.workers"
              v-for="(item, index) in workers"
              :key="index"
            >
              <dt>
@@ -419,13 +491,16 @@
        </div>
      </div>
    </template>
    <!--  -->
    <template v-else>
    <!-- v-else -->
    <template>
      <div class="home-img-box">
        <div class="bg-title">
          <img src="../../public/bg-title.png" />
          <span class="bg-title-span">设备实时生产看板</span>
          <div class="bg-date"><span>{{ formatTime3 }}</span><br/>{{formatTime2}}</div>
          <div class="bg-date">
            <span>{{ formatTime3 }}</span
            ><br />{{ formatTime2 }}
          </div>
          <span
            class="font el-icon-setting set-title bg-set"
            @click="setUrl"
@@ -435,7 +510,12 @@
          <img src="../../public/yuan.png" />
          <div class="btn-img">
            <div class="font_size_16" style="line-height: 5; margin-top: 18%">
              <span v-if="showCountDown">距离任务开始时间:{{countDownHour}}时 {{countDownMinute}}分</span>
              <span v-if="showCountDown"
                >距离任务开始时间:
                <span class="color_red">{{ countDownHour }}</span
                >时 <span class="color_red">{{ countDownMinute }}</span
                >分</span
              >
              <span v-else>暂无任务,休息一下吧...</span>
            </div>
            <el-button type="primary" @click="reloadPage">刷新任务</el-button>
@@ -446,12 +526,17 @@
    <!-- 控制的弹框 -->
    <AddControl ref="control" :Arr="Arr" />
    <!-- 控制的弹框 -->
    <AddIssue ref="control" :Arr="Arr" :taskData="taskData" :Order="taskData.Order" @getSetProductNumber="getTaskInfo" />
    <AddIssue
      ref="control"
      :Arr="Arr"
      :taskData="taskData"
      :Order="taskData.Order"
      @getSetProductNumber="getTaskInfo"
    />
  </div>
</template>
<script>
import {
  getTaskInfo,
  finishTask,
@@ -474,17 +559,54 @@
  },
  data() {
    return {
      activeName: 1,
      progress: 70, //进度
      passrate: 30, //合格率
      production: 25, //生产中
      finishNumber: 0,
      formatTime2:'',
      formatTime3:'',
      formatTime2: "",
      formatTime3: "",
      // 右侧完成
      finishShow: false,
      finishShow:{},
      workers:[],
      Tasks: [
        {
          Order: {
            amount: "",
            customer: "",
            deliverDate: "",
            endTime: "",
            orderAttr: [],
            orderId: "",
            parameter: "",
            productId: "",
            productName: "",
            startTime: "",
            unit: "",
          },
          Procedure: {
            id: 1,
            procedure: {
              deviceId: "",
              endTime: "",
              inputMaterials: [
                {
                  amount: 1,
                  materialId: 1,
                  materialName: 1,
                },
              ],
              outputMaterials: [],
              procedureId: "",
              procedureName: "",
              startTime: "",
              workHours: "",
            },
          },
      inputMaterials: [],
      outputMaterials: [],
      procedureList: [],
        },
      ],
      taskData: {
        Order: {
          amount: "",
@@ -532,8 +654,9 @@
      countDownMinute:0,
      Arr:[],
        // 记录定时器状态
        procInfoTimer:null,
       cutdownTimer: null
      procInfoTimer: [null, null],
      cutdownTimer: null,
      TaskCount:0,
    };
  },
  mounted() {
@@ -542,16 +665,26 @@
    //   this.passrate = this.getRandomNumber(1, 100);
    //   this.production = this.getRandomNumber(1, 100);
    // }, 3000);
    this.getDate3()
    this.getDate2()
    this.getDate3();
    this.getDate2();
    setInterval(()=>{
       this.getDate3()
       this.getDate2()
    },5000)
      this.getDate3();
      this.getDate2();
    }, 5000);
    this.getTaskInfo();
  },
  methods: {
    taskClick(){
      if(this.TaskCount>0){
        this.$refs.control.islook=true
      }else{
        this.$message.error('目前没有任务!')
      }
    },
    cutClick(val) {
      this.activeName = val;
      this.getTaskInfo();
    },
    reloadPage() {
      // window.location.reload();
      this.getTaskInfo();
@@ -559,20 +692,19 @@
    getcountdown(){
      countdown().then((res) => {
        if (res.code == 200) {
          this.showCountDown=res.data.ShowCountDown?res.data.ShowCountDown:false;
          this.countDownHour=res.data.CountDownHour?res.data.CountDownHour:0
          this.countDownMinute=res.data.CountDownMinute?res.data.CountDownMinute:0
          this.showCountDown = res.data.ShowCountDown
            ? res.data.ShowCountDown
            : false;
          this.countDownHour = res.data.CountDownHour
            ? res.data.CountDownHour
            : 0;
          this.countDownMinute = res.data.CountDownMinute
            ? res.data.CountDownMinute
            : 0;
        }
      });
    },
    getProgressInfo() {
      getProgress().then((res) => {
        if (res.code == 200) {
          this.finishNumber = res.data.finishNumber ? res.data.finishNumber : 0;
          
        }
      });
    },
    getDateObj(date, fmt) {
      if (/(y+)/.test(fmt)) {
        fmt = fmt.replace(
@@ -619,7 +751,8 @@
      let now =  new Date();
      this.formatTime2 = this.getDateObj(now, "yyyy年MM月dd日");
    },
    setInterCard(value, name) {
    setInterCard(value, name, i) {
      if (this.Tasks[i].Procedure.procedure[value]) {
      let height = 200;
      let num = 1;
      if (this.$refs[name]) {
@@ -627,7 +760,7 @@
        num = Math.floor(height / 80);
      }
      let inputMaterials = JSON.parse(
        JSON.stringify(this.taskData.Procedure.procedure[value])
          JSON.stringify(this.Tasks[i].Procedure.procedure[value])
      );
      let newDataList = [];
      let current = 0;
@@ -648,70 +781,82 @@
          }
        }
      }
      this[value] = [...newDataList];
      console.log(this.inputMaterials, "inputMaterials");
        this.Tasks[i][value] = [...newDataList];
      }
    },
    getTaskInfo() {
      this.taskData = {
      let object = {
        Order: {},
        Procedure: {
          procedure: { inputMaterials: [], outputMaterials: [], workers: [] },
        },
      };
      getTaskInfo().then((res) => {
        if (res.code == 200) {
          this.procedureList=[]
          this.taskData = res.data
            ? res.data
            : {
                Order: {},
                Procedure: {
                  procedure: {
                    inputMaterials: [],
                    outputMaterials: [],
                    workers: [],
                  },
                },
        procedureList: [],
              };
          this.taskData.Procedure.procedure.workers = this.taskData.Procedure
      this.Tasks = [];
      getTaskInfo({ page: 1, pageSize: this.activeName }).then((res) => {
        if (res.code == 200) {
          let arr=[]
          if(res.data.Tasks){
           arr.sort(function(a,b){
            return (a.Position - b.Position)
           })
          }
          this.Tasks = res.data.Tasks ? res.data.Tasks : [];
          this.TaskCount=res.data.TaskCount?res.data.TaskCount:0
          this.workers=res.data.workers?res.data.workers:[]
          if (this.Tasks.length == 0) {
            if (this.activeName == 1) {
              this.Tasks.push(object);
            } else {
              this.Tasks.push(object);
              this.Tasks.push(object);
            }
          }
          for (let i in this.Tasks) {
            this.Tasks[i].procedureList = [];
            this.Tasks[i].inputMaterials = [];
            this.Tasks[i].outputMaterials = [];
            this.Tasks[i].finishNumber = 0;
            this.finishShow['finishShow&'+i]=false
            this.Tasks[i].Procedure.procedure.workers = this.Tasks[i].Procedure
            .procedure.workers
            ? this.taskData.Procedure.procedure.workers
              ? this.Tasks[i].Procedure.procedure.workers
            : [];
          this.procedureList.push([
            this.Tasks[i].procedureList.push([
            {
              name: "工序",
              ...this.taskData.Procedure.procedure,
                ...this.Tasks[i].Procedure.procedure,
            },
          ]);
          if (this.taskData.Procedure.ID) {
            startTask({ id: this.taskData.Procedure.ID }).then((res) => {
            if (this.Tasks[i].Procedure.ID) {
              startTask({ id: this.Tasks[i].Procedure.ID }).then((res) => {
              if (res.code == 200) {
                // res.data.number
                this.procedureList[0].push({
                  this.Tasks[i].procedureList[0].push({
                  number: res.data.Number,
                  name: "工艺",
                });
                  if (i == 0) {
                this.Arr=res.data.Params?res.data.Params:[];
                    this.taskData=this.Tasks[i]
                  }
              }
            });
            this.getProgressInfo();
            if (!this.procInfoTimer) {
                this.procInfoTimer = setInterval(() => {
                  this.getProgressInfo();
              this.getProgressInfo(i);
              if (!this.procInfoTimer[i]) {
                this.procInfoTimer[i] = setInterval(() => {
                  this.getProgressInfo(i);
                }, 6000);
            }
          }
          console.log(this.procedureList, "===1111procedureList");
          // setTimeout(() => {
          this.setInterCard("inputMaterials", "cardBox1");
          // this.setInterCard('procedureList','cardBox2')
          this.setInterCard("outputMaterials", "cardBox3");
          // }, 5000);
            this.setInterCard("inputMaterials", "cardBox1&" + i, i);
            this.setInterCard("outputMaterials", "cardBox3&" + i, i);
        }
        if(res.code!=200||!this.taskData.Procedure.ID){
        }
        if (res.code != 200 || this.Tasks.length == 0) {
          this.getcountdown();
          // 控制重新请求getTaskInfo, 只开启一个定时器
         if (!this.cutdownTimer) {
@@ -719,6 +864,18 @@
                 this.getcountdown();
              }, 60000);
          } 
        }
      });
    },
    getProgressInfo(i) {
      getProgress({
        position: Number(i),
        procedureId: this.Tasks[i].Procedure.ID,
      }).then((res) => {
        if (res.code == 200) {
          this.Tasks[i].finishNumber = res.data.finishNumber
            ? res.data.finishNumber
            : 0;
        }
      });
    },
@@ -734,19 +891,18 @@
    },
    // 右侧控制
    controlClick() {
      if (Object.keys(this.taskData).length > 0 && this.taskData.Procedure.ID) {
      if (this.Tasks.length > 0) {
        this.$refs.control.islook = true;
      } else {
        this.$message.error("当前设备没有工序!");
      }
    },
    // 右侧完成
    finishClick() {
      if (Object.keys(this.taskData).length > 0 && this.taskData.Procedure.ID) {
        finishTask({ id: this.taskData.Procedure.ID }).then((res) => {
    finishClick(i, taskData) {
      if (Object.keys(taskData).length > 0 && taskData.Procedure.ID) {
        finishTask({ id: taskData.Procedure.ID }).then((res) => {
          if (res.code == 200) {
            this.finishShow = false;
            this.finishShow['finishShow&'+i] = false;
            this.getTaskInfo();
            this.$message.success("操作成功!");
          }
@@ -766,6 +922,78 @@
</script>
<style lang="scss">
.active-one {
  width: 100%;
  height: 100%;
  .statelist {
    height: 50px;
  }
  .content {
    height: 240px;
  }
  .bottom {
    height: calc(100% - 500px - 30px);
  }
}
.active-two {
  width: calc(50% - 10px);
  height: 100%;
  float: left;
  padding-left: 10px;
  &:nth-of-type(1) {
    padding-right: 10px;
    padding-left: 0px;
    box-sizing: border-box;
    border-right: 1px solid #eee;
  }
  .statelist {
    height: 60px;
  }
  .title-item > span {
    display: block;
    line-height: 20px;
  }
  .content {
    height: 370px;
    .content-top {
      height: calc(50% - 60px) !important;
      padding-top: 50px !important;
    }
    .el-descriptions__body {
      font-size: 16px !important;
    }
  }
  .bottom {
    height: calc(100% - 630px - 50px);
  }
  .bottom_list .bottom-title {
    font-size: 18px;
  }
}
.gongx{
  width:100%;
  height:30px;
  margin-bottom:10px;
   .el-steps--simple{
    background:transparent;
    padding:5px 10px;
  }
  .el-step__head.is-process{
    color: #00cc66 !important;
    border-color:#00cc66;
  }
  .el-step__title.is-process{
    color: #00cc66 !important;
  }
  .el-step__head.is-wait{
    color:#fff;
    border-color:#fff;
  }
  .el-step__title.is-wait{
    color:#fff;
  }
}
.set-title{
  cursor:pointer;
}
@@ -816,7 +1044,6 @@
       line-height: 20px;
      }
    }
  }
  .yuan {
    width: 40%;
@@ -852,7 +1079,10 @@
  background: #33ccff !important;
}
.color_green {
  background: #00cc66 !important;
  color: #00cc66 !important;
}
.color_red {
  background: red !important;
}
.color_organge {
  background: #f76c0f !important;
@@ -976,8 +1206,7 @@
    .statelist {
      width: 100%;
      margin: 0 auto;
      height: 50px;
      margin: 0 auto 20px;
      flex-wrap: nowrap;
      align-content: center;
      justify-content: space-around;
@@ -1000,8 +1229,7 @@
    }
    .content {
      width: 100%;
      height: 240px;
      margin: 30px 0px;
      margin: 0px 0px 30px;
      overflow: hidden;
      .content_left {
        width: 24%;
@@ -1051,7 +1279,7 @@
          width: 100%;
          margin: 10px 0px;
          // background: #233b9e;
          color: #fff;
          color: #ffff99;
          .el-descriptions--small {
            width: 100%;
            // margin: 50px 50px;
@@ -1065,7 +1293,6 @@
    .bottom {
      width: 100%;
      height: calc(100% - 500px);
      display: flex;
      flex-wrap: nowrap;
      align-content: center;