kouFenTj.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. <template>
  2. <div>
  3. <div class="diy_tip_bg">
  4. <el-alert class="diy-tip" type="success" description>
  5. <p><b>统计每个责任人在定期检查和临时检查的表现情况,可结合分值、不合格项、奖扣分及次数等数据对责任人进行考核评定</b></p>
  6. </el-alert>
  7. </div>
  8. <div class="manager_statistics_box boxMinHeight">
  9. <div class="flex-box flex-d-center">
  10. <el-form :inline="true">
  11. <el-form-item label="时间">
  12. <el-date-picker v-model="time" :clearable='false' type="daterange" value-format="yyyy-MM-dd"
  13. range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  14. </el-form-item>
  15. <el-form-item>
  16. <div class="flex-box-ce">
  17. <el-select v-model="selectTypeIndex" placeholder="请选择" style="width: 80px;margin-right: 6px;">
  18. <el-option label="部门" :value="1"></el-option>
  19. <el-option label="岗位" :value="2"></el-option>
  20. </el-select>
  21. <el-cascader v-if="selectTypeIndex==1" style="width: 250px;"v-model="dept_id" :options="dept_tree" :props="{checkStrictly: true}" ref="dept"
  22. filterable change-on-select clearable placeholder="全公司">
  23. </el-cascader>
  24. <div class="border flex-box-ce" v-if="selectTypeIndex==2">
  25. <div class="flex-1" v-if="selectPost.length == 0">请选择岗位</div>
  26. <div v-else style="width: 180px;" class="font-flex-word">
  27. <span v-for="(item, index) in selectPost" :key="index">
  28. <i v-if="index != 0">,</i>{{ item.name }}
  29. </span>
  30. </div>
  31. <span v-if="selectPost.length >0" class="blue">{{selectPost.length}}个</span>
  32. <i class="el-icon-arrow-down icon-right"></i>
  33. <div @click="openPost" class="inputDc"></div>
  34. </div>
  35. </div>
  36. </el-form-item>
  37. <el-form-item>
  38. <el-input maxlength="10" placeholder="人员搜索" prefix-icon="el-icon-search" v-model="keyword"
  39. style="width: 200px;" clearable></el-input>
  40. </el-form-item>
  41. </el-form>
  42. <!-- <el-button style="margin-bottom: 16px;" type="primary" @click="submitForm()">导出报表</el-button> -->
  43. <!-- 导出报表 -->
  44. <downloadexcel
  45. v-if="list.length>0"
  46. :fetch="returnArr"
  47. name="责任人分值统计.xls"
  48. :fields="json_fields"
  49. >
  50. <el-button type="primary" plain size="medium" style="margin-right: 10px;">导出报表</el-button>
  51. </downloadexcel>
  52. </div>
  53. <el-table :data="list" style="width: 100%;cursor: pointer;" v-loading="loading" @sort-change="sortChange">
  54. <el-table-column label="责任人" prop="name" width="120" fixed></el-table-column>
  55. <el-table-column label="所属部门" prop="dept" width="120" fixed>
  56. <template slot-scope="scope">
  57. <Tooltip :preHtml="scope.row.dept">
  58. <div class="font-flex-word" style="width: 100px;">{{scope.row.dept}}</div>
  59. </Tooltip>
  60. </template>
  61. </el-table-column>
  62. <el-table-column label="时间" width="120" fixed>
  63. <template slot-scope="scope">
  64. <div class="font-flex-word" style="width: 100px;">{{scope.row.time}}</div>
  65. </template>
  66. </el-table-column>
  67. <el-table-column label="定期检查" align="center" >
  68. <el-table-column prop="c_item" label="负责次数" width="120" sortable="custom"></el-table-column>
  69. <el-table-column prop="total_base_point" label="应得总分" width="120" sortable="custom"></el-table-column>
  70. <el-table-column prop="total_point" label="实际得分" width="120" sortable="custom"></el-table-column>
  71. <el-table-column prop="total_reduce_point" label="被扣分" width="120" sortable="custom"></el-table-column>
  72. <el-table-column prop="c_bug_item" label="不合格(次)" width="140" sortable="custom"></el-table-column>
  73. <el-table-column prop="c_bug_focus_item" label="重点不合格(次)" width="160" sortable="custom"></el-table-column>
  74. </el-table-column>
  75. <el-table-column label="临时检查" align="center">
  76. <el-table-column prop="sm_point" label="得分(分)" width="120" sortable="custom"></el-table-column>
  77. <el-table-column prop="sm_reward_point" label="奖分(分)" width="120" sortable="custom"></el-table-column>
  78. <el-table-column prop="sm_reward_count" label="奖分次数" width="120" sortable="custom"></el-table-column>
  79. <el-table-column prop="sm_deduce_point" label="扣分(分)" width="120" sortable="custom"></el-table-column>
  80. <el-table-column prop="sm_deduce_count" label="扣分次数" width="120" sortable="custom"></el-table-column>
  81. </el-table-column>
  82. <template slot="empty">
  83. <NoData></NoData>
  84. </template>
  85. </el-table>
  86. <!-- <center style="padding: 20px 0;">
  87. <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
  88. :current-page="page" :page-sizes="[10, 20, 50, 100]" layout="total, sizes, prev, pager, next"
  89. :page-size="page_size" :total="total"></el-pagination>
  90. </center> -->
  91. </div>
  92. <!-- 选择岗位 -->
  93. <el-dialog title="选择岗位" :visible.sync="isShowRule" class="fromNormGain_sty" top="12vh" width="1000px" append-to-body>
  94. <div class="flex-box">
  95. <div class="flex-2 kh-left">
  96. <ul class="scroll-bar ul" v-if="tabs.length > 0" style="height: 440px;overflow: auto;">
  97. <li class="flex-box-ce li" v-for="(item, index) in tabs" :key="index" :class="[tabItem.id == item.id ? 'isActiveLi' : '']" @click="activeLi(item, index)">
  98. <div class="index-name font-flex-word"><i class="el-icon-s-help" v-if="item.id==-1"></i> {{ item.name }}</div>
  99. </li>
  100. </ul>
  101. </div>
  102. <div class="flex-4">
  103. <el-input style="width: 200px;" size="small" maxlength="100" show-word-limit v-model="postName" clearable placeholder="搜索"/>
  104. <div class="table-box">
  105. <el-table :data="postList" stripe fit v-loading="table_loading" style="cursor: pointer;" @row-click="clickdatail">
  106. <el-table-column width="40" fixed>
  107. <template slot-scope="scope">
  108. <div style="width: 40px;text-align: center;position: relative;">
  109. <el-checkbox v-model="scope.row.checked"></el-checkbox>
  110. <div style="width: 40px;height: 40px;position: absolute;top: -10px;z-index: 999;"></div>
  111. </div>
  112. </template>
  113. </el-table-column>
  114. <el-table-column label="岗位名称" prop="name"></el-table-column>
  115. <el-table-column label="岗位职责" prop="desc_1" show-overflow-tooltip></el-table-column>
  116. <template slot="empty">
  117. <NoData></NoData>
  118. </template>
  119. </el-table>
  120. <center>
  121. <el-pagination
  122. small
  123. :page-size="post_page_size"
  124. :current-page="post_page"
  125. layout="prev, pager, next"
  126. @size-change="handleSizeChange2"
  127. @current-change="handleCurrentChange2"
  128. :total="post_total">
  129. </el-pagination>
  130. </center>
  131. </div>
  132. </div>
  133. <div>
  134. <div class="mainEl" style="border-left: 1px solid #f1f1f1;width: 240px;padding: 10px;">
  135. <div class="mainHead flex-box flex-d-center" v-if="selectItem.length > 0">
  136. <span>已选择{{ selectItem.length }}个</span>
  137. <span @click="Empty">清空</span>
  138. </div>
  139. <div class="mainTag">
  140. <el-tag v-for="(item, index) in selectItem" :key="index" closable :disable-transitions="true" @close="TagClose(item, index)">{{ item.name }}</el-tag>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. <span slot="footer">
  146. <el-button @click="isShowRule=false">取 消</el-button>
  147. <el-button type="primary" @click="ruleConfirm">确认</el-button>
  148. </span>
  149. </el-dialog>
  150. </div>
  151. </template>
  152. <script>
  153. import { _debounce} from '@/utils/auth';
  154. import Tooltip from '@/components/Tooltip'; //鼠标悬浮显示文字
  155. import downloadexcel from "vue-json-excel";
  156. var bool = true; // 五秒执行一次变量
  157. export default {
  158. components:{Tooltip,downloadexcel},
  159. data() {
  160. return {
  161. loading: false,
  162. dept_tree: [],
  163. page: 1,
  164. total: 0,
  165. page_size: 10,
  166. dept_id: 0,
  167. formData: {dept_ids: 0,},
  168. time: [this.$moment().startOf('month').format('YYYY-MM-DD'), this.$moment().endOf('month').format('YYYY-MM-DD')],
  169. list: [],
  170. listAll:[],
  171. keyword: '',
  172. json_fields:{
  173. '姓名':'name',
  174. '部门':'dept',
  175. '时间':'time',
  176. '负责次数':'c_item',
  177. '应得总分':'total_base_point',
  178. '实际得分':'total_point',
  179. '被扣分':'total_reduce_point',
  180. '不合格(次)':'c_bug_item',
  181. '重点不合格(次)':'c_bug_focus_item',
  182. '得分(分)':'sm_point',
  183. '奖分(分)':'sm_reward_point',
  184. '奖分次数':'sm_reward_count',
  185. '扣分(分)':'sm_deduce_point',
  186. '扣分次数':'sm_deduce_count',
  187. },
  188. post_total: 0,
  189. post_page: 1,
  190. post_page_size: 7,
  191. tabItem:{name:'销售'},
  192. tabs:[{name:'全部分类',id:-1}],
  193. table_loading:false,
  194. postList:[],
  195. isShowRule:false,
  196. selectItem:[],
  197. selectPost:[],
  198. selectId:'',
  199. postName:'',
  200. selectTypeIndex:1,
  201. };
  202. },
  203. watch: {
  204. keyword: {
  205. deep: true,
  206. handler: _debounce(function(val) {
  207. this.page = 1;
  208. this.get_list();
  209. })
  210. },
  211. time(val) {
  212. this.page = 1;
  213. this.get_list();
  214. },
  215. selectTypeIndex(val) {
  216. this.page = 1;
  217. this.get_list();
  218. },
  219. dept_id(val) {
  220. this.page = 1;
  221. if (val.length > 0) {
  222. let dept_id=val[val.length-1];
  223. let dept_list=this.$getCache('dept_tree_pin')[dept_id];
  224. let ids=[];
  225. this.getDepts([dept_list],ids);
  226. this.formData.dept_ids = ids;
  227. } else {
  228. this.formData.dept_ids = 0;
  229. }
  230. this.$nextTick(() => {
  231. this.$refs.dept.dropDownVisible = false;
  232. this.get_list();
  233. });
  234. },
  235. isShowTable(val) {
  236. if (!val) {
  237. this.get_list();
  238. }
  239. },
  240. postName: {
  241. deep: true,
  242. handler: _debounce(function(val) {
  243. this.post_page=1;
  244. this.post_page_size=7;
  245. this.getTableData();
  246. })
  247. },
  248. },
  249. methods: {
  250. openPost(){
  251. this.tabItem = JSON.parse(JSON.stringify(this.tabs[0]));
  252. this.selectItem=JSON.parse(JSON.stringify(this.selectPost));
  253. this.isShowRule = true
  254. },
  255. //清除右侧tag
  256. TagClose(item, index) {
  257. this.selectItem.splice(index, 1);
  258. },
  259. Empty() {
  260. this.selectItem = [];
  261. this.postList.forEach(item=>{
  262. item.checked=false
  263. })
  264. },
  265. clickdatail(item){
  266. item.checked=!item.checked;
  267. if(item.checked){
  268. this.selectItem.push(item);
  269. }else{
  270. this.selectItem.forEach((e, index) => {
  271. if (e.id == item.id) {
  272. this.selectItem.splice(index, 1);
  273. }
  274. });
  275. }
  276. },
  277. activeLi(item, index) {
  278. this.tabItem = JSON.parse(JSON.stringify(item));
  279. this.post_page=1;
  280. this.post_page_size=7;
  281. this.getTableData();
  282. },
  283. getPostType() {
  284. this.tabs=[{name:'全部分类',id:-1}];
  285. this.$axiosUser('get', '/api/pro/post/post_cate_list').then(res => {
  286. this.tabs.push(...res.data.data)
  287. this.tabItem = JSON.parse(JSON.stringify(this.tabs[0]));
  288. this.getTableData();
  289. })
  290. },
  291. getTableData() {
  292. this.table_loading=true;
  293. let data={
  294. page:this.post_page,
  295. page_size:this.post_page_size,
  296. cate_id:this.tabItem.id,
  297. name:this.postName
  298. }
  299. this.$axiosUser('get', '/api/pro/post/cate_post_list',data).then(res => {
  300. let list=res.data.data.list;
  301. let selectItem=this.selectItem;
  302. list.forEach(item=>{
  303. item.checked=false
  304. for (var i in selectItem) {
  305. if (selectItem[i].id == item.id) {
  306. item.checked = true;
  307. }
  308. }
  309. })
  310. this.postList=list;
  311. this.post_total=res.data.data.total
  312. }).finally(()=>{
  313. this.table_loading=false;
  314. });
  315. },
  316. ruleConfirm(){
  317. this.selectPost=JSON.parse(JSON.stringify(this.selectItem));
  318. this.isShowRule = false;
  319. this.get_list();
  320. },
  321. returnArr(){
  322. return this.list;
  323. },
  324. sortChange(e){
  325. let {order,prop}=e;
  326. if(order===null){
  327. this.list=this.listAll;
  328. return false
  329. }
  330. let list=JSON.parse(JSON.stringify(this.listAll));
  331. list.sort((val1,val2)=>{
  332. if(order=='descending'){
  333. return val2[prop]-val1[prop]
  334. }else{
  335. return val1[prop]-val2[prop]
  336. }
  337. })
  338. this.list=list;
  339. },
  340. getDepts(arr,ids){
  341. if(arr.length>0){
  342. arr.forEach(item=>{
  343. ids.push(item.id)
  344. this.getDepts(item.children,ids)
  345. })
  346. }
  347. },
  348. onmessageWS(e){
  349. let that=this;
  350. if(e.type=='sm_sro'){
  351. if(e.code==1){
  352. let list = e.result.list;
  353. list.forEach(item=>{
  354. item.time=this.$moment(this.time[0]).format('MM-DD')+'~'+this.$moment(this.time[1]).format('MM-DD');
  355. })
  356. this.list = list
  357. this.listAll = list
  358. this.loading = false;
  359. }else{
  360. this.errorage('x',e.msg)
  361. }
  362. }
  363. // 中途断开
  364. if(e.type=='break'){
  365. this.$alert('网络错误,请稍后再试', '网络错误', {
  366. confirmButtonText: '确定',
  367. type:'error',
  368. callback: action => {
  369. that.not_reuse_employee_id=[];//复用结果
  370. that.$socketApiTow.closewebsocket();
  371. }
  372. });
  373. }
  374. },
  375. errorage(key, arr) {
  376. //弹窗提示
  377. if (bool) {
  378. this.$message({
  379. message: arr,
  380. type: key == '√' ? 'success' : key == '?' ? 'warning' : key == 'x' ? 'error' : ''
  381. });
  382. bool = false;
  383. setTimeout(() => {
  384. bool = true;
  385. }, 5000);
  386. }
  387. },
  388. get_list() {
  389. this.loading = true;
  390. let data={
  391. type:'sm_sro',
  392. keyword: this.keyword,
  393. start_date: this.time[0],
  394. end_date: this.time[1],
  395. }
  396. if(this.selectTypeIndex==1){
  397. data.dept_ids=this.formData.dept_ids.toString();
  398. }else{
  399. let post_ids=this.selectPost.map(e=>{
  400. return e.id
  401. })
  402. data.post_ids=post_ids.toString();
  403. }
  404. this.$socketApiTow.sendData(data,this.onmessageWS)
  405. return false
  406. // let data = {
  407. // page: this.page,
  408. // page_size: this.page_size,
  409. // keyword: this.keyword,
  410. // dept_ids: this.formData.dept_ids.toString(),
  411. // start_date: this.time[0],
  412. // end_date: this.time[1],
  413. // };
  414. this.$axiosUser('get', '/api/pro/sm/statistics/rectify/owners/v2', data).then(res => {
  415. let list = res.data.data.list;
  416. list.forEach(item=>{
  417. item.time=this.$moment(this.time[0]).format('MM-DD')+'~'+this.$moment(this.time[1]).format('MM-DD');
  418. })
  419. this.list = list;
  420. this.listAll = list;
  421. this.total = res.data.data.total;
  422. }).finally(() => {
  423. this.loading = false;
  424. });
  425. },
  426. // 页面变更
  427. handleCurrentChange2(val) {
  428. this.post_page = val;
  429. this.getTableData();
  430. },
  431. // 页面跳转
  432. handleSizeChange2(val) {
  433. this.post_page_size = val;
  434. this.getTableData();
  435. },
  436. // 页面变更
  437. handleCurrentChange(val) {
  438. this.page = val;
  439. this.get_list();
  440. },
  441. handleSizeChange(val) {
  442. this.page_size = val;
  443. this.get_list();
  444. },
  445. // 递归判断列表,把最后的children设为undefined
  446. getTreeData(data) {
  447. for (var i = 0; i < data.length; i++) {
  448. if (data[i].children.length < 1) {
  449. // children若为空数组,则将children设为undefined
  450. data[i].children = undefined;
  451. } else {
  452. // children若不为空数组,则继续 递归调用 本方法
  453. this.getTreeData(data[i].children);
  454. }
  455. }
  456. return data;
  457. },
  458. // 下载排名
  459. submitForm() {
  460. console.log(this.list);
  461. return false
  462. let token = this.$getToken();
  463. let url = `start_date=${this.time[0]}&end_date=${this.time[1]}&keyword=${this.keyword}`
  464. if (this.formData.dept_ids) {
  465. url += `&dept_ids=${this.formData.dept_ids.toString()}`
  466. }
  467. // console.log(url)
  468. // return false
  469. window.open(this.$serverdomain + '/api/pro/sm/download/rectify/owners/v2?' + url + '&token=' + token);
  470. }
  471. },
  472. mounted() {
  473. this.getPostType();
  474. if (this.$getCache('dept_tree')) {
  475. this.dept_tree = this.getTreeData(this.$getCache('dept_tree'));
  476. }
  477. this.get_list();
  478. },
  479. beforeDestroy(){
  480. this.$socketApiTow.closewebsocket();
  481. }
  482. };
  483. </script>
  484. <style scoped lang="scss">
  485. .el-pagination {
  486. text-align: center;
  487. margin-top: 15px;
  488. }
  489. .mainEl {
  490. .mainHead {
  491. margin-bottom: 10px;
  492. span:nth-child(2) {
  493. color: #409EFF;
  494. cursor: pointer;
  495. }
  496. }
  497. .mainTag {
  498. height: 400px;
  499. overflow-x: hidden;
  500. overflow-y: auto;
  501. /deep/ .el-tag--medium {
  502. background-color: #fff;
  503. border: 1px solid #e4e4e4;
  504. border-radius: 20px;
  505. color: #4c4c4c;
  506. margin: 5px 5px 5px 0;
  507. max-width: 240px;
  508. overflow: hidden;
  509. text-overflow: ellipsis;
  510. white-space: nowrap;
  511. position: relative;
  512. padding: 0 20px 0 10px;
  513. }
  514. .el-tag--medium /deep/ i {
  515. color: #8f8f8f;
  516. position: absolute;
  517. right: 5px;
  518. top: 5px;
  519. }
  520. .el-tag--medium /deep/ i:hover {
  521. background-color: #9b9b9b;
  522. color: #fff;
  523. }
  524. }
  525. }
  526. .width-250 {
  527. width: 350px;
  528. }
  529. .inputDc {
  530. position: absolute;
  531. top: 0;
  532. right: 0;
  533. left: 0;
  534. bottom: 0;
  535. z-index: 9;
  536. cursor: pointer;
  537. }
  538. .border {
  539. -webkit-appearance: none;
  540. background-color: #fff;
  541. background-image: none;
  542. border-radius: 4px;
  543. border: 1px solid #dcdfe6;
  544. -webkit-box-sizing: border-box;
  545. box-sizing: border-box;
  546. color: #C0C4CF;
  547. font-size: inherit;
  548. height: auto;
  549. outline: 0;
  550. padding: 0 15px;
  551. width: 250px;
  552. position: relative;
  553. cursor: pointer;
  554. line-height: 34px;
  555. }
  556. .border .font-flex-word{
  557. color: #606266;
  558. }
  559. .diy_tip_bg {
  560. background: #f5f6f9;
  561. overflow: hidden;
  562. .diy-tip {
  563. border: 1px solid #67c23a;
  564. p {
  565. color: #67c23a !important;
  566. font-size: 15px;
  567. margin: 0 !important;
  568. padding-bottom: 4px;
  569. }
  570. }
  571. }
  572. .message-box .label {
  573. font-size: 18px;
  574. font-weight: 600;
  575. margin-bottom: 20px;
  576. }
  577. .message-box .flex-box-ce {
  578. margin-bottom: 16px;
  579. }
  580. .message-box .fontColorC {
  581. width: 100px;
  582. }
  583. .search_box {
  584. /deep/ button:active {
  585. background: #409eff;
  586. }
  587. /deep/ button:active .el-icon-search {
  588. color: #fff;
  589. }
  590. }
  591. .date-picker-width {
  592. width: 100% !important;
  593. }
  594. .color_green {
  595. color: #67c23a;
  596. }
  597. .nopoint_box {
  598. display: inline-block;
  599. text-align: center;
  600. width: 100%;
  601. margin-bottom: 10px;
  602. }
  603. .title {
  604. display: block;
  605. text-align: center;
  606. font-size: 12px !important;
  607. line-height: 30px;
  608. color: #909399 !important;
  609. padding: 0;
  610. }
  611. .nopoint_box a {
  612. color: #409eff;
  613. }
  614. .chart_content {
  615. .chart-legend__wrap {
  616. text-align: right;
  617. padding: 20px;
  618. padding-right: 50px;
  619. & .chart-legend__pink {
  620. position: relative;
  621. padding-left: 12px;
  622. padding-right: 5px;
  623. &:after {
  624. content: '';
  625. position: absolute;
  626. margin-top: -2px;
  627. top: 35%;
  628. left: 0;
  629. width: 8px;
  630. height: 8px;
  631. background: #f56c6c;
  632. border-radius: 100%;
  633. }
  634. }
  635. & .chart-legend__green {
  636. position: relative;
  637. padding-left: 12px;
  638. &:after {
  639. content: '';
  640. position: absolute;
  641. margin-top: -2px;
  642. top: 35%;
  643. left: 0;
  644. width: 8px;
  645. height: 8px;
  646. background: #53b87f;
  647. border-radius: 100%;
  648. }
  649. }
  650. }
  651. }
  652. .drawer_title {
  653. font-size: 18px;
  654. padding: 20px;
  655. }
  656. .manager_statistics_box {
  657. background-color: #ffffff;
  658. padding: 20px;
  659. /deep/ .el-row .el-checkbox .el-checkbox__label {
  660. line-height: 20px;
  661. }
  662. }
  663. .headLi {
  664. padding: 4px;
  665. list-style: disc;
  666. font-size: 14px;
  667. }
  668. .kh-right {
  669. padding: 0 10px;
  670. }
  671. .pagination {
  672. position: relative;
  673. left: -10px;
  674. }
  675. .liAction {
  676. background-color: #ebeef5;
  677. color: #409EFF;
  678. }
  679. .kh-title {
  680. text-align: center;
  681. font-weight: 700;
  682. border-bottom: 1px solid #ebeef5;
  683. padding-bottom: 10px;
  684. }
  685. .kh-left {
  686. border-right: 1px solid #ebeef5;
  687. }
  688. .kh-left li {
  689. padding: 10px;
  690. cursor: pointer;
  691. border-bottom: 1px solid #ebeef5;
  692. }
  693. .kh-left li:hover {
  694. background-color: #ebeef5;
  695. }
  696. .kh-Box {
  697. // height: 430px;
  698. }
  699. .bmxx .el-dialog__body {
  700. padding: 30px 100px 20px 10px !important;
  701. }
  702. .el-form-item__label {
  703. font-weight: normal;
  704. }
  705. .li:hover {
  706. background-color: #f5f7fa;
  707. }
  708. .li:hover .el-icon-more {
  709. display: block;
  710. }
  711. .index-name {
  712. width: 170px;
  713. }
  714. .ul {
  715. max-height: calc(100vh - 230px);
  716. overflow: auto;
  717. }
  718. .ul::-webkit-scrollbar {
  719. width: 6px;
  720. height: 6px;
  721. }
  722. .ul:hover::-webkit-scrollbar-thumb {
  723. background-color: #ccc;
  724. }
  725. .ul::-webkit-scrollbar-track {
  726. width: 6px;
  727. background-color: #f1f1f1;
  728. -webkit-border-radius: 2em;
  729. -moz-border-radius: 2em;
  730. border-radius: 2em;
  731. }
  732. .isActiveLi {
  733. background-color: #f5f7fa;
  734. color: #409EFF !important;
  735. position: relative;
  736. }
  737. .isActiveLi::after {
  738. width: 3px;
  739. content: ' ';
  740. background-color: #409EFF;
  741. left: 0;
  742. bottom: 0;
  743. top: 0;
  744. position: absolute;
  745. }
  746. </style>