videoMonitoring.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. <template>
  2. <div class="max-big-box">
  3. <div v-if="newModifyPageType==1" class="big-max-box">
  4. <!--操作按钮-->
  5. <div class="top-box">
  6. <div class="input-box">
  7. <div class="dropdown-box" v-for="(item,index) in downList" :key="index">
  8. <p class="dropdown-left-title">{{item.name}}:</p>
  9. <div class="dropdown-right-box cursor_pointer"
  10. @mouseenter="dropdownClickOpen(index,'1')" @mouseleave="dropdownClickOpen(index,'2')">
  11. <p class="dropdown-text">{{downList[index].downText}}</p>
  12. <div class="dropdown-for-max" v-if="downList[index].downType">
  13. <p v-for="(item,indexTwo) in downList[index].list" :key="indexTwo"
  14. :class="{'color-A':downList[index].mouseColor == item}"
  15. @mouseenter="colorTypeEnter(index,item)" @mouseleave="colorTypeLeave(index)"
  16. @click="dropdownClick(index,item)">{{item}}</p>
  17. </div>
  18. </div>
  19. </div>
  20. <div class="button-box cursor_pointer" @click="clickQuery">
  21. <img src="~@/assets/images/icon_27.png">
  22. <p class="cursor_pointer">查询</p>
  23. </div>
  24. </div>
  25. <p class="add-button cursor_pointer" @click="clickPageType" v-if="userPermsData.indexOf('business:controlInfo:add')!=-1">新增摄像头</p>
  26. <p class="del-button cursor_pointer" @click="allDel" v-if="userPermsData.indexOf('business:controlInfo:remove')!=-1">批量删除</p>
  27. <p class="text-p">已选择{{tableNum}}条</p>
  28. </div>
  29. <!--表格-->
  30. <div class="table-box">
  31. <el-table
  32. ref="multipleTable"
  33. :row-key="getRowKey"
  34. :data="tableData"
  35. tooltip-effect="dark"
  36. style="width: 100%"
  37. @select-all="handleSelectionChange"
  38. @select="handleSelectionChange">
  39. <el-table-column
  40. :reserve-selection="true"
  41. type="selection"
  42. width="51">
  43. </el-table-column>
  44. <el-table-column
  45. type="index"
  46. :index="indexMethod"
  47. label="序号"
  48. width="80">
  49. </el-table-column>
  50. <el-table-column
  51. prop="repertoryName"
  52. label="仓库名称"
  53. width="135">
  54. </el-table-column>
  55. <el-table-column
  56. prop="cameraNum"
  57. label="摄像头数量"
  58. width="140">
  59. </el-table-column>
  60. <el-table-column
  61. prop="cameraCompany"
  62. label="摄像头厂家"
  63. width="132">
  64. </el-table-column>
  65. <el-table-column
  66. prop="cameraInfo"
  67. label="摄像头信息"
  68. width="282">
  69. </el-table-column>
  70. <el-table-column
  71. label="查看监控"
  72. width="135">
  73. <template slot-scope="scope">
  74. <p class="button-p" @click="goPage(scope.row)">查看</p>
  75. </template>
  76. </el-table-column>
  77. <el-table-column
  78. prop="remark"
  79. label="备注"
  80. width="254">
  81. </el-table-column>
  82. <el-table-column
  83. prop="createTime"
  84. label="创建时间"
  85. width="241">
  86. </el-table-column>
  87. <el-table-column
  88. label="操作"
  89. width="260">
  90. <template slot-scope="scope">
  91. <div class="table-min-button">
  92. <div class="cursor_pointer"
  93. v-if="userPermsData.indexOf('business:controlInfo:edit')!=-1"
  94. @click="handleEdit(scope.$index, scope.row)">
  95. <img src="~@/assets/images/icon_37.png">
  96. <p>编辑</p>
  97. </div>
  98. <div class="cursor_pointer"
  99. v-if="userPermsData.indexOf('business:controlInfo:remove')!=-1"
  100. @click="handleDelete(scope.$index, scope.row)">
  101. <img src="~@/assets/images/icon_38.png">
  102. <p>删除</p>
  103. </div>
  104. </div>
  105. </template>
  106. </el-table-column>
  107. </el-table>
  108. </div>
  109. <el-pagination
  110. background
  111. @current-change="handleCurrentChange"
  112. layout="prev, pager, next"
  113. :current-page="currentPage"
  114. :page-size="pagesize"
  115. :total="total">
  116. </el-pagination>
  117. </div>
  118. <new-modify
  119. v-if="newModifyPageType==2"
  120. :newModifyData="newModifyData"
  121. @newModifyLeftClick="newModifyLeftClick"
  122. @newModifyRightClick="newModifyRightClick"
  123. ></new-modify>
  124. <warehouse-monitoring-information
  125. :deviceIds="deviceIds"
  126. v-if="newModifyPageType==3">
  127. </warehouse-monitoring-information>
  128. <interactive-window
  129. v-if="windowType"
  130. :windowData="windowData"
  131. @windowLeftClick="windowLeftClick"
  132. @windowRightClick="windowRightClick"
  133. ></interactive-window>
  134. </div>
  135. </template>
  136. <script>
  137. import { deptListOrg,controlInfoList,controlInfoDel,businessControlInfo,businessControlInfoPut } from '@/api/userApi'
  138. export default {
  139. name: "videoMonitoring",//视频监控
  140. components:{
  141. newModify: resolve => {require(['@/components/newModify'], resolve)},//新建-修改组件
  142. interactiveWindow: resolve => {require(['@/components/interactiveWindow'], resolve)},//提示弹窗
  143. warehouseMonitoringInformation: resolve => {require(['@/components/combatReadinessFacilityStatusMonitoring/videoMonitoringView/warehouseMonitoringInformation'], resolve)},//仓库监控信息
  144. },
  145. data () {
  146. return {
  147. userPermsData:localStorage.getItem('userPerms'),
  148. //下拉框
  149. downList:[
  150. {
  151. name:"请选择类型",
  152. downType:false,
  153. downText:"全部",
  154. mouseColor:"",
  155. list:[],
  156. idType:[],
  157. },
  158. ],
  159. //表格限制
  160. pagesize: 8,
  161. currentPage:1,
  162. //列表总数
  163. total:0,
  164. /*数据*/
  165. tableData:[],
  166. //选中数据
  167. multipleSelection:[],
  168. // 弹窗状态
  169. windowType:false,
  170. //弹窗组件数据
  171. windowData:{},
  172. //勾选数量
  173. tableNum:0,
  174. // 新增-修改页面状态
  175. newModifyPageType:1,
  176. //新增-修改页面数据
  177. newModifyData:{},
  178. deviceIds:'',
  179. }
  180. },
  181. created(){
  182. },
  183. mounted() {
  184. this.deptListOrg();
  185. },
  186. methods: {
  187. //点击查询
  188. clickQuery(){
  189. this.currentPage = 1;
  190. this.getListData();
  191. },
  192. // 单独删除
  193. async clickDel(id){
  194. let ids = [];
  195. ids.push(id)
  196. const { data } = await controlInfoDel(ids);
  197. if(data.code==200){
  198. this.windowData = {
  199. type:"2",
  200. title:"提示",
  201. text:"操作成功",
  202. };
  203. this.windowType = !this.windowType;
  204. this.$refs.multipleTable.clearSelection();
  205. this.getListData();
  206. }
  207. },
  208. //批量删除
  209. async clickAllDel () {
  210. let self = this;
  211. let ids = [];
  212. for(let i=0;i<self.multipleSelection.length;i++){
  213. ids.push(self.multipleSelection[i].id)
  214. }
  215. const { data } = await controlInfoDel(ids);
  216. if(data.code==200){
  217. this.windowData = {
  218. type:"2",
  219. title:"提示",
  220. text:"操作成功",
  221. };
  222. this.windowType = !this.windowType;
  223. this.$refs.multipleTable.clearSelection();
  224. this.getListData();
  225. }
  226. },
  227. //接收单位-下拉列表
  228. async deptListOrg () {
  229. let self = this;
  230. const { data } = await deptListOrg();
  231. if(data.code==200){
  232. let list = [];
  233. let idType = [];
  234. list.push("全部");
  235. idType.push("");
  236. for(let i=0;i<data.data.length;i++){
  237. list.push(data.data[i].deptName);
  238. idType.push(data.data[i].deptId);
  239. }
  240. self.downList[0].list = list;
  241. self.downList[0].idType = idType;
  242. this.getListData();
  243. }
  244. },
  245. //数据列表
  246. async getListData () {
  247. let self = this;
  248. let obj={
  249. pageSize:self.pagesize,
  250. pageNum:self.currentPage,
  251. "params[beginTime]":self.playTime=="请选择时间"?"":self.playTime,
  252. "params[endTime]":self.endTime=="请选择时间"?"":self.endTime,
  253. };
  254. for(let i=0;i<self.downList[0].list.length;i++){
  255. if(self.downList[0].downText==self.downList[0].list[i]){
  256. obj.repertoryId = self.downList[0].idType[i];
  257. }
  258. }
  259. const { data } = await controlInfoList(obj);
  260. if(data.code==200){
  261. this.tableData = data.rows;
  262. this.total = data.total;
  263. this.tableNum = 0;
  264. this.$forceUpdate();
  265. }
  266. },
  267. //视频查看頁面
  268. goPage(row){
  269. console.log('row',row);
  270. this.$set(this,'deviceIds',row.cameraInfo);
  271. this.newModifyPageType = 3;
  272. },
  273. //供子方法调用
  274. outPage(){
  275. this.newModifyPageType = 1;
  276. },
  277. //下拉菜单进入悬浮状态
  278. colorTypeEnter(type,item){
  279. this.downList[type].mouseColor=item;
  280. },
  281. //下拉菜单离开悬浮状态
  282. colorTypeLeave(type){
  283. this.downList[type].mouseColor = "";
  284. },
  285. // 下拉菜单选项悬浮事件
  286. dropdownClickOpen(type,state){
  287. if(state==1){
  288. this.downList[type].downType = true
  289. }else if(state==2){
  290. this.downList[type].downType = false
  291. }
  292. },
  293. // 下拉菜单点击事件
  294. dropdownClick(type,item){
  295. this.downList[type].downText = item;
  296. this.downList[type].downType = false;
  297. },
  298. //新建组件状态切换
  299. clickPageType(){
  300. let self = this;
  301. let list = JSON.parse(JSON.stringify(self.downList[0].list));
  302. list.splice(0,1);
  303. let newData = {
  304. title:"新增摄像头",
  305. list:[
  306. {
  307. name:"仓库名称",
  308. value:"",
  309. list:list,
  310. },
  311. {
  312. name:"摄像头数量",
  313. value:"1",
  314. elNumber:true,
  315. },
  316. {
  317. name:"摄像头厂家",
  318. value:"",
  319. list:["大华","海康"],
  320. },
  321. {
  322. name:"摄像头Id",
  323. value:"",
  324. },
  325. {
  326. name:"备注",
  327. value:"",
  328. textArea:true,
  329. },
  330. ]
  331. };
  332. this.newModifyData = {...newData};
  333. this.newModifyPageType = 2;
  334. },
  335. // 批量删除
  336. allDel(){
  337. if(this.multipleSelection[0]){
  338. this.windowData = {
  339. type:"1",
  340. title:"提示",
  341. text:"确定要批量删除这些信息吗?",
  342. leftButton:"取消",
  343. rightButton:"确定",
  344. cType:"1",
  345. };
  346. this.windowType = !this.windowType;
  347. }else{
  348. this.windowData = {
  349. type:"3",
  350. title:"提示",
  351. text:"您没有勾选任何数据!",
  352. leftButton:"取消",
  353. rightButton:"确定",
  354. };
  355. this.windowType = !this.windowType;
  356. }
  357. },
  358. //表格绑定ID
  359. getRowKey (row) {
  360. return row.id
  361. },
  362. indexMethod(index) {
  363. return (this.currentPage-1)*this.pagesize+index+1;
  364. },
  365. //翻页
  366. handleCurrentChange(val) {
  367. console.log(`当前页: `,val);
  368. this.currentPage = val;
  369. this.getListData();
  370. },
  371. //编辑
  372. handleEdit(index, row) {
  373. let self = this;
  374. let list = JSON.parse(JSON.stringify(self.downList[0].list));
  375. list.splice(0,1);
  376. let newData = {
  377. title:"编辑",
  378. id:row.id,
  379. list:[
  380. {
  381. name:"仓库名称",
  382. value:row.repertoryName,
  383. list:list,
  384. },
  385. {
  386. name:"摄像头数量",
  387. value:row.cameraNum,
  388. elNumber:true,
  389. },
  390. {
  391. name:"摄像头厂家",
  392. value:row.cameraCompany,
  393. list:["大华","海康"],
  394. },
  395. {
  396. name:"摄像头Id",
  397. value:row.cameraInfo,
  398. },
  399. {
  400. name:"备注",
  401. value:row.remark,
  402. textArea:true,
  403. },
  404. ]
  405. };
  406. this.newModifyData = {...newData};
  407. this.newModifyPageType = 2;
  408. },
  409. // 删除
  410. handleDelete(index, row) {
  411. this.windowData = {
  412. type:"1",
  413. title:"提示",
  414. text:"确定要删除这条信息吗?",
  415. leftButton:"取消",
  416. rightButton:"确定",
  417. cType:"2",
  418. newId:row.id
  419. };
  420. this.windowType = !this.windowType;
  421. },
  422. //勾选
  423. handleSelectionChange(val) {
  424. this.multipleSelection = val;
  425. this.tableNum = this.multipleSelection.length
  426. },
  427. //弹窗组件左侧按钮方法-对应取消方法
  428. windowLeftClick(){
  429. this.windowType = !this.windowType;
  430. },
  431. //弹窗组件右侧按钮方法
  432. windowRightClick(data){
  433. this.windowType = false;
  434. if(data.cType==1){
  435. this.clickAllDel();
  436. }else if(data.cType==2){
  437. this.clickDel(data.newId);
  438. }
  439. },
  440. //新增-修改组件内左侧按钮事件
  441. newModifyLeftClick(){
  442. this.newModifyPageType = 1;
  443. },
  444. //新增-修改组件内左侧按钮事件
  445. newModifyRightClick(data){
  446. if(data.id){
  447. this.businessControlInfoPut(data);
  448. }else {
  449. this.businessControlInfo(data);
  450. }
  451. },
  452. //新增
  453. async businessControlInfo (obj) {
  454. let self = this;
  455. console.log("右键传值",obj);
  456. let newObj = {};
  457. for(let i=0;i<obj.list.length;i++){
  458. if(obj.list[i].name == '仓库名称'){
  459. for(let o=0;o<self.downList[0].list.length;o++){
  460. if(self.downList[0].list[o] == obj.list[i].value){
  461. newObj.repertoryName = self.downList[0].list[o];
  462. newObj.repertoryId = self.downList[0].idType[o];
  463. }
  464. }
  465. }else if(obj.list[i].name == '摄像头数量'){
  466. newObj.cameraNum = obj.list[i].value;
  467. }else if(obj.list[i].name == '摄像头厂家'){
  468. newObj.cameraCompany = obj.list[i].value;
  469. }else if(obj.list[i].name == '摄像头Id'){
  470. newObj.cameraInfo = obj.list[i].value;
  471. }else if(obj.list[i].name == '备注'){
  472. newObj.remark = obj.list[i].value;
  473. }
  474. }
  475. const { data } = await businessControlInfo(newObj);
  476. if(data.code==200){
  477. this.newModifyPageType = 1;
  478. this.windowData = {
  479. type:"2",
  480. title:"提示",
  481. text:"操作成功",
  482. leftButton:"取消",
  483. rightButton:"确定",
  484. };
  485. this.windowType = !this.windowType;
  486. this.getListData();
  487. }
  488. },
  489. //编辑
  490. async businessControlInfoPut (obj) {
  491. let self = this;
  492. let newObj = {
  493. id:obj.id
  494. };
  495. for(let i=0;i<obj.list.length;i++){
  496. if(obj.list[i].name == '仓库名称'){
  497. for(let o=0;o<self.downList[0].list.length;o++){
  498. if(self.downList[0].list[o] == obj.list[i].value){
  499. newObj.repertoryName = self.downList[0].list[o];
  500. newObj.repertoryId = self.downList[0].idType[o];
  501. }
  502. }
  503. }else if(obj.list[i].name == '摄像头数量'){
  504. newObj.cameraNum = obj.list[i].value;
  505. }else if(obj.list[i].name == '摄像头厂家'){
  506. newObj.cameraCompany = obj.list[i].value;
  507. }else if(obj.list[i].name == '摄像头Id'){
  508. newObj.cameraInfo = obj.list[i].value;
  509. }else if(obj.list[i].name == '备注'){
  510. newObj.remark = obj.list[i].value;
  511. }
  512. }
  513. const { data } = await businessControlInfoPut(newObj);
  514. if(data.code==200){
  515. this.newModifyPageType = 1;
  516. this.windowData = {
  517. type:"2",
  518. title:"提示",
  519. text:"操作成功",
  520. leftButton:"取消",
  521. rightButton:"确定",
  522. };
  523. this.windowType = !this.windowType;
  524. this.getListData();
  525. }
  526. },
  527. }
  528. }
  529. </script>
  530. <style scoped lang="stylus">
  531. .max-big-box
  532. display flex
  533. flex-direction column
  534. flex:1;
  535. .big-max-box
  536. display flex
  537. flex-direction column
  538. flex:1;
  539. //搜索与操作按钮
  540. .top-box
  541. height:30px;
  542. display flex
  543. .input-box
  544. width:1370px;
  545. display flex
  546. margin-left:105px;
  547. .search-input
  548. height:28px;
  549. width:290px;
  550. border:1px solid $theme;
  551. padding-left:10px;
  552. .dropdown-box
  553. display flex
  554. color:$color_ff;
  555. z-index:1;
  556. margin-left:30px;
  557. .dropdown-left-title
  558. line-height:30px;
  559. font-size:$font_14;
  560. .dropdown-right-box
  561. font-size:$font_12;
  562. .dropdown-text
  563. width:160px;
  564. height:30px;
  565. line-height:30px;
  566. background:url("~@/assets/images/button_15.png");
  567. background-size:100% 100%;
  568. .dropdown-for-max
  569. background:$backColor1;
  570. border-bottom-right-radius 4px
  571. border-bottom-left-radius 4px
  572. p
  573. width:160px;
  574. height:30px;
  575. line-height:30px;
  576. .color-A
  577. /*
  578. background:$backColor2 !important;
  579. color:$color_ff !important;
  580. */
  581. color:$theme !important;
  582. border-bottom-right-radius 4px
  583. border-bottom-left-radius 4px
  584. .time-box
  585. width:400px;
  586. display flex
  587. margin-left:20px;
  588. p
  589. color:$color_ff;
  590. p:nth-child(1)
  591. width:120px;
  592. line-height:30px;
  593. font-size:$font_14;
  594. p:nth-child(2)
  595. width:120px;
  596. height:30px;
  597. background url("~@/assets/images/button_08.png")
  598. background-size 100% 100%
  599. font-size:$font_12;
  600. line-height:30px;
  601. p:nth-child(3)
  602. width:27px;
  603. line-height:30px;
  604. p:nth-child(4)
  605. width:120px;
  606. height:30px;
  607. background url("~@/assets/images/button_08.png")
  608. background-size 100% 100%
  609. line-height:30px;
  610. font-size:$font_12;
  611. .button-box
  612. margin-left:32px;
  613. display flex
  614. height:30px;
  615. width:80px;
  616. background:url("~@/assets/images/button_03.png");
  617. background-size:100% 100%;
  618. img
  619. display block
  620. height:20px;
  621. width:20px;
  622. margin:5px 6px 0 13px;
  623. p
  624. line-height:30px;
  625. font-size:$font_12;
  626. color:$color_ff;
  627. .add-button
  628. width:110px;
  629. height:30px;
  630. background:url("~@/assets/images/button_06_1.png");
  631. background-size:100% 100%;
  632. line-height:30px
  633. color:$color_ff;
  634. font-size:$font_12;
  635. padding-left:40px;
  636. text-align left
  637. .del-button
  638. margin-left:30px;
  639. width:110px;
  640. height:30px;
  641. background:url("~@/assets/images/button_05_1.png");
  642. background-size:100% 100%;
  643. line-height:30px
  644. color:$color_ff;
  645. font-size:$font_12;
  646. padding-left:41px;
  647. text-align left
  648. .text-p
  649. width:90px;
  650. color:$color_ff;
  651. line-height:30px
  652. font-size:$font_12;
  653. //表格
  654. .table-box
  655. width:1710px !important;
  656. margin:20px 105px;
  657. text-align center !important
  658. .button-p
  659. width:60px;
  660. height:20px;
  661. margin:0 auto;
  662. color:#333;
  663. background:url("~@/assets/images/button_03.png");
  664. background-size 100% 100%
  665. border-radius:4px;
  666. cursor:pointer
  667. .colorA
  668. color:$theme3;
  669. .colorB
  670. color:$theme2;
  671. .colorC
  672. color:$theme1;
  673. .table-min-button
  674. width:140px;
  675. margin:0 auto;
  676. display flex
  677. div:nth-child(1)
  678. height:20px;
  679. width:60px;
  680. font-size:$font_14;
  681. color:$theme;
  682. display flex
  683. margin-right:11px;
  684. img
  685. display block
  686. height:20px;
  687. width:20px;
  688. margin-right:4px;
  689. div:nth-child(2)
  690. height:20px;
  691. width:70px;
  692. font-size:$font_14;
  693. color:$theme3;
  694. display flex
  695. img
  696. display block
  697. height:20px;
  698. width:20px;
  699. margin-right:4px;
  700. //时间日历
  701. .time-max-big-box
  702. z-index 6
  703. height:100%;
  704. width:100%;
  705. position: absolute
  706. top:0;
  707. left:0;
  708. background:rgba(0,0,0,0.3);
  709. .time-big-box
  710. z-index 6
  711. height:750px;
  712. width:660px;
  713. position: absolute
  714. top:50%;
  715. left:50%;
  716. transform :translate3d(-50%,-50%,0)
  717. margin:auto;
  718. background $color_ff
  719. border-radius:8px;
  720. border:4px solid $theme;
  721. .button-box
  722. display flex
  723. color:$color_ff;
  724. width:260px;
  725. margin:20px auto;
  726. p:nth-child(1)
  727. height:30px;
  728. line-height:30px;
  729. width:120px;
  730. background:url("~@/assets/images/button_10.png");
  731. background-size 100% 100%
  732. p:nth-child(2)
  733. margin-left:20px;
  734. height:30px;
  735. line-height:30px;
  736. width:120px;
  737. background:url("~@/assets/images/button_05.png");
  738. background-size 100% 100%
  739. p:nth-child(3)
  740. margin-left:20px;
  741. height:30px;
  742. line-height:30px;
  743. width:120px;
  744. background:url("~@/assets/images/button_02.png");
  745. background-size 100% 100%
  746. //修改日期选择样式
  747. /*
  748. .el-calendar
  749. background $color_ff
  750. */
  751. //修改table表格样式
  752. .el-table
  753. background rgba(6,177,240,0.2)
  754. .el-table /deep/ tr
  755. .el-table /deep/ th
  756. background rgba(6,177,240,0)
  757. .el-table::before
  758. height:0;
  759. .el-table /deep/ .cell
  760. max-height:46px;
  761. display: -webkit-box;
  762. -webkit-box-orient: vertical;
  763. -webkit-line-clamp: 2;
  764. overflow: hidden;
  765. .el-table /deep/ td
  766. .el-table /deep/ th.is-leaf
  767. border-bottom:0!important;
  768. .el-table /deep/ .el-checkbox__inner
  769. //background rgba(6,177,240,0.2)
  770. border 1px solid #216f93 !important
  771. .el-table /deep/ thead
  772. color:$color_ff;
  773. .el-table
  774. color:$color_a1
  775. .el-table /deep/ th
  776. text-align-last: center;
  777. .el-table /deep/ td
  778. text-align-last: center;
  779. .el-table /deep/ tbody tr:hover > td
  780. background rgba(6,177,240,0.2)
  781. color:$theme;
  782. .el-table /deep/ .el-checkbox
  783. width:14px;
  784. margin:0 auto;
  785. display block
  786. //修改动作条样式
  787. .el-pagination.is-background /deep/ .btn-next
  788. .el-pagination.is-background /deep/ .btn-prev
  789. .el-pagination.is-background /deep/ .el-pager li
  790. background:url("~@/assets/images/button_13.png");
  791. color:$color_ff;
  792. .el-pagination.is-background /deep/ .el-pager li:not(.disabled).active
  793. background:url("~@/assets/images/button_14.png");
  794. color:$color_ff;
  795. .colorA
  796. color :$theme;
  797. ::-webkit-input-placeholder
  798. color: $border_1;
  799. ::-moz-placeholder
  800. color: $border_1;
  801. ::-ms-input-placeholder
  802. color: $border_1;
  803. </style>