index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. <!--定时排风-->
  2. <template>
  3. <div class="app-container timingExhaustAir">
  4. <div class="timingExhaustAirPage" v-if="pageType == 1">
  5. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch">
  6. <el-form-item label="关键字" prop="searchValue" >
  7. <el-input
  8. maxlength="10"
  9. v-model="queryParams.searchValue"
  10. placeholder="任务名称/实验室/房间号"
  11. clearable
  12. />
  13. </el-form-item>
  14. <el-form-item label="学院" prop="deptId">
  15. <el-select v-model="queryParams.deptId" placeholder="请选择" clearable >
  16. <el-option
  17. v-for="dict in deptOptions"
  18. :key="dict.deptId"
  19. :label="dict.deptName"
  20. :value="dict.deptId"
  21. ></el-option>
  22. </el-select>
  23. </el-form-item>
  24. <el-form-item>
  25. <p class="inquire-button-one" @click="handleQuery">查询</p>
  26. <p class="reset-button-one" @click="resetQuery">重置</p>
  27. </el-form-item>
  28. <el-form-item style="float: right;margin-right:0;">
  29. <el-col :span="1.5">
  30. <p class="inquire-button-one" style="width:80px;margin:0;"
  31. @click="goPage(2)"
  32. ><i class="el-icon-plus"></i> 新增</p>
  33. </el-col>
  34. </el-form-item>
  35. </el-form>
  36. <el-table v-loading="loading" border :data="dataList">
  37. <el-table-column label="序号" width="100" align="left" type="index"/>
  38. <el-table-column label="定时排风任务" align="left" prop="taskName" show-overflow-tooltip/>
  39. <el-table-column label="是否启用" align="left" prop="exhaustType" width="200" show-overflow-tooltip>
  40. <template slot-scope="scope">
  41. <el-switch
  42. class="switch"
  43. @click.native="changeIsNeedCaptcha(scope.row)"
  44. v-model="scope.row.exhaustType"
  45. :active-value="1"
  46. :inactive-value="0"
  47. active-color="#0183FA"
  48. inactive-color="#E0E0E0"
  49. active-text="启用"
  50. inactive-text="停用"
  51. disabled
  52. ></el-switch>
  53. </template>
  54. </el-table-column>
  55. <el-table-column label="编辑时间" align="left" prop="updateTime" width="300" show-overflow-tooltip/>
  56. <el-table-column label="操作人" align="left" prop="updateBy" width="200" show-overflow-tooltip/>
  57. <el-table-column label="操作" align="left" prop="createTime" width="300" show-overflow-tooltip>
  58. <template slot-scope="scope">
  59. <div class="button-box">
  60. <p class="table-min-button" style="margin-left:20px!important;" @click="correlationButton(scope.row.id)">关联实验室</p>
  61. <p class="table-min-button" style="margin-left:20px!important;" @click="goPage(3,scope.row.id)">编辑</p>
  62. <p class="table-min-button" style="margin-left:20px!important;" @click="delExhaust(scope.row.id)">删除</p>
  63. </div>
  64. </template>
  65. </el-table-column>
  66. </el-table>
  67. <pagination
  68. v-show="total>0"
  69. :total="total"
  70. :page.sync="queryParams.pageNum"
  71. :limit.sync="queryParams.pageSize"
  72. @pagination="getList"
  73. />
  74. </div>
  75. <add-page v-if="pageType == 2" :propsData="propsData"></add-page>
  76. <el-dialog title="关联实验室" :visible.sync="exhaustPageType" v-if="exhaustPageType"
  77. width="1470px" append-to-body id="exhaust-correlation-dialog-box">
  78. <p class="exhaust-title-p">任务执行时间</p>
  79. <div class="time-max-box">
  80. <div class="for-time-box" v-for="(item,index) in correlationData.exhaustPeriodVoList" :key="index">
  81. <p class="for-title-p">{{item.beginTime}}~{{item.endTime}}</p>
  82. <div class="for-time-min-box" :class="item.timedType==3?'for-time-min-box-one':''">
  83. <p class="for-time-text-one" v-show="item.timedType==1">周一至周五</p>
  84. <p class="for-time-text-one" v-show="item.timedType==2">周一至周日</p>
  85. <p class="for-time-text-tow" v-show="item.timedType==3" v-for="(minItem,minIndex) in item.customTime" :key="minIndex">{{minItem==1?'周一':(minItem==2?'周二':(minItem==3?'周三':(minItem==4?'周四':(minItem==5?'周五':(minItem==6?'周六':minItem==7?'周末':'')))))}}{{minIndex!=item.customTime.length-1?'、':''}}</p>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="exhaust-sub-max-box">
  90. <div class="left-sub-max-box">
  91. <div class="left-sub-max-title">
  92. <p>待选实验室</p>
  93. <p>{{leftIds.length?leftIds.length:0}}/{{leftTotal}}</p>
  94. </div>
  95. <div class="left-form-max-box">
  96. <el-form :model="leftQueryParams" :inline="true" v-show="leftShowSearch"
  97. ref="queryForm" style="display: flex">
  98. <el-form-item label="关键字" prop="searchValue" >
  99. <el-input
  100. style="width:150px;"
  101. maxlength="10"
  102. v-model="leftQueryParams.searchValue"
  103. placeholder="实验室"
  104. clearable
  105. />
  106. </el-form-item>
  107. <el-form-item label="学院" prop="deptId">
  108. <el-select v-model="leftQueryParams.deptId" placeholder="请选择" clearable
  109. style="width:130px;">
  110. <el-option
  111. v-for="dict in deptOptions"
  112. :key="dict.deptId"
  113. :label="dict.deptName"
  114. :value="dict.deptId"
  115. ></el-option>
  116. </el-select>
  117. </el-form-item>
  118. <el-form-item label="安全分类" prop="typeId">
  119. <el-select v-model="leftQueryParams.typeId" placeholder="请选择" clearable
  120. style="width:100px;">
  121. <el-option
  122. v-for="dict in typeList"
  123. :key="dict.id"
  124. :label="dict.typeName"
  125. :value="dict.id"
  126. ></el-option>
  127. </el-select>
  128. </el-form-item>
  129. <el-form-item label="安全分级" prop="level">
  130. <el-select v-model="leftQueryParams.level" placeholder="请选择" clearable
  131. style="width:100px;">
  132. <el-option
  133. v-for="dict in levelList"
  134. :key="dict.id"
  135. :label="dict.classifiedName"
  136. :value="dict.id"
  137. ></el-option>
  138. </el-select>
  139. </el-form-item>
  140. <el-form-item>
  141. <p class="inquire-button-one" @click="leftHandleQuery">查询</p>
  142. <p class="reset-button-one" @click="leftResetQuery">重置</p>
  143. </el-form-item>
  144. </el-form>
  145. <el-table ref="leftTable" v-loading="leftLoading" border :data="leftDataList" @selection-change="handleSelectionChangeLeft" :row-key="getRowKeysLeft">
  146. <el-table-column type="selection" width="59" align="left" :reserve-selection="true"/>
  147. <el-table-column label="实验室" align="left" prop="name" show-overflow-tooltip/>
  148. <el-table-column label="安全分类" align="left" prop="createBy" width="100" show-overflow-tooltip/>
  149. <el-table-column label="安全分级" align="left" prop="createTime" width="100" show-overflow-tooltip/>
  150. <el-table-column label="实验室位置" align="left" prop="createTime" width="358" show-overflow-tooltip/>
  151. </el-table>
  152. <pagination
  153. v-show="leftTotal>0"
  154. :total="leftTotal"
  155. :page.sync="leftQueryParams.pageNum"
  156. :limit.sync="leftQueryParams.pageSize"
  157. @pagination="getLabExhaustNoJoinSub"
  158. />
  159. <p style="height:20px;" v-show="leftTotal==0"></p>
  160. </div>
  161. </div>
  162. <div class="button-sub-max-box">
  163. <img class="top-img" v-show="!rightIds.length" src="@/assets/ZDimages/icon_wxz_zuo.png">
  164. <img class="top-img" v-show="rightIds.length" @click="rightDataMoveLeft" src="@/assets/ZDimages/icon_yxz_zuo.png">
  165. <img class="bottom-img" v-show="!leftIds.length" src="@/assets/ZDimages/icon_wxz_yuo.png">
  166. <img class="bottom-img" v-show="leftIds.length" @click="leftDataMoveRight" src="@/assets/ZDimages/icon_yxz_yuo.png">
  167. </div>
  168. <div class="right-sub-max-box">
  169. <div class="right-sub-max-title">
  170. <p>已选择实验室</p>
  171. <p>{{rightIds.length?rightIds.length:0}}/{{rightTotal}}</p>
  172. </div>
  173. <div class="right-form-max-box">
  174. <el-form :model="rightQueryParams" :inline="true" v-show="rightShowSearch"
  175. ref="queryForm" style="display: flex">
  176. <el-form-item label="" prop="searchValue" >
  177. <el-input placeholder="请输入实验室名称" style="width:288px;" v-model="rightQueryParams.searchValue" class="input-with-select">
  178. <el-button slot="append" icon="el-icon-search" @click="rightResetQuery"
  179. style="background:rgba(0,0,0,0);"></el-button>
  180. </el-input>
  181. </el-form-item>
  182. </el-form>
  183. <el-table ref="rightTable" v-loading="rightLoading" border :data="rightDataList" @selection-change="handleSelectionChangeRight" :row-key="getRowKeysRight">
  184. <el-table-column type="selection" width="80" align="left" :reserve-selection="true"/>
  185. <el-table-column label="实验室" align="left" prop="name" show-overflow-tooltip/>
  186. </el-table>
  187. </div>
  188. </div>
  189. </div>
  190. <div slot="footer" class="dialog-footer">
  191. <div class="exhaust-button-box">
  192. <p></p>
  193. <p @click="cancel">取消</p>
  194. <p @click="joinsubButton">确定</p>
  195. <p></p>
  196. </div>
  197. </div>
  198. </el-dialog>
  199. </div>
  200. </template>
  201. <script>
  202. import { delExhaust,exhaustList,operateExhaust,getExhaustInfo,getLabExhaustNoJoinSub,getLabExhaustJoinSub,joinsub } from "@/api/laboratory/exhaustTime";
  203. import { listClassifiedAll } from "@/api/laboratory/classified";
  204. import { listClasstypeAll } from "@/api/laboratory/classtype";
  205. import { listDepartments } from "@/api/system/dept";
  206. import addPage from "./addPage.vue";
  207. export default {
  208. name: 'index',
  209. components: {
  210. addPage
  211. },
  212. data() {
  213. return {
  214. //关联实验室也页面状态
  215. exhaustPageType:false,
  216. //页面状态
  217. pageType:1,
  218. showSearch:true,
  219. loading:false,
  220. total:0,
  221. queryParams:{
  222. pageNum: 1,
  223. pageSize:20,
  224. searchValue:"",
  225. deptId:"",
  226. },
  227. //列表数据
  228. dataList:[],
  229. //学院数据
  230. deptOptions:[],
  231. //分类数据
  232. typeList:[],
  233. //分级数据
  234. levelList:[],
  235. propsData:{},
  236. //关联数据
  237. correlationData:{},
  238. //左列表数据
  239. leftShowSearch:true,
  240. leftLoading:false,
  241. leftTotal:0,
  242. leftQueryParams:{
  243. pageNum: 1,
  244. pageSize:10,
  245. searchValue:"",
  246. deptId:"",
  247. typeId:"",
  248. level:"",
  249. },
  250. leftDataList:[],
  251. leftSelectedNum:0,
  252. leftIds:[],
  253. leftMultiple:true,
  254. //右列表数据
  255. rightShowSearch:true,
  256. rightLoading:false,
  257. rightQueryParams:{
  258. searchValue:"",
  259. },
  260. rightDataList:[],
  261. rightTotal:0,
  262. rightSelectedNum:0,
  263. rightIds:[],
  264. rightMultiple:true,
  265. //删减减数据
  266. addList:[],
  267. reduceList:[],
  268. //原始数据
  269. primitiveList:[]
  270. }
  271. },
  272. created() {
  273. this.listDepartments();
  274. this.getListClassifiedAll();
  275. this.getListClasstypeAll();
  276. this.getList();
  277. },
  278. mounted() {
  279. },
  280. methods: {
  281. //关联数据提交
  282. joinsubButton(){
  283. let self = this;
  284. let obj = {
  285. delSubIds:[],
  286. joinsubList:[],
  287. };
  288. for(let i=0;i<self.rightDataList.length;i++){
  289. let minObj = {
  290. timedExhaustId:self.correlationData.id,
  291. subId:self.rightDataList[i].id
  292. }
  293. obj.joinsubList.push(minObj)
  294. }
  295. for(let o=0;o<self.primitiveList.length;o++){
  296. let num = 0;
  297. for(let i=0;i<self.rightDataList.length;i++){
  298. if (self.rightDataList[i].id == self.primitiveList[o].id){
  299. num ++
  300. }
  301. }
  302. if(num == 0){
  303. obj.delSubIds.push(self.primitiveList[o].id)
  304. }
  305. }
  306. joinsub(obj).then( response => {
  307. self.msgSuccess(response.msg);
  308. self.$set(self,'exhaustPageType',false);
  309. });
  310. },
  311. //左侧数据移动到右
  312. leftDataMoveRight(){
  313. let self = this;
  314. if(this.leftIds[0]){
  315. for(let i=0;i<self.leftIds.length;i++){
  316. let num = 0;
  317. for(let o=0;o<self.addList.length;o++){
  318. if(self.leftIds[i] == self.addList[o]){
  319. num++
  320. }
  321. }
  322. if(num == 0){
  323. self.addList.push(self.leftIds[i])
  324. }
  325. for(let o=0;o<self.reduceList.length;o++){
  326. if(self.leftIds[i] == self.reduceList[o]){
  327. self.reduceList.splice(o,1);
  328. }
  329. }
  330. for(let x=0;x<self.leftDataList.length;x++){
  331. if(self.leftIds[i] == self.leftDataList[x].id){
  332. let age = 0;
  333. for(let o=0;o<self.rightDataList.length;o++){
  334. if(self.leftIds[i] == self.rightDataList[o].id){
  335. age++
  336. }
  337. }
  338. if(age == 0){
  339. self.rightDataList.push(self.leftDataList[x])
  340. }
  341. }
  342. }
  343. }
  344. }
  345. this.$refs.leftTable.clearSelection()
  346. this.getLabExhaustNoJoinSub();
  347. },
  348. //右侧数据移动到左
  349. rightDataMoveLeft(){
  350. let self = this;
  351. if(this.rightIds[0]){
  352. for(let i=0;i<self.rightIds.length;i++){
  353. let num = 0;
  354. for(let o=0;o<self.reduceList.length;o++){
  355. if(self.rightIds[i] == self.reduceList[o]){
  356. num++
  357. }
  358. }
  359. if(num == 0){
  360. self.reduceList.push(self.rightIds[i])
  361. }
  362. for(let o=0;o<self.rightDataList.length;o++){
  363. if(self.rightDataList[o].id == self.rightIds[i]){
  364. self.rightDataList.splice(o,1);
  365. }
  366. }
  367. for(let o=0;o<self.addList.length;o++){
  368. if(self.rightIds[i] == self.addList[o]){
  369. self.addList.splice(o,1);
  370. }
  371. }
  372. }
  373. this.$refs.rightTable.clearSelection()
  374. this.getLabExhaustNoJoinSub();
  375. }
  376. },
  377. //关联实验室
  378. correlationButton(id){
  379. this.$set(this,'leftSelectedNum',0);
  380. this.$set(this,'leftIds',[]);
  381. this.$set(this,'leftMultiple',true);
  382. this.$set(this,'rightSelectedNum',0);
  383. this.$set(this,'rightIds',[]);
  384. this.$set(this,'rightMultiple',true);
  385. this.$set(this,'addList',[]);
  386. this.$set(this,'reduceList',[]);
  387. this.$set(this,'primitiveList',[]);
  388. this.leftResetQuery();
  389. this.rightResetQuery();
  390. getExhaustInfo(id).then( response => {
  391. for(let i=0;i<response.data.exhaustPeriodVoList.length;i++){
  392. if(response.data.exhaustPeriodVoList[i].customTime){
  393. response.data.exhaustPeriodVoList[i].customTime = response.data.exhaustPeriodVoList[i].customTime.split(',');
  394. }
  395. }
  396. this.$set(this,'correlationData',response.data);
  397. this.$set(this,'exhaustPageType',true);
  398. });
  399. },
  400. //页面状态切换
  401. goPage(type,id){
  402. let self = this;
  403. if(this.pageType != type){
  404. if(type == 1){
  405. this.pageType = 1;
  406. }else if(type == 2){
  407. this.$set(this,'propsData',{});
  408. this.pageType = 2;
  409. }else if(type == 3){
  410. getExhaustInfo(id).then( response => {
  411. for(let i=0;i<response.data.exhaustPeriodVoList.length;i++){
  412. if(response.data.exhaustPeriodVoList[i].customTime){
  413. response.data.exhaustPeriodVoList[i].customTime = response.data.exhaustPeriodVoList[i].customTime.split(',');
  414. }
  415. }
  416. this.$set(this,'propsData',response.data);
  417. this.pageType = 2;
  418. });
  419. }else if(type == 4){
  420. this.pageType = 1;
  421. this.resetQuery();
  422. this.$confirm('是否立即关联实验室,也可以稍后在列表中关联实验室.', "警告", {
  423. confirmButtonText: "关联",
  424. cancelButtonText: "取消",
  425. type: "warning"
  426. }).then(function() {
  427. self.correlationButton(id);
  428. }).then(() => {
  429. }).catch(() => {});
  430. }
  431. }
  432. },
  433. //删除任务
  434. delExhaust(id){
  435. let self = this;
  436. this.$confirm('确认删除该任务?', "警告", {
  437. confirmButtonText: "确认",
  438. cancelButtonText: "取消",
  439. type: "warning"
  440. }).then(function() {
  441. delExhaust(id).then( response => {
  442. self.msgSuccess(response.msg);
  443. self.getList();
  444. })
  445. }).then(() => {
  446. }).catch(() => {});
  447. },
  448. //启用停用方法
  449. changeIsNeedCaptcha(item){
  450. let self = this;
  451. let obj = {
  452. id:item.id,
  453. exhaustType:item.exhaustType==1?0:1
  454. }
  455. this.$confirm('确认'+item.exhaustType==1?'停用?':'启用?', "警告", {
  456. confirmButtonText: "确定",
  457. cancelButtonText: "取消",
  458. type: "warning"
  459. }).then(function() {
  460. operateExhaust(obj).then( response => {
  461. self.msgSuccess(response.msg);
  462. self.getList();
  463. });
  464. }).then(() => {
  465. }).catch(() => {});
  466. },
  467. //获取列表数据
  468. getList(){
  469. this.loading = true;
  470. exhaustList(this.queryParams).then( response => {
  471. this.dataList = response.rows;
  472. this.total = response.total;
  473. this.loading = false;
  474. });
  475. },
  476. //查询
  477. handleQuery(){
  478. this.queryParams.pageNum = 1;
  479. this.getList();
  480. },
  481. //重置
  482. resetQuery(){
  483. this.$set(this,'queryParams',{
  484. pageNum:1,
  485. pageSize:20,
  486. searchValue:"",
  487. deptId:"",
  488. });
  489. this.handleQuery();
  490. },
  491. //左查询
  492. leftHandleQuery(){
  493. this.leftQueryParams.pageNum = 1;
  494. this.getLabExhaustNoJoinSub();
  495. },
  496. //左重置
  497. leftResetQuery(){
  498. this.$set(this,'leftQueryParams',{
  499. pageNum: 1,
  500. pageSize:10,
  501. searchValue:"",
  502. deptId:"",
  503. typeId:"",
  504. level:"",
  505. });
  506. this.leftHandleQuery();
  507. },
  508. //左获取列表数据
  509. getLabExhaustNoJoinSub(){
  510. this.leftLoading = true;
  511. let obj = JSON.parse(JSON.stringify(this.leftQueryParams));
  512. obj.noSubIds = JSON.parse(JSON.stringify(this.addList));
  513. obj.subIds = JSON.parse(JSON.stringify(this.reduceList));
  514. getLabExhaustNoJoinSub(obj).then( response => {
  515. this.leftDataList = response.rows;
  516. this.leftTotal = response.total;
  517. this.$set(this,'rightTotal',this.rightDataList.length);
  518. this.leftLoading = false;
  519. this.$forceUpdate();
  520. });
  521. },
  522. //左多选框选中数据
  523. handleSelectionChangeLeft(selection) {
  524. this.leftSelectedNum = selection.length;
  525. this.leftIds = selection.map(item => item.id)
  526. this.leftMultiple = !selection.length
  527. },
  528. getRowKeysLeft(row) {
  529. return row.id
  530. },
  531. //右侧获取列表数据
  532. rightResetQuery(){
  533. this.rightLoading = true;
  534. getLabExhaustJoinSub(this.rightQueryParams).then( response => {
  535. this.rightDataList = JSON.parse(JSON.stringify(response.data.list));
  536. this.primitiveList = JSON.parse(JSON.stringify(response.data.list));
  537. this.rightTotal = response.data.total;
  538. this.rightLoading = false;
  539. });
  540. },
  541. //右多选框选中数据
  542. handleSelectionChangeRight(selection) {
  543. this.rightSelectedNum = selection.length;
  544. this.rightIds = selection.map(item => item.id)
  545. this.rightMultiple = !selection.length
  546. },
  547. getRowKeysRight(row) {
  548. return row.id
  549. },
  550. //关闭窗口
  551. cancel(){
  552. this.$set(this,'exhaustPageType',false);
  553. },
  554. //获取学院列表
  555. listDepartments(){
  556. listDepartments().then(response => {
  557. this.deptOptions = response.data;
  558. });
  559. },
  560. //获取分级
  561. getListClassifiedAll(){
  562. listClassifiedAll().then(response=>{
  563. if(response.code==200){
  564. this.levelList = response.data
  565. }
  566. })
  567. },
  568. //获取分类
  569. getListClasstypeAll(){
  570. listClasstypeAll().then(response=>{
  571. if(response.code==200){
  572. this.typeList = response.data;
  573. }
  574. });
  575. },
  576. }
  577. }
  578. </script>
  579. <style scoped lang="scss">
  580. .timingExhaustAir{
  581. flex:1;
  582. display: flex;
  583. flex-direction: column;
  584. .timingExhaustAirPage{
  585. flex:1;
  586. display: flex;
  587. flex-direction: column;
  588. padding:20px 20px 10px 20px!important;
  589. .button-box{
  590. display: flex;
  591. }
  592. }
  593. }
  594. </style>
  595. <style lang="scss">
  596. #exhaust-correlation-dialog-box{
  597. .el-form-item{
  598. display: flex;
  599. margin-right:10px;
  600. }
  601. .el-dialog__body{
  602. padding:0 55px;
  603. }
  604. .el-input-group__append{
  605. border:none;
  606. background: #fff!important;
  607. }
  608. .el-input-group--append .el-input__inner{
  609. border:none;
  610. }
  611. .el-form-item__content .el-input-group{
  612. border:1px solid #DCDFE6;
  613. border-radius:4px;
  614. }
  615. .exhaust-title-p{
  616. color:#0045AF;
  617. font-size:18px;
  618. line-height:60px;
  619. }
  620. .time-max-box{
  621. display: flex;
  622. .for-time-box{
  623. width:170px;
  624. height:140px;
  625. margin-right:11px;
  626. .for-title-p{
  627. width:170px;
  628. height:40px;
  629. line-height:40px;
  630. color:#0183FA;
  631. background: rgba(1,131,250,0.1);
  632. text-align: center;
  633. font-size:16px;
  634. }
  635. .for-time-min-box{
  636. width:170px;
  637. height:100px;
  638. color:#333;
  639. border: 1px solid #E0E0E0;
  640. font-size:14px;
  641. .for-time-text-one{
  642. text-align: center;
  643. line-height:100px;
  644. }
  645. .for-time-text-tow{
  646. display: inline-block;
  647. line-height:25px;
  648. }
  649. }
  650. .for-time-min-box-one{
  651. padding:10px 15px 10px 25px;
  652. }
  653. }
  654. }
  655. .exhaust-sub-max-box{
  656. margin:41px 0 28px;
  657. padding-top:41px;
  658. border-top:1px dashed #D8D8D8;
  659. display: flex;
  660. .left-sub-max-box{
  661. width:957px;
  662. height:440px;
  663. .el-table__empty-text{
  664. font-size:0;
  665. color:rgba(0,0,0,0);
  666. width:100%;
  667. height:100%;
  668. background: url("../../../../assets/ZDimages/null-data-1.png") no-repeat 50% 50%;
  669. background-size: 18%;
  670. }
  671. .left-sub-max-title{
  672. display: flex;
  673. background: rgba(1,131,250,0.1);
  674. color:#0183FA;
  675. line-height:40px;
  676. font-size:16px;
  677. p:nth-child(1){
  678. margin-left:29px;
  679. flex:1;
  680. }
  681. p:nth-child(2){
  682. margin-right:22px;
  683. }
  684. }
  685. .left-form-max-box{
  686. display: flex;
  687. flex-direction: column;
  688. width:957px;
  689. height:400px;
  690. border:1px solid #E0E0E0;
  691. padding:20px 20px 0 20px;
  692. }
  693. }
  694. .button-sub-max-box{
  695. width:74px;
  696. .top-img{
  697. cursor: pointer;
  698. display: block;
  699. margin-top:201px;
  700. width:30px;
  701. height:30px;
  702. margin-left:22px;
  703. }
  704. .bottom-img{
  705. cursor: pointer;
  706. display: block;
  707. margin-top:14px;
  708. width:30px;
  709. height:30px;
  710. margin-left:22px;
  711. }
  712. }
  713. .right-sub-max-box{
  714. height:440px;
  715. width:330px;
  716. .el-table__empty-text{
  717. font-size:0;
  718. color:rgba(0,0,0,0);
  719. width:100%;
  720. height:100%;
  721. background: url("../../../../assets/ZDimages/null-data-1.png") no-repeat 50% 50%;
  722. background-size: 55%;
  723. }
  724. .right-sub-max-title{
  725. display: flex;
  726. background: rgba(1,131,250,0.1);
  727. color:#0183FA;
  728. line-height:40px;
  729. font-size:16px;
  730. p:nth-child(1){
  731. margin-left:29px;
  732. flex:1;
  733. }
  734. p:nth-child(2){
  735. margin-right:22px;
  736. }
  737. }
  738. .right-form-max-box{
  739. display: flex;
  740. flex-direction: column;
  741. width:330px;
  742. height:400px;
  743. border:1px solid #E0E0E0;
  744. padding:20px;
  745. }
  746. }
  747. }
  748. .exhaust-button-box{
  749. display: flex;
  750. p:nth-child(1){
  751. flex:1;
  752. }
  753. p:nth-child(2){
  754. width:70px;
  755. height:30px;
  756. line-height:30px;
  757. margin-right:13px;
  758. font-size:12px;
  759. color:#999999;
  760. background: #E0E0E0;
  761. border-radius:6px;
  762. text-align: center;
  763. cursor: pointer;
  764. }
  765. p:nth-child(3){
  766. width:70px;
  767. height:30px;
  768. line-height:30px;
  769. font-size:12px;
  770. color:#ffffff;
  771. background: #0045AF;
  772. border-radius:6px;
  773. text-align: center;
  774. cursor: pointer;
  775. }
  776. p:nth-child(4){
  777. flex:1;
  778. }
  779. }
  780. }
  781. </style>