MenuMine.vue 45 KB

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