58940bddf85c7be87c8be87340fcf73dee839343.svn-base 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  1. <template>
  2. <div class="nygs">
  3. <el-container style="height:520px;">
  4. <el-aside width="300px" style="border:1px solid #d5d5ff">
  5. <p class="aside_title">
  6. <el-button type="text" @click="addVillage">添加行政村</el-button>
  7. </p>
  8. <el-tree :data="treeData" :props="defaultPropsXzc" @node-click="handleNodeClickXzc"
  9. node-key="id"
  10. default-expand-all
  11. highlight-current
  12. :expand-on-click-node="false">
  13. <span class="custom-tree-node" slot-scope="{ node, data }">
  14. <span>{{ node.label }}</span>
  15. <span class="mr10">
  16. <i class="el-icon-delete" @click.stop="removeNode(node, data)"></i>
  17. </span>
  18. </span>
  19. </el-tree>
  20. </el-aside>
  21. <el-main style="border:1px solid #d5d5ff;margin-left:5px;padding:0;">
  22. <el-card class="box-card">
  23. <div slot="header" class="clearfix">
  24. <span>用水户</span>
  25. <el-button style="float: right; padding: 3px 0" type="text" @click="addYsh">添加</el-button>
  26. </div>
  27. <ul class="ul_height">
  28. <li v-for="(item,index) in yshList" :key="index" class="text item lh40">
  29. <p @click="yshRow(item)">
  30. {{ item.uswtName }}
  31. <span class="flr"><i class="el-icon-delete" @click.stop="yshDelete(item)"></i></span>
  32. </p>
  33. </li>
  34. </ul>
  35. </el-card>
  36. <el-card class="box-card mt20">
  37. <div slot="header" class="clearfix">
  38. <span>农田水利工程</span>
  39. <el-button style="float: right; padding: 3px 0" type="text" @click="addNtsl">添加</el-button>
  40. </div>
  41. <ul class="ul_height">
  42. <li v-for="(item,index) in ntslList" :key="index" class="text item lh40">
  43. <p @click="ntslRow(item)">
  44. <span class="ml5v">{{item.name}}</span>
  45. <span>{{ntslProject(item.type)}}</span>
  46. <span class="flr"><i class="el-icon-delete" @click.stop="ntslDelete(item)"></i></span>
  47. </p>
  48. </li>
  49. </ul>
  50. </el-card>
  51. </el-main>
  52. </el-container>
  53. <!--用水户-->
  54. <el-dialog
  55. class="outerDialog custom_dialog"
  56. title="添加用水户"
  57. width="40%"
  58. :visible.sync="wateruserVisible"
  59. :close-on-click-modal="false"
  60. :modal-append-to-body="true"
  61. :append-to-body="true">
  62. <el-form :model="wateruserForm" ref="wateruserForm" label-width="200px">
  63. <el-form-item label="户主姓名" required>
  64. <el-input type="text" v-model="wateruserForm.userNm" clearable placeholder="请输入户主姓名"
  65. style="width:60%;"></el-input>
  66. </el-form-item>
  67. <el-form-item label="联系方式">
  68. <el-input type="text" v-model="wateruserForm.telphone" clearable placeholder="请输入联系方式"
  69. style="width:60%;"></el-input>
  70. </el-form-item>
  71. </el-form>
  72. <span slot="footer">
  73. <el-button style="margin-top:5px;" @click="waterUserSave">确定</el-button>
  74. </span>
  75. </el-dialog>
  76. <!-- 用水户填报信息弹窗 -->
  77. <el-dialog title="用水户信息填报" :visible.sync="waterUserTianBaoVisible" :close-on-click-modal="false"
  78. width="50%"
  79. :modal-append-to-body="true"
  80. :append-to-body="true">
  81. <householdIrrigation
  82. v-if="waterUserTianBaoVisible"
  83. @addShuiKuSuccess="addShuiKuSuccess"
  84. :currentObjectRgstrId="currentObjectRgstrId"
  85. :currentResCode="currentResCode"
  86. :currentObjectName="currentObjectName"
  87. :currentObjectId="currentObjectId"
  88. :rowId="yshRowData.id">
  89. </householdIrrigation>
  90. </el-dialog>
  91. <!-- 工程填报信息弹窗 -->
  92. <el-dialog :title="titleText" :visible.sync="dialogProjectVisible" :close-on-click-modal="false"
  93. width="50%"
  94. :modal-append-to-body="true"
  95. :append-to-body="true">
  96. <component
  97. v-if="dialogProjectVisible"
  98. :is="componentId"
  99. @addShuiKuSuccess="closeDialog"
  100. :currentObjectRgstrId="currentObjectRgstrId"
  101. :currentResCode="currentResCode"
  102. :currentObjectName="titleText"
  103. :currentObjectId="currentObjectId"
  104. :rowId="ntslRowId"
  105. :adFullName="adFullName">
  106. </component>
  107. </el-dialog>
  108. <!--添加行政村-->
  109. <addVillage v-if="villageVisible"
  110. :currentObjectRgstrId="currentObjectRgstrId"
  111. :currentObjectName="currentObjectName"
  112. :currentResCode="currentResCode"
  113. :currentObjectId="currentObjectId"
  114. :rowData="rowData"
  115. @closeDialogVillageTowns="closeDialogVillageTowns"
  116. @addVillageSuccess="addVillageSuccess"></addVillage>
  117. <!--添加农田水利工程-->
  118. <el-dialog title="添加农田水利工程" :visible.sync="addRsvrVisible" append-to-body width="40%" >
  119. <el-form label-width="200px" :model="formObj" ref="formObj" :rules="rulesProject">
  120. <el-form-item label="工程名称" prop="name">
  121. <el-input v-model="formObj.name" clearable autocomplete="off" style="width:60%;"></el-input>
  122. </el-form-item>
  123. <el-form-item label="工程类型" prop="type">
  124. <el-select v-model="formObj.type" clearable placeholder="请选择" autocomplete="off" style="width:60%;">
  125. <el-option
  126. v-for="item in projectList"
  127. :key="item.value"
  128. :label="item.label"
  129. :value="item.value">
  130. </el-option>
  131. </el-select>
  132. </el-form-item>
  133. </el-form>
  134. <div slot="footer" class="dialog-footer">
  135. <el-button @click="addRsvrVisible = false">取 消</el-button>
  136. <el-button type="primary" @click="addNewRsvr('formObj')">确 定</el-button>
  137. </div>
  138. </el-dialog>
  139. </div>
  140. </template>
  141. <script>
  142. import inputWith from "@widget/inuptWith.vue"
  143. import request from "@util/gw_ajax_request.js"
  144. import addVillage from './addVillage'
  145. export default {
  146. components: {
  147. inputWith: inputWith,
  148. addVillage: addVillage,
  149. householdIrrigation: resolve => {
  150. require(["./householdIrrigation.vue"], resolve);
  151. },
  152. engineeringOperationQd: resolve => {
  153. require(["./engineeringOperationQd.vue"], resolve);
  154. },
  155. engineeringOperationGd: resolve => {
  156. require(["./engineeringOperationGd.vue"], resolve);
  157. },
  158. engineeringOperationPg: resolve => {
  159. require(["./engineeringOperationPg.vue"], resolve);
  160. },
  161. engineeringOperationWg: resolve => {
  162. require(["./engineeringOperationWg.vue"], resolve);
  163. },
  164. engineeringOperationBz: resolve => {
  165. require(["./engineeringOperationBz.vue"], resolve);
  166. },
  167. engineeringOperationTb: resolve => {
  168. require(["./engineeringOperationTb.vue"], resolve);
  169. },
  170. engineeringOperationSjSc: resolve => {
  171. require(["./engineeringOperationSjSc.vue"], resolve);
  172. },
  173. engineeringOperationYz: resolve => {
  174. require(["./engineeringOperationYz.vue"], resolve);
  175. },
  176. engineeringOperationJiJing: resolve => {
  177. require(["./engineeringOperationJiJing.vue"], resolve);
  178. },
  179. },
  180. props: ['currentObjectId', 'currentObjectName', 'currentObjectRgstrId', 'currentResCode', 'rowData'],
  181. data() {
  182. var checkTel = (rule, value, callback) => {
  183. if (value == '') {
  184. callback();
  185. }
  186. if (isNaN(value)) {
  187. callback(new Error('请输入合理电话'));
  188. }
  189. var isPhone = /^([0-9]{3,4}-)?[0-9]{7,8}$/; //座机
  190. var isMob = /^[1][3,4,5,7,8][0-9]{9}$/; // 座机格式
  191. if (!isMob.test(value) && !isPhone.test(value)) {
  192. callback(new Error('请输入合理电话'));
  193. } else {
  194. callback();
  195. }
  196. };
  197. return {
  198. yshList: [],
  199. ntslList: [],
  200. wateruserVisible: false,
  201. villageVisible: false,
  202. waterUserTianBaoVisible: false,
  203. countryProTianBaoVisible: false,
  204. gsgcVisible: false,
  205. waterUserDialog: false,
  206. villageTableData: [],
  207. multipleSelection: [],
  208. wateruserForm: {
  209. userNm: "",
  210. telphone: "",
  211. },
  212. treeData: [],
  213. villageTreeData: [],
  214. defaultProps: {
  215. // children: 'children',
  216. label: 'adName'
  217. },
  218. defaultPropsXzc: {
  219. children: 'attCountryDtoList',
  220. label: 'adName'
  221. },
  222. townName: "",
  223. adName: "",
  224. adCode: "",
  225. yshRowData: null,
  226. gsgcRowData: null,
  227. rules: {
  228. telphone: [{
  229. validator: checkTel,
  230. trigger: 'change',
  231. }],
  232. },
  233. oriFatherName: "",
  234. pageNum: 1,
  235. pageSize: 10,
  236. dialogProjectVisible: false,
  237. titleText: "",
  238. componentId: '', //当前弹窗加载的组件
  239. rowId: "",
  240. projectName: "",
  241. addRsvrVisible: false,
  242. formObj: {
  243. "name": "",
  244. "type": ""
  245. },
  246. projectList: [
  247. {
  248. label: "机井",
  249. value: "2"
  250. },
  251. {
  252. label: "堰闸",
  253. value: "3"
  254. },
  255. {
  256. label: "水窖、水池等小型蓄水设施",
  257. value: "4"
  258. },
  259. {
  260. label: "塘坝",
  261. value: "5"
  262. },
  263. {
  264. label: "泵站",
  265. value: "6"
  266. },
  267. {
  268. label: "微灌",
  269. value: "7"
  270. },
  271. {
  272. label: "喷灌",
  273. value: "8"
  274. },
  275. {
  276. label: "管道",
  277. value: "9"
  278. },
  279. {
  280. label: "渠道",
  281. value: "10"
  282. }
  283. ],
  284. rulesProject: {
  285. name: [
  286. {required: true, message: '请输入工程名称', trigger: 'blur'},
  287. ],
  288. type: [
  289. {required: true, message: '请选择工程类型', trigger: 'change'}
  290. ]
  291. },
  292. ntslRowId: null,
  293. deleteUrl: null,
  294. adFullName: null
  295. }
  296. },
  297. computed: {
  298. recPersId() {
  299. return localStorage.getItem("userid") ? localStorage.getItem("userid") : ''
  300. }
  301. },
  302. created() {
  303. },
  304. mounted() {
  305. this.getLeftTreeData();
  306. },
  307. methods: {
  308. //添加行政村
  309. addVillage() {
  310. this.villageVisible = true;
  311. this.getVillageTreeList();
  312. },
  313. getVillageTreeList() {
  314. request.get(`/bis/insp/irr/towns/dsu/findCheckTree/${this.rowData.code}/${this.rowData.rgstrId}`)
  315. .then(res => {
  316. if (res.success && res.data) {
  317. this.$nextTick(() => {
  318. if (res.data.length) {
  319. this.villageTreeData = res.data;
  320. this.villageTableData = res.data[0].attCountryDtoList;
  321. this.townName = res.data[0].adName;
  322. }
  323. })
  324. }
  325. })
  326. },
  327. //左侧树数据
  328. getLeftTreeData() {
  329. request.post(`/bis/insp/irr/towns/dsu/tree`, {"rgstrId": this.rowData.rgstrId})
  330. .then(res => {
  331. if (res.success && res.data) {
  332. this.$nextTick(()=>{
  333. this.treeData = res.data;
  334. this.adCode = this.treeData[0].attCountryDtoList[0].adCode ? this.treeData[0].attCountryDtoList[0].adCode : "";
  335. this.adName = this.treeData[0].attCountryDtoList[0].adName ? this.treeData[0].attCountryDtoList[0].adName : "";
  336. this.oriFatherName = this.treeData[0].adName ? this.treeData[0].adName : "";
  337. this.getYsNtslList();
  338. })
  339. }
  340. })
  341. },
  342. //获取用水户、供水单位列表
  343. getYsNtslList() {
  344. request.post(`/bis/insp/irr/towns/dsu/findProjectList`, {
  345. "adCode": this.adCode,
  346. "rgstrId": this.rowData.rgstrId
  347. }).then(res => {
  348. if (res.success) {
  349. this.$nextTick(() => {
  350. this.ntslList = res.data.countryPro;
  351. this.yshList = res.data.waterUsers;
  352. })
  353. }
  354. })
  355. },
  356. //用水户添加
  357. addYsh() {
  358. if (this.adCode) {
  359. for (var obj in this.wateruserForm) {
  360. this.wateruserForm[obj] = '';
  361. }
  362. this.wateruserVisible = true;
  363. } else {
  364. this.$message.warning("请选择左侧行政村");
  365. }
  366. },
  367. //添加用水户保存
  368. waterUserSave() {
  369. if (!this.wateruserForm.userNm) {
  370. this.$message.warning("请填写用水户户主姓名");
  371. return;
  372. }
  373. // if (!this.wateruserForm.telphone) {
  374. // this.$message.warning("请填写用水户户主联系方式");
  375. // return;
  376. // }
  377. let obj = {
  378. adName: this.adFullName,
  379. adCode: this.adCode,
  380. uswtName: this.wateruserForm.userNm,
  381. uswtPhone: this.wateruserForm.telphone,
  382. objId: this.rowData.objId,
  383. rgstrId: this.rowData.rgstrId,
  384. persId: this.recPersId
  385. }
  386. request.post(`/bis/insp/irr/wtusr`, obj)
  387. .then(res => {
  388. if (res.success) {
  389. this.$message.success("添加用水户成功");
  390. this.wateruserVisible = false;
  391. this.getYsNtslList();
  392. }
  393. })
  394. },
  395. //用水户row
  396. yshRow(row) {
  397. this.yshRowData = row;
  398. this.waterUserTianBaoVisible = true;
  399. },
  400. //用水户删除
  401. yshDelete(row) {
  402. this.$confirm('确定要删除该数据, 是否继续?', '提示', {
  403. confirmButtonText: '确定',
  404. cancelButtonText: '取消',
  405. type: 'warning'
  406. }).then(() => {
  407. request.get(`/bis/insp/irr/wtusr/del/${row.id}`)
  408. .then(res => {
  409. if (res.success) {
  410. this.$message.success("删除成功");
  411. this.getYsNtslList();
  412. } else {
  413. this.$message.warning(res.message);
  414. }
  415. })
  416. .catch(err => {
  417. console.log(err);
  418. })
  419. }).catch(() => {
  420. this.$message({
  421. type: 'info',
  422. message: '已取消删除'
  423. });
  424. });
  425. },
  426. //供水单位添加
  427. addNtsl() {
  428. if (this.adCode) {
  429. this.addRsvrVisible = true;
  430. } else {
  431. this.$message.warning("请选择左侧行政村");
  432. }
  433. },
  434. //供水单位row
  435. ntslRow(row) {
  436. this.ntslRowId = row.id;
  437. this.titleText = row.name;
  438. let val = row.type;
  439. switch (val) {
  440. case '10' :
  441. this.componentId = 'engineeringOperationQd';
  442. break;
  443. case '9' :
  444. this.componentId = 'engineeringOperationGd';
  445. break;
  446. case '8' :
  447. this.componentId = 'engineeringOperationPg';
  448. break;
  449. case '7' :
  450. this.componentId = 'engineeringOperationWg';
  451. break;
  452. case '6' :
  453. this.componentId = 'engineeringOperationBz';
  454. break;
  455. case '5' :
  456. this.componentId = 'engineeringOperationTb';
  457. break;
  458. case '4' :
  459. this.componentId = 'engineeringOperationSjSc';
  460. break;
  461. case '3' :
  462. this.componentId = 'engineeringOperationYz';
  463. break;
  464. case '2' :
  465. this.componentId = 'engineeringOperationJiJing';
  466. break;
  467. }
  468. this.dialogProjectVisible = true;
  469. },
  470. //供水单位删除
  471. ntslDelete(row) {
  472. let rowId = row.id;
  473. let val = row.type;
  474. switch (val) {
  475. case '10' :
  476. this.deleteUrl = '/bis/insp/irr/chan/del/';
  477. break;
  478. case '9' :
  479. this.deleteUrl = '/bis/insp/irr/pipe/del/';
  480. break;
  481. case '8' :
  482. this.deleteUrl = '/bis/insp/irr/spray/del/';
  483. break;
  484. case '7' :
  485. this.deleteUrl = '/bis/insp/irr/micro/del/';
  486. break;
  487. case '6' :
  488. this.deleteUrl = '/bis/insp/irr/pust/del/';
  489. break;
  490. case '5' :
  491. this.deleteUrl = '/bis/insp/irr/pond/del/';
  492. break;
  493. case '4' :
  494. this.deleteUrl = '/bis/insp/irr/pit/del/';
  495. break;
  496. case '3' :
  497. this.deleteUrl = '/bis/insp/irr/was/del/';
  498. break;
  499. case '2' :
  500. this.deleteUrl = '/bis/insp/irr/well/del/';
  501. break;
  502. }
  503. this.getMoveRow(rowId,this.deleteUrl);
  504. },
  505. getMoveRow(rowId,url){
  506. this.$confirm('确定要删除该工程, 是否继续?', '提示', {
  507. confirmButtonText: '确定',
  508. cancelButtonText: '取消',
  509. type: 'warning'
  510. }).then(() => {
  511. request.get(url + rowId)
  512. .then(res =>{
  513. if(res.success){
  514. this.$message.success("删除成功");
  515. this.getYsNtslList();
  516. }else{
  517. this.$message.warning(res.message);
  518. }
  519. })
  520. .catch(err =>{
  521. console.log(err);
  522. })
  523. }).catch(() => {
  524. this.$message({
  525. type: 'info',
  526. message: '已取消删除'
  527. });
  528. });
  529. },
  530. handleNodeClick(data) {
  531. this.$nextTick(() => {
  532. this.townName = data.adName;
  533. this.villageTableData = data.attCountryDtoList;
  534. })
  535. },
  536. handleNodeClickXzc(node, data) {
  537. this.$nextTick(() => {
  538. console.log(node, data);
  539. if (node.adCode && node.adName) {
  540. this.oriFatherName = data.parent.data.adName;
  541. this.adCode = node.adCode;
  542. this.adName = node.adName;
  543. this.getYsNtslList();
  544. }
  545. })
  546. },
  547. closeGsGcDialog(val) {
  548. this.countryProTianBaoVisible = false;
  549. if (val === "success") {
  550. this.getYsNtslList();
  551. }
  552. },
  553. addShuiKuSuccess() {
  554. this.waterUserTianBaoVisible = false;
  555. },
  556. // 删除左侧树行政村
  557. removeNode(node, data) {
  558. if (data.id) {
  559. this.$confirm('确定清空督查数据并将该村从督查任务中删除, 是否继续?', '提示', {
  560. confirmButtonText: '确定',
  561. cancelButtonText: '取消',
  562. type: 'warning'
  563. }).then(() => {
  564. request.post(`/bis/insp/irr/towns/dsu/delTown/${data.id}`)
  565. .then(res => {
  566. if (res.success) {
  567. this.$message.success("删除成功");
  568. this.getLeftTreeData();
  569. } else {
  570. this.$message.warning(res.message);
  571. }
  572. })
  573. .catch(err => {
  574. console.log(err);
  575. })
  576. }).catch(() => {
  577. this.$message({
  578. type: 'info',
  579. message: '已取消删除'
  580. });
  581. });
  582. }
  583. },
  584. DuiXiangAddSuccessHandler: function () {
  585. this.gsgcVisible = false;
  586. this.getYsNtslList();
  587. },
  588. closeDuChaDuiXiangDialog() {
  589. this.gsgcVisible = false;
  590. },
  591. // handleSizeChange(val) {
  592. // this.pageSize = val;
  593. // this.getNoticeList();
  594. // },
  595. // handleCurrentChange(val) {
  596. // this.pageNum = val;
  597. // this.getNoticeList();
  598. // },
  599. ntslProject(row) {
  600. return row == "2" ? "机井" : row == "3" ? "堰闸" : row == "4" ? "水窖、水池等小型蓄水设施" : row == "5" ? "塘坝" : row == "6" ? "泵站" : row == "7" ? "微灌" : row == "8" ? "喷灌" : row == "9" ? "管道" : row == "10" ? "渠道" : "";
  601. },
  602. closeDialog() {
  603. this.dialogProjectVisible = false;
  604. // this.getTableDataList();
  605. },
  606. closeDialogVillageTowns() {
  607. this.villageVisible = false;
  608. },
  609. addVillageSuccess() {
  610. this.villageVisible = false;
  611. this.getLeftTreeData();
  612. },
  613. addNewRsvr(formName) {
  614. let obj = {
  615. "adCode": this.adCode,
  616. "adName": this.adFullName,
  617. "name": this.formObj.name,
  618. "objId": this.rowData.objId,
  619. "persId": this.rowData.rgstrId,
  620. "rgstrId": this.rowData.rgstrId,
  621. "type": this.formObj.type
  622. }
  623. this.$refs[formName].validate((valid) => {
  624. if (valid) {
  625. request.post('/bis/insp/irr/towns/dsu/addProject', obj).then(res => {
  626. if (res.success) {
  627. this.$message.success('添加成功');
  628. this.getYsNtslList();
  629. this.addRsvrVisible = false;
  630. } else {
  631. _this.$message.error(res.message)
  632. }
  633. }).catch(res => {
  634. this.$message.error(res.message)
  635. })
  636. } else {
  637. console.log('error submit!!');
  638. return false;
  639. }
  640. });
  641. },
  642. },
  643. watch:{
  644. adName(val){
  645. if(val) this.adFullName = this.currentObjectName + '-' + this.oriFatherName + '-' + val;
  646. }
  647. }
  648. }
  649. </script>
  650. <style lang="scss">
  651. /*.nygs{*/
  652. .aside_title {
  653. padding-right: 10px;
  654. height: 30px;
  655. line-height: 30px;
  656. text-align: end;
  657. border-bottom: 1px solid rgb(235, 238, 245);
  658. background-color: #d5d5ff;
  659. }
  660. .village_title {
  661. text-align: center;
  662. }
  663. .ul_height {
  664. height: 160px;
  665. overflow: auto;
  666. }
  667. .box-card {
  668. /*height: 200px;*/
  669. overflow: auto;
  670. }
  671. /*.mt20{*/
  672. /*margin-top: 20px;*/
  673. /*}*/
  674. .lh40 {
  675. list-style: none;
  676. height: 40px;
  677. line-height: 40px;
  678. cursor: pointer;
  679. padding: 0 10px;
  680. border-bottom: 1px solid rgb(235, 238, 245);
  681. }
  682. .flr {
  683. float: right;
  684. margin-right: 20px;
  685. }
  686. .nygs span.custom-tree-node {
  687. width: 100%;
  688. }
  689. .mr10 {
  690. margin-right: 20px;
  691. float: right;
  692. }
  693. .nygs .el-tree-node__content {
  694. height: 40px;
  695. line-height: 40px;
  696. }
  697. .nygs .el-tree > div > div:first-child .mr10 {
  698. display: none;
  699. }
  700. .nygs .el-tree-node.is-current > .el-tree-node__content {
  701. background-color: gainsboro !important;
  702. }
  703. .ml5v {
  704. width: 10vw;
  705. display: inline-block;
  706. }
  707. /*}*/
  708. </style>