maintenance.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  1. <template>
  2. <section>
  3. <!--工具条-->
  4. <el-col :span="24" class="toolbar" style="padding-bottom: 0px;">
  5. <el-form :inline="true">
  6. <el-form-item>
  7. <el-button type="text" @click="backToDetection" icon="el-icon-back" class="back">返回</el-button>
  8. </el-form-item>
  9. <el-form-item class="divLine"></el-form-item>
  10. <el-form-item>{{mouldName}}</el-form-item>
  11. <el-form-item class="state" style="float: right;">当前状态:
  12. <span v-if="mouldState == 0">静止</span>
  13. <span v-else-if="mouldState == 1">运动</span>
  14. <span v-else-if="mouldState == 2">告警</span>
  15. <span v-else-if="mouldState == 3">待报废</span>
  16. <span v-else-if="mouldState == 4">已报废</span>
  17. </el-form-item>
  18. </el-form>
  19. </el-col>
  20. <el-col :span="24" :style="allDetail">
  21. <!-- 模具处理 -->
  22. <el-col :span="24" class="title">模具处理</el-col>
  23. <el-col :span="6" style="line-height: 32px; border-right: #c3c3c3 1px solid;">
  24. 当前保养状态:
  25. <span v-if="requirement" style="color: #ff4949;">需要</span>
  26. <span v-else style="color: black;">正常</span>
  27. <el-button size="small" type="primary" @click="showMaintenance" style="margin-left: 16px;"
  28. v-if="!(user.parentId == 1 && user.subordinateType == 1) && requirement">立即处理
  29. </el-button>
  30. </el-col>
  31. <el-col :span="8" :offset="2" style="line-height: 32px;">
  32. 云模盒告警:{{warningInfo}}
  33. <el-button size="small" type="primary" @click="warningFormVisible = true" style="margin-left: 16px;"
  34. v-if="!(user.parentId == 1 && user.subordinateType == 1) && stage != 0">立即处理
  35. </el-button>
  36. </el-col>
  37. <!-- 开合周期 -->
  38. <el-col :span="24" class="title">开合周期</el-col>
  39. <el-col :span="24">
  40. <el-col :span="11">
  41. <div style="padding:0 20px">
  42. <b style="font-size:20px;text-align:center;margin-bottom:20px;">开合次数表</b>
  43. <el-date-picker v-model="openNum" style="float:right;width:125px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" @change='changeOpen(1)' size="mini" :clearable="false" type="date" placeholder="选择日期"></el-date-picker>
  44. </div>
  45. <div id="myChart1" :style="{ height: '300px'}"></div>
  46. </el-col>
  47. <el-col :span="11" :offset="2">
  48. <div style="padding:0 20px">
  49. <b style="font-size:20px;text-align:center;margin-bottom:20px;">开合周期表</b>
  50. <el-date-picker v-model="openCycle" style="float:right;width:210px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" @change='changeOpen(2)' size="mini" :clearable="false" type="daterange" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  51. </div>
  52. <div id="myChart2" :style="{ height: '300px'}"></div>
  53. </el-col>
  54. </el-col>
  55. <!-- 操作记录 -->
  56. <el-col :span="24" class="title">处理记录</el-col>
  57. <!-- 列表 -->
  58. <el-table :data="records" highlight-current-row v-loading="listLoading" style="width: 100%;" :height="tableHeight">
  59. <el-table-column type="index" width="60"></el-table-column>
  60. <el-table-column prop="maintainUserName" label="保养人" width="100" sortable></el-table-column>
  61. <el-table-column prop="maintainType" label="保养方案" sortable>
  62. <template slot-scope="scope">
  63. <span v-if="scope.row.maintainType == 0">喷漆</span>
  64. <span v-else-if="scope.row.maintainType == 1">检查</span>
  65. <span v-else="scope.row.maintainType == 2">易损件</span>
  66. </template>
  67. </el-table-column>
  68. <el-table-column prop="fileName" label="保养照片" width="200" sortable>
  69. <template slot-scope="scope" v-if="scope.row.fileUrl != null">
  70. <!-- <a style="color: #409EFF; cursor: pointer; text-decoration: none;"
  71. :href="scope.row.fileUrl" :download="scope.row.fileName"> -->
  72. <!-- 大图加载 -->
  73. <div class="demo-image__preview">
  74. <el-image style="width: 100px; height: 100px"
  75. :src="scope.row.fileUrl" :preview-src-list="scope.row.fileUrl"></el-image>
  76. </div>
  77. <!-- </a> -->
  78. </template>
  79. </el-table-column>
  80. <el-table-column prop="indate" label="关闭时间" width="200" sortable></el-table-column>
  81. </el-table>
  82. <!--工具条-->
  83. <el-col :span="24" class="toolbar">
  84. <el-pagination
  85. @size-change="handleSizeChange"
  86. @current-change="handleCurrentChange"
  87. :page-sizes="[20 , 50 , 80 , 100 , 200]"
  88. :page-size="20"
  89. layout="total, sizes, prev, pager, next"
  90. :total="total"
  91. style="float:right;"
  92. ></el-pagination>
  93. </el-col>
  94. </el-col>
  95. <!--新增界面-->
  96. <el-dialog title="处理保养" v-if="maintenanceFormVisible" :visible.sync="maintenanceFormVisible" :close-on-click-modal="false" customClass="customWidth">
  97. <el-form :model="maintenanceForm" label-width="100px" :rules="formRules" ref="addForm" :inline="true" class="demo-form-inline">
  98. <el-form-item label="保养类型" prop="type">
  99. <!-- 保养类型选择 -->
  100. <el-select v-model="type.value" filterable placeholder="请选择保养类型" style="width:202px">
  101. <el-option v-for="item in type" :key="item.value" :label="item.label" :value="item.value"></el-option>
  102. </el-select>
  103. </el-form-item>
  104. <!-- 保养类型为1时 选择易损件ID -->
  105. <el-form-item v-if="type.value == 1" label="易损件" prop="vulnerable">
  106. <el-select v-model="vulnerable.value" clearable filterable placeholder="请选择易损件" style="width:202px">
  107. <el-option v-for="item in vulnerable" :key="item.value" :label="item.label" :value="item.value"></el-option>
  108. </el-select>
  109. </el-form-item>
  110. <!-- 保养类型为0时 选择保养动作 -->
  111. <el-form-item v-else label="动作" prop="action">
  112. <el-select v-model="action.value" filterable placeholder="请选择动作" style="width:202px">
  113. <el-option v-for="item in action" :key="item.value" :label="item.label" :value="item.value"></el-option>
  114. </el-select>
  115. </el-form-item>
  116. <el-form-item label="保养照片">
  117. <el-upload ref="upload" action="customize" :http-request="maintain" :limit="1" :auto-upload="false" :before-upload="beforeUpload">
  118. <el-button size="small" type="primary">上传</el-button>
  119. </el-upload>
  120. </el-form-item>
  121. </el-form>
  122. <div slot="footer" class="dialog-footer">
  123. <el-button @click.native="maintenanceFormVisible = false">取消</el-button>
  124. <el-button type="primary" @click.native="maintainConfirm" :loading="maintenanceLoading">立即处理</el-button>
  125. </div>
  126. </el-dialog>
  127. <!--告警处理界面-->
  128. <el-dialog title="告警处理" v-if="warningFormVisible" :visible.sync="warningFormVisible" :close-on-click-modal="false" customClass="customWidth">
  129. <el-form :model="warningForm" label-width="100px" :rules="formRules" ref="addForm" :inline="true" class="demo-form-inline">
  130. <el-form-item label="告警类型">
  131. <el-input placeholder="请选择告警类型" v-model="warningInfo" :disabled="true"></el-input>
  132. </el-form-item>
  133. <el-form-item label="云模盒设置" prop="action">
  134. <el-select v-model="warningForm.equipmentId" filterable placeholder="请选择云模盒" style="width:202px">
  135. <el-option v-for="item in equipments" :key="item.value" :label="item.label" :value="item.value"></el-option>
  136. </el-select>
  137. </el-form-item>
  138. </el-form>
  139. <div slot="footer" class="dialog-footer">
  140. <el-button @click.native="warningFormVisible = false">取消</el-button>
  141. <el-button type="primary" @click.native="warningArrangement" :loading="warningLoading">立即处理</el-button>
  142. </div>
  143. </el-dialog>
  144. </section>
  145. </template>
  146. <script>
  147. import util from "../../common/js/util";
  148. export default {
  149. data() {
  150. return {
  151. user: JSON.parse(sessionStorage.getItem("user")),
  152. detail: '',
  153. //本页模具ID
  154. mouldId: null,
  155. //模具名字
  156. mouldName: null,
  157. //模具状态
  158. mouldState: 0,
  159. //记录
  160. records: [],
  161. //警告信息
  162. warningInfo: "",
  163. stage: 0,
  164. //告警时需要更换的设备的列表
  165. equipments: [],
  166. //标题栏过滤器
  167. filters: {
  168. name: "",
  169. value: ""
  170. },
  171. listLoading: false,
  172. page: 1,
  173. size: 20,
  174. total: 0,
  175. tableHeight: 0,
  176. //活跃页面
  177. activePage: 0,
  178. formRules: {},
  179. //保养界面 种类
  180. type: [{ label: "动作", value: 0 }, { label: "易损件", value: 1 }],
  181. //保养界面 动作
  182. action: [{ label: "喷漆", value: 0 }, { label: "检查", value: 1 }],
  183. //易损件 假数据
  184. vulnerable: [],
  185. //是否需要保养 提示
  186. requirement: false,
  187. prompt: true,
  188. //保养详情界面显示
  189. maintenanceFormVisible: false,
  190. maintenanceLoading: false,
  191. //告警详情界面显示
  192. warningFormVisible: false,
  193. warningLoading: false,
  194. //保养详情界面数据
  195. maintenanceForm: {
  196. username: "",
  197. account: "",
  198. mobile: "",
  199. teamName: "",
  200. companyId: "",
  201. roleType: "",
  202. flag: 0
  203. },
  204. //告警处理截面数据
  205. warningForm: {
  206. mouldId: null,
  207. equipmentId: null
  208. },
  209. imageUrl: "",
  210. openNum: util.formatDate.format(new Date(), 'yyyy-MM-dd'),
  211. openCycle: [util.formatDate.format(new Date(), 'yyyy-MM-dd') , util.formatDate.format(new Date(), 'yyyy-MM-dd')],
  212. allDetail: {
  213. overflow: 'auto',
  214. padding: '0px 5px',
  215. height: 0
  216. },
  217. echarts1: {},
  218. echarts2: {},
  219. };
  220. },
  221. methods: {
  222. //分页
  223. handleCurrentChange(val) {
  224. this.page = val;
  225. this.getList();
  226. },
  227. handleSizeChange(val) {
  228. this.size = val;
  229. this.getList();
  230. },
  231. //标签页面切换时
  232. handleClick(tab, event) {
  233. this.activeTab = tab.name;
  234. //应该是取得对应的消息 目前还没写
  235. },
  236. selsChange: function(sels) {
  237. this.sels = sels;
  238. },
  239. backToDetection() {
  240. this.$router.go(-1);
  241. },
  242. //上传格式和大小限制
  243. beforeUpload(file) {
  244. const isJPG = file.type === "image/jpg";
  245. const isJPEG = file.type === "image/jpeg";
  246. const isPNG = file.type === "image/png";
  247. var rightType = isJPG || isPNG || isJPEG;
  248. const isLt5M = file.size / 1024 / 1024 < 5;
  249. if (!rightType) {
  250. this.$message.error("上传的图片只能是 JPG 或 PNG 格式!");
  251. }
  252. if (!isLt5M) {
  253. this.$message.error("上传的图片大小不能超过 5MB!");
  254. }
  255. return rightType && isLt5M;
  256. },
  257. //显示保养界面
  258. showMaintenance: function() {
  259. this.maintenanceFormVisible = true;
  260. },
  261. //获取记录
  262. getList() {
  263. this.listLoading = true;
  264. this.http.post( this.port.mold.moldMaintainList, {
  265. mouldId: this.mouldId,
  266. pageSize: this.size,
  267. pageNum: this.page
  268. },
  269. res => {
  270. this.listLoading = false;
  271. if (res.code == "ok") {
  272. this.records = res.data.list;
  273. this.total = res.data.total;
  274. } else {
  275. this.$message({
  276. message: res.msg,
  277. type: "error"
  278. });
  279. }
  280. },
  281. error => {
  282. this.listLoading = false;
  283. this.$message({
  284. message: error,
  285. type: "error"
  286. });
  287. });
  288. },
  289. //模具详情 获取模具名字用的
  290. getDetail() {
  291. this.http.post( this.port.mold.moldDetail, {
  292. id: this.mouldId
  293. },
  294. res => {
  295. if (res.code == "ok") {
  296. this.detail = res.data.vo;
  297. this.getEcharts1();
  298. this.getEcharts2();
  299. this.mouldName = res.data.vo.modelName;
  300. this.mouldState = res.data.vo.state;
  301. this.requirement = res.data.vo.isMaintain == 1;
  302. this.stage = res.data.vo.stage;
  303. if(this.stage == 0){
  304. this.warningInfo = "正常";
  305. }else if(this.stage == 1){
  306. this.warningInfo = "温度过高";
  307. }else if(this.stage == 2){
  308. this.warningInfo = "电量过低";
  309. }else if(this.stage == 3){
  310. this.warningInfo = "温度过高、电量过低";
  311. }else{
  312. this.warningInfo = "状况不明";
  313. }
  314. } else {
  315. this.$message({
  316. message: res.msg,
  317. type: "error"
  318. });
  319. }
  320. },
  321. error => {
  322. this.$message({
  323. message: error,
  324. type: "error"
  325. });
  326. });
  327. },
  328. //模具保养的按钮按下之后(关闭之后也要清理文件但是还没写)
  329. maintainConfirm() {
  330. if (this.$refs.upload.uploadFiles.length == 1) {
  331. this.$refs.upload.submit();
  332. } else {
  333. this.$message({
  334. message: "必须上传照片",
  335. type: "error"
  336. });
  337. }
  338. },
  339. //模具保养
  340. maintain(params) {
  341. if (this.type.value != null) {
  342. var fileObj = params.file;
  343. var form = new FormData();
  344. form.append("file", fileObj);
  345. form.append("mouldId", this.mouldId);
  346. form.append("maintainType", this.type.value);
  347. if (this.type.value == 0) {
  348. if (this.action.value == null) {
  349. return;
  350. }
  351. form.append("ways", this.action.value);
  352. } else {
  353. if (this.vulnerable.value == null) {
  354. return;
  355. }
  356. form.append("ways", this.vulnerable.value); //后面应该换成易损件的ID
  357. }
  358. this.http.uploadFile( this.port.mold.moldMaintain, form,
  359. res => {
  360. if (res.code == "ok") {
  361. this.$message({
  362. message: "保养完成",
  363. type: "success"
  364. });
  365. this.maintenanceFormVisible = false;
  366. this.requirement = false;
  367. this.$refs.upload.clearFiles();
  368. this.getList();
  369. } else {
  370. this.$message({
  371. message: res.msg,
  372. type: "error"
  373. });
  374. }
  375. },
  376. error => {
  377. this.listLoading = false;
  378. this.$message({
  379. message: error,
  380. type: "error"
  381. });
  382. });
  383. }
  384. },
  385. //获取告警时可以更换的设备列表
  386. getAlternativeEquipment() {
  387. this.http.post( this.port.mold.moldChangeRequirement, {
  388. mouldId: this.mouldId
  389. },
  390. res => {
  391. if (res.code == "ok") {
  392. this.equipments = [];
  393. res.data.forEach(item => {
  394. this.equipments.push({ label: item.equipmentNo, value: item.id });
  395. });
  396. } else {
  397. this.$message({
  398. message: res.msg,
  399. type: "error"
  400. });
  401. }
  402. },
  403. error => {
  404. this.$message({
  405. message: error,
  406. type: "error"
  407. });
  408. });
  409. },
  410. //告警处理
  411. warningArrangement() {
  412. if (this.warningForm.equipmentId == null) {
  413. this.$message({
  414. message: "请选择云模盒",
  415. type: "error"
  416. });
  417. } else {
  418. this.http.post( this.port.mold.moldChange, this.warningForm,
  419. res => {
  420. if (res.code == "ok") {
  421. this.$message({
  422. message: "告警处理完毕",
  423. type: "success"
  424. });
  425. this.warningFormVisible = false;
  426. } else {
  427. this.$message({
  428. message: res.msg,
  429. type: "error"
  430. });
  431. }
  432. },
  433. error => {
  434. this.$message({
  435. message: error,
  436. type: "error"
  437. });
  438. });
  439. }
  440. },
  441. // 绘制折线图
  442. getEcharts1() {
  443. this.http.post( this.port.base.openingAndClosingTimesChart, {
  444. equipmentNo: this.detail.equipmentNo,//"898602B5191730002945",
  445. time: this.openNum
  446. },
  447. res => {
  448. if (res.code == "ok") {
  449. var option = {
  450. tooltip: {
  451. trigger: 'axis'
  452. },
  453. // grid: {
  454. // left: '3%',
  455. // right: '4%',
  456. // bottom: '6%',
  457. // containLabel: true
  458. // },
  459. xAxis: {
  460. type: 'category',
  461. boundaryGap: false,
  462. data: []
  463. },
  464. yAxis: {
  465. name: '次数(‰)',
  466. type: 'value'
  467. },
  468. dataZoom: [{
  469. type: 'inside',
  470. start: 0,
  471. end: 10
  472. }, {
  473. start: 0,
  474. end: 10,
  475. handleIcon: 'M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4v1.3h1.3v-1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',
  476. handleSize: '80%',
  477. handleStyle: {
  478. color: '#fff',
  479. shadowBlur: 3,
  480. shadowColor: 'rgba(0, 0, 0, 0.6)',
  481. shadowOffsetX: 2,
  482. shadowOffsetY: 2
  483. }
  484. }],
  485. series: [
  486. {
  487. name:'开合次数',
  488. type:'line',
  489. data:[],
  490. itemStyle : {
  491. normal : {
  492. color: "#009ad6", //改变折线点的颜色
  493. lineStyle:{
  494. color: "#009ad6" //改变折线颜色
  495. }
  496. }
  497. }
  498. }
  499. ]
  500. },
  501. list = res.data,
  502. xData = [],
  503. sData = [];
  504. for(var i in list) {
  505. xData.push(i);
  506. sData.push(list[i])
  507. }
  508. option.xAxis.data = xData;
  509. option.series[0].data = sData;
  510. this.drawEchart(1,JSON.stringify(option))
  511. } else {
  512. this.$message({
  513. message: res.msg,
  514. type: "error"
  515. });
  516. }
  517. },
  518. error => {
  519. this.$message({
  520. message: error,
  521. type: "error"
  522. });
  523. });
  524. },
  525. getEcharts2() {
  526. this.http.post( this.port.base.openingAndClosingTimesChartCycle, {
  527. equipmentNo: this.detail.equipmentNo,//"898602B5191730002945",
  528. startTime: this.openCycle[0],
  529. endTime: this.openCycle[1]
  530. },
  531. res => {
  532. if (res.code == "ok") {
  533. var option = {
  534. tooltip: {
  535. trigger: 'axis'
  536. },
  537. grid: {
  538. left: '3%',
  539. right: '4%',
  540. bottom: '3%',
  541. containLabel: true
  542. },
  543. xAxis: {
  544. type: 'category',
  545. boundaryGap: false,
  546. data: []
  547. },
  548. yAxis: {
  549. name: '秒(s)',
  550. type: 'value'
  551. },
  552. series: [{
  553. name:'最大开盒周期',
  554. type:'line',
  555. stack: '开盒周期',
  556. data:[],
  557. itemStyle : {
  558. normal : {
  559. color: "#d93a49", //改变折线点的颜色
  560. lineStyle:{
  561. color: "#d93a49" //改变折线颜色
  562. }
  563. }
  564. }
  565. },
  566. {
  567. name:'最小开盒周期',
  568. type:'line',
  569. stack: '开盒周期',
  570. data:[],
  571. itemStyle : {
  572. normal : {
  573. color: "#009ad6", //改变折线点的颜色
  574. lineStyle:{
  575. color: "#009ad6" //改变折线颜色
  576. }
  577. }
  578. }
  579. },
  580. {
  581. name:'平均开盒周期',
  582. type:'line',
  583. stack: '开盒周期',
  584. data:[],
  585. itemStyle : {
  586. normal : {
  587. color: "#7fb80e", //改变折线点的颜色
  588. lineStyle:{
  589. color: "#7fb80e" //改变折线颜色
  590. }
  591. }
  592. }
  593. }]
  594. },
  595. list = res.data,
  596. xData = [],
  597. avg = [] , max = [] , min = [];
  598. for(var i in list) {
  599. xData.push(list[i].time);
  600. max.push(list[i].maxCycle/1000);
  601. min.push(list[i].minCycle/1000);
  602. avg.push(list[i].avgCycle/1000);
  603. }
  604. option.xAxis.data = xData;
  605. option.series[0].data = max;
  606. option.series[1].data = min;
  607. option.series[2].data = avg;
  608. this.drawEchart(2,JSON.stringify(option));
  609. } else {
  610. this.$message({
  611. message: res.msg,
  612. type: "error"
  613. });
  614. }
  615. },
  616. error => {
  617. this.$message({
  618. message: error,
  619. type: "error"
  620. });
  621. });
  622. },
  623. drawEchart(type,option) {
  624. let myChart = this.echarts.init(document.getElementById("myChart" + type));
  625. if(type == 1) {
  626. this.echarts1 = myChart;
  627. } else {
  628. this.echarts2 = myChart;
  629. }
  630. myChart.setOption(JSON.parse(option));
  631. },
  632. changeOpen(type) {
  633. if(type == 1) {
  634. this.getEcharts1();
  635. } else if(type == 2) {
  636. this.getEcharts2();
  637. }
  638. },
  639. },
  640. created() {
  641. let height = window.innerHeight;
  642. this.tableHeight = height - 370;
  643. this.allDetail.height = height - 170 + "px";
  644. const that = this;
  645. window.onresize = function temp() {
  646. that.allDetail.height = window.innerHeight - 170;
  647. };
  648. },
  649. mounted() {
  650. this.mouldId = this.$route.params.id; //传到当前页面的模具编号
  651. this.warningForm.mouldId = this.mouldId; //顺便把相关的告警中的模具ID赋值一下
  652. this.getList();
  653. this.getDetail();
  654. this.getAlternativeEquipment();
  655. const that = this
  656. window.onresize = function temp() {
  657. that.echarts1.resize();
  658. that.echarts2.resize();
  659. };
  660. }
  661. };
  662. </script>
  663. <style scoped>
  664. .title {
  665. padding-left: 10px;
  666. padding-bottom: 0px;
  667. margin: 20px 0;
  668. font-size: 16px;
  669. line-height: 24px;
  670. border-left: 1px #20a0ff solid;
  671. }
  672. .toolbar .el-form-item {
  673. font-size: 14px;
  674. vertical-align: middle;
  675. }
  676. .back {
  677. font-size: 16px;
  678. }
  679. .divLine {
  680. width: 2px;
  681. background: #c3c3c3;
  682. height: 100%;
  683. }
  684. .projectTitle {
  685. font-size: 18px;
  686. color: #333;
  687. }
  688. </style>