MenuMine.vue 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480
  1. <template>
  2. <div class="l_Dialog">
  3. <el-dialog v-model="dialogVisible" width="480" align-center :modal="false" :close-on-click-modal="false"
  4. draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
  5. class="dialog_class bgcolor zhucentent ">
  6. <template #header="{ titleId, titleClass }">
  7. <div class="my-header xinxi_header">
  8. <el-image :src="icon" fit="contain"></el-image>
  9. <h4 :id="titleId" :class="titleClass">矿井信息</h4>
  10. </div>
  11. </template>
  12. <div class="classtab">
  13. <el-tabs v-model="resultactiveName" type="card" class="demo-tabs" @tab-click="handleClick" :stretch="true">
  14. <el-tab-pane label="节点信息" name="first">
  15. <div class="asides_content">
  16. <div class="jc_content tablecolor jc_content">
  17. <div class="font12 my_content1">
  18. <div class=" btncolor tablefocus bmar">
  19. <el-table :data="tableData2" style="width:480px" :max-height="tableHeight"
  20. :highlight-current-row="currentrow" :row-class-name="tableRowClassName"
  21. @row-click="handleDelete($event)"
  22. :header-cell-style="{ 'background': 'rgba(13, 22, 57, 0.9) ' }">
  23. <el-table-column type="index" label="节点编号" width="80px" />
  24. <el-table-column prop="name" label="节点名称" />
  25. <el-table-column prop="x" label="X" />
  26. <el-table-column prop="y" label="Y" />
  27. <el-table-column prop="z" label="Z" />
  28. </el-table>
  29. <div class="demo-pagination-block pagination" style="margin-top: 20px;">
  30. <el-pagination v-model:current-page="currentPage4"
  31. v-model:page-size="pageSize4" small background
  32. layout="prev, total,pager, next, jumpe," :total="parseInt(total)"
  33. class="mt-4" @current-change="handleCurrentChange" />
  34. </div>
  35. </div>
  36. </div>
  37. <div class="dialog-footer footer_div l_btn">
  38. <div class="footerbtn flex1">
  39. <div class="borderimg"><el-button @click="addsg();">添加</el-button></div>
  40. </div>
  41. <div class="footerbtn flex1">
  42. <div class="borderimg"><el-button
  43. @click="nodedelete()">
  44. 删除
  45. </el-button></div>
  46. </div>
  47. <div class="footerbtn flex1">
  48. <div class="borderimg"><el-button @click="accident()">
  49. 修改
  50. </el-button></div>
  51. </div>
  52. <div class="footerbtn flex1">
  53. <div class="borderimg"><el-button @click="dialogVisible = false;currentrow= false;">
  54. 确认
  55. </el-button></div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <!-- 添加 -->
  61. <el-dialog v-model="sdialog.adddialog" width="400" class="dialog_class bgcolor tianjia">
  62. <template #header="{ titleId, titleClass }">
  63. <div class="my-header ">
  64. <el-image :src="icon" fit="contain"></el-image>
  65. <h4 :id="titleId" :class="titleClass">{{ zhtext }}</h4>
  66. </div>
  67. </template>
  68. <div>
  69. <el-form>
  70. <el-form-item label="名称" :label-width="formLabelWidth6">
  71. <el-input v-model="nodeobj.name" class="w-50 m-2" placeholder="请输入" />
  72. </el-form-item>
  73. <el-form-item label="X" :label-width="formLabelWidth6">
  74. <el-input v-model="nodeobj.x" class="w-50 m-2" placeholder="请输入" />
  75. </el-form-item>
  76. <el-form-item label="Y" :label-width="formLabelWidth6">
  77. <el-input v-model="nodeobj.y" class="w-50 m-2" placeholder="请输入" />
  78. </el-form-item>
  79. <el-form-item label="Z" :label-width="formLabelWidth6">
  80. <el-input v-model="nodeobj.z" class="w-50 m-2" placeholder="请输入" />
  81. </el-form-item>
  82. </el-form>
  83. </div>
  84. <div class="dialog-footer footer_div l_btn">
  85. <div class="footerbtn flex1">
  86. <div class="borderimg"><el-button @click="sdialog.adddialog = false">取消</el-button>
  87. </div>
  88. </div>
  89. <div class="footerbtn flex1">
  90. <div class="borderimg"><el-button @click="nodeconfirm(); sdialog.adddialog = false">
  91. 确定
  92. </el-button></div>
  93. </div>
  94. </div>
  95. </el-dialog>
  96. <!-- 删除 -->
  97. <el-dialog v-model="sdialog.dialogsgdelect" width="400" class="dialog_class bgcolor tianjia">
  98. <template #header="{ titleId, titleClass }">
  99. <div class="my-header ">
  100. <el-image :src="icon" fit="contain"></el-image>
  101. <h4 :id="titleId" :class="titleClass">删除框</h4>
  102. </div>
  103. </template>
  104. <h4 class="delecttitle"> 是否确认删除 <span class="spanclad">{{ zqname }}</span></h4>
  105. <div class="dialog-footer footer_div l_btn">
  106. <div class="footerbtn flex1">
  107. <div class="borderimg"><el-button
  108. @click="sdialog.dialogsgdelect = false">取消</el-button></div>
  109. </div>
  110. <div class="footerbtn flex1">
  111. <div class="borderimg"><el-button
  112. @click="nodedeleteapi(); sdialog.dialogsgdelect = false">
  113. 确定
  114. </el-button></div>
  115. </div>
  116. </div>
  117. </el-dialog>
  118. </el-tab-pane>
  119. <el-tab-pane label="巷道信息" name="second">
  120. <div class="asides_content">
  121. <div class="jc_content tablecolor jc_content">
  122. <div class="font12 my_content1">
  123. <div class="btncolor tablefocus bmar">
  124. <el-table :row-class-name="tableRowClassName" :max-height="tableHeight"
  125. ref="multipleTableRef" :highlight-current-row="currentrow1" @row-click="handleDelete2($event)" :data="tableData3" style="width: 100%"
  126. :header-cell-style="{ 'background': 'rgba(13, 22, 57, 0.96) ' }">
  127. <el-table-column property="snId" label="开始节点" />
  128. <el-table-column property="enId" label="结束节点" />
  129. <el-table-column property="id" label="编号" width="70" />
  130. <el-table-column property="name" label="名称" width="70" />
  131. <el-table-column property="sectionType" label="截面类型" width="120" />
  132. <el-table-column property="roughCoe" label="粗糙系数" />
  133. <el-table-column property="sectionPara1" label="截面参数1" width="90" />
  134. <el-table-column property="sectionPara2" label="截面参数2" width="90" />
  135. <el-table-column property="sectionPara3" label="截面参数3" width="90" />
  136. <el-table-column property="sectionPara4" label="截面参数4" width="90" />
  137. <el-table-column property="sectionPara5" label="截面参数5" width="90" />
  138. </el-table>
  139. <div class="demo-pagination-block pagination" style="margin-top: 20px;">
  140. <el-pagination v-model:current-page="gd.currentPage4"
  141. v-model:page-size="gd.pageSize4" small background
  142. layout="prev, total,pager, next, jumpe," :total="parseInt(gd.total)"
  143. class="mt-4" @current-change="handleCurrentChange2" />
  144. </div>
  145. </div>
  146. </div>
  147. <div class="dialog-footer footer_div l_btn">
  148. <div class="footerbtn flex1">
  149. <div class="borderimg"><el-button @click="guandaoadd();">添加</el-button></div>
  150. </div>
  151. <div class="footerbtn flex1">
  152. <div class="borderimg"><el-button
  153. @click="nodedelete2();">
  154. 删除
  155. </el-button></div>
  156. </div>
  157. <div class="footerbtn flex1">
  158. <div class="borderimg"><el-button @click="accident2()">
  159. 修改
  160. </el-button></div>
  161. </div>
  162. <div class="footerbtn flex1">
  163. <div class="borderimg"><el-button @click="dialogVisible = false;currentrow1= false">
  164. 确认
  165. </el-button></div>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. <!-- 添加 -->
  171. <el-dialog v-model="sdialog.gdadddialog" width="400" class="dialog_class bgcolor tianjia">
  172. <template #header="{ titleId, titleClass }">
  173. <div class="my-header ">
  174. <el-image :src="icon" fit="contain"></el-image>
  175. <h4 :id="titleId" :class="titleClass">{{ zhtext }}</h4>
  176. </div>
  177. </template>
  178. <div>
  179. <el-form-item label="名称" :label-width="formLabelWidth7">
  180. <el-input v-model="guandaoobj.name" class="w-50 m-2" placeholder="请输入" />
  181. </el-form-item>
  182. <div class="demo-input-suffix firsttitle magintop guand_1">
  183. <el-form-item label="开始节点" :label-width="formLabelWidth7">
  184. <el-input v-model="guandaoobj.snId" class="w-50 m-2" placeholder="巷道名称" />
  185. </el-form-item>
  186. <div class="btn2">
  187. <el-button type="primary" @click="nodeclick('start');">选择开始节点</el-button>
  188. </div>
  189. </div>
  190. <div class="demo-input-suffix firsttitle magintop guand_1">
  191. <el-form-item label="结束节点" :label-width="formLabelWidth7">
  192. <el-input v-model="guandaoobj.enId" class="w-50 m-2" placeholder="巷道名称" />
  193. </el-form-item>
  194. <div class="btn2">
  195. <el-button type="primary" @click="nodeclick('end');">选择结束节点</el-button>
  196. </div>
  197. </div>
  198. <el-form-item label="粗糙系数" :label-width="formLabelWidth7">
  199. <el-input v-model="guandaoobj.roughCoe" class="w-50 m-2" placeholder="请输入" />
  200. </el-form-item>
  201. <!-- <el-form-item label="截面类型" :label-width="formLabelWidth7">
  202. <el-input v-model="guandaoobj.sectionType" class="w-50 m-2" placeholder="请输入" />
  203. </el-form-item> -->
  204. <div class="demo-input-suffix firsttitle magintop guand_1">
  205. <el-form-item label="截面类型" :label-width="formLabelWidth7">
  206. <el-select v-model="guandaoobj.sectionType" placeholder="请选择">
  207. <el-option v-for="item in options" :key="item.id" :label="item.label"
  208. :value="item.value"></el-option>
  209. </el-select>
  210. <div class="btn2">
  211. <span> 圆</span>
  212. </div>
  213. </el-form-item>
  214. </div>
  215. <el-form-item label="截面参数1" :label-width="formLabelWidth7">
  216. <el-input v-model="guandaoobj.sectionPara1" class="w-50 m-2" placeholder="请输入" />
  217. </el-form-item>
  218. <el-form-item label="截面参数2" :label-width="formLabelWidth7">
  219. <el-input v-model="guandaoobj.sectionPara2" class="w-50 m-2" placeholder="请输入" />
  220. </el-form-item>
  221. <el-form-item label="截面参数3" :label-width="formLabelWidth7">
  222. <el-input v-model="guandaoobj.sectionPara3" class="w-50 m-2" placeholder="请输入" />
  223. </el-form-item>
  224. <el-form-item label="截面参数4" :label-width="formLabelWidth7">
  225. <el-input v-model="guandaoobj.sectionPara4" class="w-50 m-2" placeholder="请输入" />
  226. </el-form-item>
  227. <el-form-item label="截面参数5" :label-width="formLabelWidth7">
  228. <el-input v-model="guandaoobj.sectionPara5" class="w-50 m-2" placeholder="请输入" />
  229. </el-form-item>
  230. </div>
  231. <div class="dialog-footer footer_div l_btn">
  232. <div class="footerbtn flex1">
  233. <div class="borderimg"><el-button @click="sdialog.gdadddialog = false">取消</el-button>
  234. </div>
  235. </div>
  236. <div class="footerbtn flex1">
  237. <div class="borderimg"><el-button @click="guandaoapi(); sdialog.gdadddialog = false">
  238. 确定
  239. </el-button></div>
  240. </div>
  241. </div>
  242. </el-dialog>
  243. <!-- 删除 -->
  244. <el-dialog v-model="sdialog.guddialogsgdelect" width="400" class="dialog_class bgcolor tianjia">
  245. <template #header="{ titleId, titleClass }">
  246. <div class="my-header ">
  247. <el-image :src="icon" fit="contain"></el-image>
  248. <h4 :id="titleId" :class="titleClass">删除框</h4>
  249. </div>
  250. </template>
  251. <h4 class="delecttitle"> 是否确认删除 <span class="spanclad">{{ zqname }}</span></h4>
  252. <div class="dialog-footer footer_div l_btn">
  253. <div class="footerbtn flex1">
  254. <div class="borderimg"><el-button
  255. @click="sdialog.guddialogsgdelect = false">取消</el-button></div>
  256. </div>
  257. <div class="footerbtn flex1">
  258. <div class="borderimg"><el-button
  259. @click="gddelete(); sdialog.guddialogsgdelect = false">
  260. 确定
  261. </el-button></div>
  262. </div>
  263. </div>
  264. </el-dialog>
  265. </el-tab-pane>
  266. <el-tab-pane label="设备信息" name="third">
  267. </el-tab-pane>
  268. <el-tab-pane label="网络信息" name="thirds">
  269. </el-tab-pane>
  270. </el-tabs>
  271. </div>
  272. </el-dialog>
  273. <Node-Select ref="nodeselect" @queding="queding"/>
  274. </div>
  275. </template>
  276. <script setup>
  277. import { computed, ref, onMounted, reactive, toRef } from "vue";
  278. import { request, uploadFile } from "@/utils/request";
  279. import { ElMessage, ElButton, ElDialog, ElSelect } from 'element-plus'
  280. import icon from "@/assets/img/icon.png";
  281. import { timestampToTime } from '@/js/lindex.js';
  282. import NodeSelect from "./NodeLine.vue";
  283. let nodeselect=ref();
  284. let dialogVisible = ref(false);
  285. let tableData2 = ref([]);
  286. let classradio1 = ref('Fire');
  287. let formLabelWidth6 = ref(70);
  288. let formLabelWidth7=ref(100)
  289. const resultactiveName = ref("first");
  290. let tableHeight = ref(570);
  291. let total = ref(1);
  292. let searchtag = ref("");
  293. let options=ref([{
  294. label:'circle',value:"circle"
  295. },
  296. {
  297. label:'square',value:"square"
  298. },
  299. ])
  300. const currentPage4 = ref(1);
  301. const pageSize4 = ref(5)
  302. let currentrow = ref(false);
  303. let currentrow1 = ref(false);
  304. let sdialog = ref({
  305. adddialog: false,
  306. dialogsgdelect: false,
  307. gdadddialog:false,
  308. guddialogsgdelect:false,
  309. })
  310. let sideid=ref("");
  311. let tableData3 = ref();
  312. let zqname = ref("");
  313. let zhtext = ref("添加");
  314. let nodedata = ref({});
  315. let gddata = ref({});
  316. let nodeobj = ref({
  317. name: "",
  318. x: "",
  319. y: "",
  320. z: "",
  321. })
  322. let guandaoobj = ref({
  323. pid: '',
  324. name: '',
  325. snId: 0,
  326. enId: 0,
  327. roughCoe: '',
  328. sectionType: 'circle',
  329. sectionPara1: '',
  330. sectionPara2: '',
  331. sectionPara3: '',
  332. sectionPara4: '',
  333. sectionPara5: '',
  334. })
  335. let gd = ref({
  336. total: 1,
  337. currentPage4: 1,
  338. pageSize4: 5,
  339. })
  340. const tableRowClassName = ({ row, rowIndex }) => {
  341. if (rowIndex % 2 != 0) {
  342. return 'evenRow';
  343. }
  344. return 'oddRow';
  345. }
  346. onMounted(() => {
  347. pipelinedata()
  348. })
  349. // tab选项事件
  350. const handleClick = (Tab, val) => {
  351. switch (Tab.props.name) {
  352. case 'first':
  353. pipelinedata()
  354. break;
  355. case "second":
  356. guandaodata();
  357. break;
  358. case 'third':
  359. break;
  360. case 'thirds':
  361. break;
  362. }
  363. }
  364. // 节点分页查询
  365. const handleCurrentChange = (val) => {
  366. pipelinedata();
  367. }
  368. // 管道分页查询
  369. const handleCurrentChange2 = (val) => {
  370. guandaodata();
  371. }
  372. //节点数据查询
  373. const pipelinedata = () => {
  374. const params = {
  375. transCode: 'D00000',
  376. count: pageSize4.value,
  377. page: currentPage4.value,
  378. searchtag: searchtag.value,
  379. }
  380. request(params)
  381. .then((res) => {
  382. tableData2.value = res.rows;
  383. total.value = res.total;
  384. })
  385. .catch((err) => {
  386. ElMessage.error(err.returnMsg)
  387. })
  388. }
  389. //节点的添加
  390. const addsg = () => {
  391. zhtext.value = '添加';
  392. currentrow.value = false;
  393. sdialog.value.adddialog = true;
  394. nodeobj.value.name = "";
  395. nodeobj.value.x = "";
  396. nodeobj.value.y = "";
  397. nodeobj.value.z = "";
  398. nodeobj.value.nid = '';
  399. }
  400. //节点添加api
  401. const nodeconfirm = () => {
  402. const params = {
  403. transCode: 'D10000',
  404. nid: nodeobj.value.nid,
  405. name: nodeobj.value.name,
  406. x: nodeobj.value.x,
  407. y: nodeobj.value.y,
  408. z: nodeobj.value.z,
  409. desc: "",
  410. ntype: "mid",
  411. }
  412. request(params)
  413. .then((res) => {
  414. pipelinedata();
  415. ElMessage({
  416. message: res.returnMsg,
  417. type: 'success',
  418. })
  419. })
  420. .catch((err) => {
  421. ElMessage.error(err.returnMsg)
  422. })
  423. }
  424. //选中node节点的一行
  425. const handleDelete = (val) => {
  426. currentrow.value = true;
  427. nodedata.value = val;
  428. }
  429. const handleDelete2 = (val) => {
  430. currentrow1.value = true;
  431. gddata.value = val;
  432. }
  433. //node删除
  434. const nodedelete = () => {
  435. console.log(nodedata.value);
  436. if (JSON.stringify(nodedata.value) == '{}') {
  437. ElMessage.error("你还没有选中修改的项目")
  438. } else {
  439. sdialog.value.dialogsgdelect=true;
  440. zqname.value = nodedata.value.name;
  441. }
  442. }
  443. const nodedeleteapi = () => {
  444. const params = {
  445. transCode: 'D10001',
  446. nid: nodedata.value.id,
  447. }
  448. request(params)
  449. .then((res) => {
  450. pipelinedata();
  451. ElMessage({
  452. message: res.returnMsg,
  453. type: 'success',
  454. })
  455. })
  456. .catch((err) => {
  457. ElMessage.error(err.returnMsg)
  458. })
  459. }
  460. //节点修改
  461. const accident = () => {
  462. if (JSON.stringify(nodedata.value) == '{}') {
  463. ElMessage.error("你还没有选中修改的项目")
  464. } else {
  465. zhtext.value = '修改';
  466. sdialog.value.adddialog = true;
  467. nodeobj.value.name = nodedata.value.name;
  468. nodeobj.value.x = nodedata.value.x;
  469. nodeobj.value.y = nodedata.value.y;
  470. nodeobj.value.z = nodedata.value.z;
  471. nodeobj.value.nid = nodedata.value.id;
  472. }
  473. }
  474. //巷道查询
  475. const guandaodata = () => {
  476. const params = {
  477. transCode: 'D00001',
  478. count: gd.value.pageSize4,
  479. page: gd.value.currentPage4,
  480. searchtag: '',
  481. }
  482. request(params)
  483. .then((res) => {
  484. tableData3.value = res.rows;
  485. gd.value.total = res.total;
  486. })
  487. .catch((err) => {
  488. ElMessage.error(err.returnMsg)
  489. })
  490. }
  491. // 节点选中开始结束
  492. const nodeclick=(val)=>{
  493. nodeselect.value.dialogVisiblenode=true;
  494. nodeselect.value.pipelinedata("");
  495. sideid.value=val;
  496. }
  497. //节点确定的方法
  498. const queding=(row)=>{
  499. if( sideid.value=='start'){
  500. guandaoobj.value.snId=row.id;
  501. }else{
  502. guandaoobj.value.enId=row.id;
  503. }
  504. }
  505. // 管道的add
  506. const guandaoadd=()=>{
  507. sdialog.value.gdadddialog=true;
  508. currentrow1.value = false;
  509. guandaoobj.value.pid='';
  510. guandaoobj.value.name= '';
  511. guandaoobj.value.snId= 0;
  512. guandaoobj.value.enId= 0;
  513. guandaoobj.value.roughCoe= '';
  514. guandaoobj.value.sectionType= 'circle';
  515. guandaoobj.value.sectionPara1='';
  516. guandaoobj.value.sectionPara2='';
  517. guandaoobj.value.sectionPara3='';
  518. guandaoobj.value.sectionPara4='';
  519. guandaoobj.value.sectionPara5='';
  520. }
  521. // 管道增加修改的接口
  522. const guandaoapi=()=>{
  523. const params = {
  524. transCode: 'D10002',
  525. pid: guandaoobj.value.pid,
  526. name:guandaoobj.value.name,
  527. snId: guandaoobj.value.snId,
  528. enId: guandaoobj.value.enId,
  529. roughCoe: guandaoobj.value.roughCoe,
  530. sectionType: guandaoobj.value.sectionType,
  531. sectionPara1:guandaoobj.value.sectionPara1,
  532. sectionPara2: guandaoobj.value.sectionPara2,
  533. sectionPara3: guandaoobj.value.sectionPara3,
  534. sectionPara4: guandaoobj.value.sectionPara4,
  535. sectionPara5: guandaoobj.value.sectionPara5,
  536. }
  537. request(params)
  538. .then((res) => {
  539. ElMessage({
  540. message: res.returnMsg,
  541. type: 'success',
  542. })
  543. guandaodata();
  544. })
  545. .catch((err) => {
  546. ElMessage.error(err.returnMsg)
  547. })
  548. }
  549. // 管道删除
  550. //node删除
  551. const nodedelete2 = () => {
  552. console.log(gddata.value);
  553. if (JSON.stringify(gddata.value) == '{}') {
  554. ElMessage.error("你还没有选中修改的项目")
  555. } else {
  556. sdialog.value.guddialogsgdelect=true;
  557. zqname.value = gddata.value.name;
  558. }
  559. }
  560. const gddelete = () => {
  561. const params = {
  562. transCode: 'D10003',
  563. pid: gddata.value.id,
  564. }
  565. request(params)
  566. .then((res) => {
  567. guandaodata();
  568. ElMessage({
  569. message: res.returnMsg,
  570. type: 'success',
  571. })
  572. })
  573. .catch((err) => {
  574. ElMessage.error(err.returnMsg)
  575. })
  576. }
  577. // 管道修改
  578. const accident2 = () => {
  579. if (JSON.stringify(gddata.value) == '{}') {
  580. ElMessage.error("你还没有选中修改的项目")
  581. } else {
  582. zhtext.value = '修改';
  583. sdialog.value.gdadddialog=true;
  584. guandaoobj.value.pid=gddata.value.id;
  585. guandaoobj.value.name=gddata.value.name;
  586. guandaoobj.value.snId= gddata.value.snId;
  587. guandaoobj.value.enId= gddata.value.enId;
  588. guandaoobj.value.roughCoe=gddata.value.roughCoe;
  589. guandaoobj.value.sectionType= gddata.value.sectionType;
  590. guandaoobj.value.sectionPara1=gddata.value.sectionPara1;
  591. guandaoobj.value.sectionPara2=gddata.value.sectionPara2;
  592. guandaoobj.value.sectionPara3=gddata.value.sectionPara3;
  593. guandaoobj.value.sectionPara4=gddata.value.sectionPara4;
  594. guandaoobj.value.sectionPara5=gddata.value.sectionPara5;;
  595. }
  596. }
  597. defineExpose({ dialogVisible, });
  598. </script>
  599. <style lang="scss" scoped>
  600. .jc_padding {
  601. padding: 18px 10px;
  602. }
  603. .line {
  604. border-bottom: 1px solid rgba(255, 255, 255, 0.20);
  605. box-sizing: border-box;
  606. }
  607. .L_aside {
  608. .iconimg {
  609. width: 37px;
  610. height: 36px;
  611. margin: 0 7px 0 24px;
  612. }
  613. .Frame2 {
  614. background-image: url(../assets/img/Frame2.png);
  615. background-size: 100%;
  616. background-position: center;
  617. }
  618. .Frame3 {
  619. background-image: url(../assets/img/Frame3.png);
  620. background-repeat: no-repeat;
  621. background-position: center;
  622. }
  623. .el-collapse,
  624. .el-collapse-item__header {
  625. border: none;
  626. ul li {
  627. text-align: left;
  628. }
  629. .inputkuang {
  630. height: 30px;
  631. width: 100%;
  632. background: rgba(13, 22, 57, 0.4);
  633. position: relative;
  634. .righttext {
  635. display: inline-block;
  636. position: absolute;
  637. right: 10px;
  638. top: 3px;
  639. }
  640. }
  641. .inputtext_1 {
  642. font-weight: 400;
  643. font-size: 13px;
  644. color: #FFFFFF;
  645. line-height: 14px;
  646. text-align: left;
  647. font-style: normal;
  648. text-transform: none;
  649. padding: 13px 0 7px 0;
  650. display: inline-block;
  651. }
  652. }
  653. }
  654. .ddd {
  655. margin-top: 20px;
  656. .ddd_div {
  657. padding: 20px 0;
  658. position: relative;
  659. }
  660. .class_btn {
  661. position: absolute;
  662. right: 0;
  663. top: 21px;
  664. }
  665. }
  666. .header_l {
  667. line-height: 10px;
  668. text-align: left;
  669. padding: 0 20px;
  670. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  671. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  672. border-radius: 0px 0px 0px 0px;
  673. .el-image {
  674. padding: 10px 10px 0 0;
  675. }
  676. h4 {
  677. font-weight: bold;
  678. font-size: 12px;
  679. color: #68ADFF;
  680. line-height: 14px;
  681. text-align: left;
  682. font-style: normal;
  683. text-transform: none;
  684. }
  685. }
  686. .tianjia {
  687. display: inline-block;
  688. }
  689. .el-dialog__title {
  690. display: inline-block;
  691. }
  692. .bgcolor {
  693. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  694. border-radius: 0px 0px 0px 0px;
  695. border: 1px solid;
  696. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  697. }
  698. .dialog_class {
  699. .my-header {
  700. line-height: 10px;
  701. height: 40px;
  702. text-align: left;
  703. padding: 0 20px;
  704. border-bottom: 1px solid;
  705. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  706. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  707. border-radius: 0px 0px 0px 0px;
  708. .el-image {
  709. padding: 10px 10px 0 0;
  710. }
  711. h4 {
  712. font-weight: bold;
  713. font-size: 12px;
  714. color: #68ADFF;
  715. line-height: 14px;
  716. text-align: left;
  717. font-style: normal;
  718. text-transform: none;
  719. }
  720. }
  721. .el-dialog__footer {
  722. position: absolute;
  723. bottom: 17px;
  724. display: flex;
  725. .footerbtn {
  726. flex: 1;
  727. text-align: center;
  728. }
  729. }
  730. }
  731. .my_content1 {
  732. .el-table .cell {
  733. font-weight: 400;
  734. font-size: 12px;
  735. color: #FFFFFF !important;
  736. line-height: 14px;
  737. text-align: left;
  738. font-style: normal;
  739. text-transform: none;
  740. }
  741. }
  742. .l_btn .borderimg {
  743. width: 70px;
  744. height: 30px;
  745. background: rgba(104, 173, 255, 0.3);
  746. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  747. /* border: 1px solid rgba(31, 107, 255, 1); */
  748. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  749. border-radius: 4px;
  750. display: flex;
  751. display: inline-block;
  752. box-sizing: border-box;
  753. }
  754. .borderimg {
  755. width: 109px;
  756. height: 30px;
  757. background: rgba(104, 173, 255, 0.3);
  758. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  759. /* border: 1px solid rgba(31, 107, 255, 1); */
  760. -o-border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  761. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  762. border-radius: 4px;
  763. display: flex;
  764. display: inline-block;
  765. box-sizing: border-box
  766. }
  767. .el-table,
  768. .el-table thead th {
  769. background-color: rgba(13, 22, 57, 0.96) !important;
  770. }
  771. .L_aside {
  772. height: calc(100vh - 70px);
  773. position: absolute;
  774. top: 70px;
  775. overflow: hidden;
  776. }
  777. .asides_content {
  778. .el-form-item__label {
  779. color: #FFFFFF !important;
  780. }
  781. }
  782. .asdis_btn {
  783. display: flex;
  784. margin-top: 9px;
  785. .btn {
  786. flex: 1;
  787. width: 145px;
  788. height: 54px;
  789. background-image: url(../assets/img/Rectangle5.png);
  790. background-repeat: no-repeat;
  791. line-height: 54px;
  792. .spantext {
  793. font-weight: bold;
  794. font-size: 12px;
  795. color: #FFFFFF;
  796. text-align: center;
  797. font-style: normal;
  798. text-transform: none;
  799. }
  800. }
  801. }
  802. .logs {
  803. margin-top: 25px;
  804. border-radius: 0px 0px 0px 0px;
  805. border-top: 1px solid;
  806. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  807. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  808. h4 {
  809. padding: 10px 0;
  810. font-weight: 400;
  811. font-size: 13px;
  812. color: #FFFFFF;
  813. line-height: 14px;
  814. text-align: left;
  815. font-style: normal;
  816. text-transform: none;
  817. }
  818. }
  819. .logs_pading {
  820. padding: 13px 20px 23px 24px;
  821. }
  822. .newtime {
  823. height: 112px;
  824. padding: 38px;
  825. font-weight: bold;
  826. font-size: 20px;
  827. color: #FF0F0F;
  828. line-height: 23px;
  829. text-align: center;
  830. font-style: normal;
  831. text-transform: none;
  832. }
  833. .animation_s {
  834. padding: 25px;
  835. }
  836. .tanniu ul {
  837. margin-top: 40px;
  838. display: flex;
  839. li {
  840. flex: 1;
  841. text-align: center;
  842. p {
  843. text-align: center;
  844. font-weight: 400;
  845. font-size: 12px;
  846. color: #FFFFFF;
  847. line-height: 14px;
  848. font-style: normal;
  849. text-transform: none;
  850. }
  851. }
  852. }
  853. .jiancedian {
  854. width: 371px;
  855. position: absolute;
  856. right: 0;
  857. top: 70px;
  858. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  859. border-radius: 4px 4px 4px 4px;
  860. border: 1px solid;
  861. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  862. }
  863. </style>
  864. <style>
  865. /* //.bgcolor */
  866. .bgcolor {
  867. border-radius: 0px 0px 0px 0px;
  868. border: 1px solid;
  869. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  870. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  871. }
  872. .dialog_class {
  873. background-color: rgba(13, 22, 57, 0.9) !important;
  874. }
  875. .el-dialog__header,
  876. .el-dialog__body,
  877. .el-dialog__footer {
  878. padding: 0 !important;
  879. margin: 0 !important;
  880. }
  881. .el-dialog {
  882. --el-dialog-padding-primary: 0px !important;
  883. }
  884. .el-dialog__headerbtn {
  885. position: absolute;
  886. top: 2px !important;
  887. right: 0;
  888. padding: 0;
  889. width: 40px !important;
  890. height: 40px !important;
  891. background: 0 0;
  892. border: none;
  893. outline: 0;
  894. cursor: pointer;
  895. font-size: var(--el-message-close-size, 16px);
  896. }
  897. .el-icon {
  898. color: #68ADFF !important;
  899. }
  900. .l_btn .borderimg {
  901. width: 109px;
  902. height: 30px;
  903. background: rgba(104, 173, 255, 0.3);
  904. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  905. /* border: 1px solid rgba(31, 107, 255, 1); */
  906. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  907. border-radius: 4px;
  908. display: flex;
  909. display: inline-block;
  910. box-sizing: border-box;
  911. }
  912. .l_btn .el-button {
  913. width: 100%;
  914. height: 100%;
  915. border-radius: 4px;
  916. color: #fff;
  917. background: rgba(104, 173, 255, 0.3);
  918. border: 1px solid rgba(31, 107, 255, 1);
  919. }
  920. .class_footer {
  921. position: absolute;
  922. bottom: 17px;
  923. }
  924. .footer_div {
  925. height: 90px;
  926. padding: 30px 0;
  927. }
  928. .l_btn {
  929. width: 100%;
  930. bottom: 17px;
  931. display: flex;
  932. border-radius: 4px;
  933. }
  934. .el-table .el-table__cell {
  935. padding: 0 !important;
  936. height: 30px;
  937. line-height: 30px;
  938. }
  939. /* .el-table tr,.el-table th.el-table__cell{
  940. background-color: rgba(13, 22, 57, 0.96) !important;
  941. } */
  942. .el-table__row {
  943. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  944. border-radius: 0px 0px 0px 0px;
  945. border: 1px solid;
  946. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  947. }
  948. .el-table td.el-table__cell,
  949. .el-table th.el-table__cell.is-leaf {
  950. /* box-shadow: inset 0px 0px 17px 5px rgba(12,97,197,0.2); */
  951. border: none !important;
  952. /* border-radius: 0px 0px 0px 0px;
  953. border-bottom: 1px solid;
  954. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1; */
  955. }
  956. .oddRow {
  957. background-color: rgba(104, 173, 255, 0.20) !important;
  958. }
  959. .evenRow {
  960. /* // background-color: rgba(13, 22, 57, 0.96) !important; */
  961. background-color: rgba(104, 173, 255, 0.02) !important;
  962. }
  963. .my_content1 .el-table .cell {
  964. font-weight: 400;
  965. font-size: 12px;
  966. color: #FFFFFF !important;
  967. line-height: 14px;
  968. text-align: left;
  969. font-style: normal;
  970. text-transform: none;
  971. }
  972. .el-table--border .el-table__inner-wrapper::after,
  973. .el-table--border::after,
  974. .el-table--border::before,
  975. .el-table__inner-wrapper::before {
  976. height: 0 !important;
  977. background-color: rgba(red, green, blue, 0) !important;
  978. }
  979. .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
  980. background-color: rgba(255, 255, 25, 0)!important;
  981. }
  982. .el-button:focus,
  983. .el-button:hover {
  984. background: rgba(104, 173, 255, 1) !important;
  985. font-weight: bold;
  986. color: #000 !important;
  987. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  988. border-radius: 4px 4px 4px 4px;
  989. border: 1px solid;
  990. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  991. }
  992. .el-input__wrapper {
  993. height: 30px;
  994. background: rgba(104, 173, 255, 0.3) !important;
  995. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2) !important;
  996. border-radius: 0px 0px 0px 0px;
  997. border: 1px solid;
  998. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  999. }
  1000. .selecwidth .el-input__wrapper {
  1001. height: auto !important;
  1002. }
  1003. .selecwidth .el-select__tags {
  1004. max-width: 200px !important;
  1005. }
  1006. .ddd_div .el-input__inner {
  1007. border: none;
  1008. /* background: rgba(104,173,255,0.3); */
  1009. }
  1010. .ddd_div .el-form-item__label {
  1011. color: #fff !important;
  1012. }
  1013. .ddd_div .demo-input-suffix {
  1014. width: 100%;
  1015. }
  1016. .ddd .el-form-item {
  1017. width: 80%;
  1018. }
  1019. /* .el-input__inner::placeholder {
  1020. color: #fff !important;
  1021. } */
  1022. .flex1 {
  1023. flex: 1;
  1024. }
  1025. .el-radio__input.is-checked .el-radio__inner {
  1026. border-color: #fff !important;
  1027. background: #fff !important;
  1028. }
  1029. .el-radio__inner {
  1030. border: 2px solid #fff !important;
  1031. background-color: rgba(104, 173, 255, 0) !important;
  1032. border: 1px solid #68ADFF;
  1033. }
  1034. .asideg .el-collapse-item__header {
  1035. height: 50px !important;
  1036. width: 100%;
  1037. background-position: left;
  1038. border: none !important;
  1039. font-weight: bold;
  1040. font-size: 15px;
  1041. color: #FFFFFF;
  1042. line-height: 18px;
  1043. text-align: left;
  1044. font-style: normal;
  1045. text-transform: none;
  1046. }
  1047. .leftbgimg .el-collapse-item__header {
  1048. background-image: url(../assets/img/Group10.png) !important;
  1049. }
  1050. .asideg1 .jc_header {
  1051. width: 100%;
  1052. height: 52px;
  1053. line-height: 69px;
  1054. background-image: url(../assets/img/Group24.png) !important;
  1055. background-repeat: no-repeat;
  1056. background-position: center;
  1057. }
  1058. .jc_tile {
  1059. padding-left: 20px;
  1060. }
  1061. .he_pading {
  1062. padding: 19px 14px 0 31px;
  1063. }
  1064. .asideg1 .el-form-item__label {
  1065. font-weight: 400;
  1066. font-size: 13px;
  1067. color: #FFFFFF;
  1068. text-align: left;
  1069. font-style: normal;
  1070. text-transform: none;
  1071. }
  1072. .asideg .el-collapse {
  1073. --el-collapse-header-bg-color: none !important;
  1074. }
  1075. .asideg .el-collapse-item__arrow {
  1076. margin: 0 8px 0 auto;
  1077. font-weight: 800;
  1078. color: #fff !important;
  1079. font-weight: bold !important;
  1080. font-size: 20px !important;
  1081. }
  1082. .el-collapse-item__content {
  1083. background: rgba(13, 22, 57, 0.2);
  1084. }
  1085. .asideg .el-input__wrapper {
  1086. background: rgba(104, 173, 255, 0) !important;
  1087. border: 1px solid rgba(31, 107, 255, 1);
  1088. border-radius: 4px;
  1089. box-shadow: none !important;
  1090. }
  1091. .asideg .el-input__inner {
  1092. color: rgba(255, 15, 15, 1);
  1093. font-weight: 400;
  1094. font-size: 16px;
  1095. }
  1096. .el-collapse {
  1097. --el-collapse-header-bg-color: rgba(104, 173, 255, 0) !important;
  1098. --el-collapse-header-text-color: var(--el-text-color-primary);
  1099. --el-collapse-header-font-size: 13px;
  1100. --el-collapse-content-text-color: rgba(104, 173, 255, 0) !important;
  1101. --el-collapse-content-bg-color: rgba(104, 173, 255, 0) !important;
  1102. }
  1103. .asideg .el-collapse-item__content {
  1104. height: calc(100vh - 100px);
  1105. overflow-y: auto;
  1106. padding: 0 !important;
  1107. }
  1108. .asideg .el-collapse-item__wrap {
  1109. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  1110. border-radius: 4px 4px 4px 4px;
  1111. border-bottom: 1px solid;
  1112. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  1113. }
  1114. #textarea_id {
  1115. height: 226px;
  1116. background: rgba(104, 173, 255, 0) !important;
  1117. border: 1px solid rgba(31, 107, 255, 1);
  1118. border-radius: 4px;
  1119. box-shadow: none !important;
  1120. }
  1121. .asides_content .el-form-item__label {
  1122. color: #FFFFFF !important;
  1123. font-weight: 400;
  1124. font-size: 13px;
  1125. line-height: 33px;
  1126. text-align: left;
  1127. font-style: normal;
  1128. text-transform: none;
  1129. }
  1130. .el-form-item {
  1131. width: 100%;
  1132. }
  1133. .el-select__wrapper {
  1134. background-color: rgba(104, 173, 255, 0) !important;
  1135. }
  1136. .el-select__wrapper.is-hovering:not(.is-focused),
  1137. .el-select__wrapper {
  1138. box-shadow: none !important;
  1139. border: 1px solid rgba(31, 107, 255, 1);
  1140. border-radius: 4px;
  1141. box-shadow: none !important;
  1142. }
  1143. /* Webkit内核浏览器(Chrome、Safari等)*/
  1144. ::-webkit-scrollbar {
  1145. width: 4px;
  1146. /* 设置滚动条宽度 */
  1147. background-color: #161A2A;
  1148. /* 设置滚动条背景颜色 */
  1149. }
  1150. /* 滑块样式 */
  1151. ::-webkit-scrollbar-thumb {
  1152. border-radius: 2px;
  1153. /* 设置滑块边角半径 */
  1154. background-color: rgba(31, 107, 255, 1);
  1155. /* 设置滑块背景颜色 */
  1156. }
  1157. /* 滑块在hover状态时的样式 */
  1158. ::-webkit-scrollbar-thumb:hover {
  1159. background-color: #555;
  1160. /* 设置滑块在hover状态下的背景颜色 */
  1161. }
  1162. /* 滚动条轨道样式 */
  1163. ::-webkit-scrollbar-track {
  1164. background-color: rgba(104, 173, 255, 0.4)
  1165. /* 设置滚动条轨道背景颜色 */
  1166. }
  1167. .classtab .el-tabs--card>.el-tabs__header .el-tabs__item {
  1168. position: relative;
  1169. /* border-top: 1px solid;
  1170. border-left: 1px solid;
  1171. border-bottom: 1px solid;
  1172. border-radius: 0px 0px 0px 0px; */
  1173. }
  1174. .classtab .el-tabs--card>.el-tabs__header .el-tabs__item::after{
  1175. content: " ";
  1176. position: absolute;
  1177. top: 0;
  1178. left: 0;
  1179. width: 200%;
  1180. height: 200%;
  1181. border-right: 1px solid;
  1182. border-top: 1px solid;
  1183. border-bottom: 1px solid;
  1184. border-image: linear-gradient(180deg, rgb(31, 107, 255), rgba(31, 107, 255, 0.48)) 1 1;
  1185. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  1186. transform-origin: 0 0;
  1187. transform: scale(0.5);
  1188. }
  1189. .classtab .el-tabs__item {
  1190. /* width:120px; */
  1191. height: 48px;
  1192. padding: 0 10px !important;
  1193. font-weight: bold;
  1194. font-size: 12px;
  1195. color: #68ADFF;
  1196. line-height: 16px;
  1197. text-align: center;
  1198. font-style: normal;
  1199. text-transform: none;
  1200. }
  1201. .el-tabs--card>.el-tabs__header,
  1202. .el-tabs--card>.el-tabs__header,
  1203. .el-tabs--card>.el-tabs__header .el-tabs__nav {
  1204. border: none !important;
  1205. }
  1206. .classtab .el-tabs {
  1207. --el-tabs-header-height: 48px !important;
  1208. }
  1209. .classtab .el-tabs__header {
  1210. margin: 0 !important;
  1211. }
  1212. .classtab .is-active {
  1213. height: 48px;
  1214. background: radial-gradient(ellipse at 54px 0px, #3AA0FF -37%, #123066 53%);
  1215. border-radius: 0px 0px 0px 0px;
  1216. color: #fff !important;
  1217. border-left: 1px solid rgba(16, 92, 240, 1);
  1218. border-right: 1px solid rgba(18, 48, 102, 1);
  1219. border-image: linear-gradient(347deg, rgba(16, 92, 240, 1), rgba(18, 48, 102, 1)) 1 1;
  1220. }
  1221. .classtab .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
  1222. border-top-left-radius: 10px !important;
  1223. border-top-right-radius: 10px !important;
  1224. }
  1225. .classtab .el-tabs--card>.el-tabs__header .el-tabs__item{
  1226. border: none !important;
  1227. }
  1228. .classtab .el-tabs__content {
  1229. border: 1px solid;
  1230. color: rgba(255, 15, 15, 1) !important;
  1231. border-image: linear-gradient(347deg, rgba(16, 92, 240, 1), rgba(18, 48, 102, 1)) 1 1;
  1232. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  1233. border-radius: 0px 0px 0px 0px;
  1234. position: relative;
  1235. }
  1236. .el-select__input {
  1237. font-size: 12px;
  1238. }
  1239. ul,
  1240. ol {
  1241. list-style: none;
  1242. padding: 0;
  1243. margin: 0;
  1244. }
  1245. /* 新的css */
  1246. /* .classtab {
  1247. display: flex;
  1248. } */
  1249. .classtab .el-tabs__item {
  1250. /* flex: 1 */
  1251. }
  1252. .xinxi_header {
  1253. border-bottom: none !important;
  1254. }
  1255. .classtab .el-tabs__nav {
  1256. /* width: 480px; */
  1257. }
  1258. .zhucentent .el-table__header tr {
  1259. background-color: none !important;
  1260. }
  1261. .el-table .el-table__header tr {
  1262. background-color: rgba(104, 173, 255, 0) !important;
  1263. }
  1264. .oddRow {
  1265. /* //background-color: rgba(104, 173, 255, 0.2) !important; */
  1266. background: rgba(104, 173, 255, 0.33) !important;
  1267. }
  1268. .evenRow {
  1269. background-color: rgba(13, 22, 57, 0.96) !important;
  1270. }
  1271. .el-overlay-dialog {
  1272. pointer-events: none;
  1273. }
  1274. .summary-dlg {
  1275. pointer-events: none;
  1276. }
  1277. .el-dialog__wrapper,
  1278. .el-overlay-dialog {
  1279. pointer-events: none;
  1280. }
  1281. .el-dialog {
  1282. pointer-events: auto;
  1283. }
  1284. .leftbgimg1 .el-table tr {
  1285. height: 30px !important;
  1286. background: rgba(104, 173, 255, 0.3);
  1287. box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
  1288. border-radius: 0px 0px 0px 0px;
  1289. border: 1px solid;
  1290. border-image: linear-gradient(180deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0.48)) 1 1;
  1291. }
  1292. .guand_1 {
  1293. display: flex;
  1294. }
  1295. .guand_1 .asdis_btn {
  1296. margin-top: -9px;
  1297. }
  1298. .magintop .el-form-item {
  1299. margin-right: 20px;
  1300. }
  1301. .pagination {
  1302. padding: 0 20px;
  1303. }
  1304. .el-pagination__total {
  1305. color: #fff !important;
  1306. }
  1307. </style>