pt.vue 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996
  1. <template>
  2. <div class="header">
  3. <!-- 大盒子 -->
  4. <div class="box">
  5. <!-- 头部区域 -->
  6. <div class="tou">
  7. <div class="yong_hu">
  8. <!-- <span style="color: ">单位 :</span> -->
  9. <span class="span" style="padding-left: 4px">{{ danWie }}</span>
  10. <span style="color: #00f6ff">用户名 :</span>
  11. <span style="padding-left: 4px; color: #00f6ff">{{ yongHu }}</span>
  12. </div>
  13. <span
  14. class="iconfont icon-logout"
  15. @click="logout"
  16. style="
  17. font-size: 24px;
  18. cursor: pointer;
  19. position: absolute;
  20. right: 16px;
  21. top: 8px;
  22. "
  23. ></span>
  24. <span style="color: #00f6ff; font-size: 1vw" class="tiem">
  25. {{
  26. times
  27. }}
  28. </span>
  29. <!-- <img class="liuxian" src="../assets/images/流线.gif" alt />
  30. <img class="img-left" src="../assets/images/闪烁GIF-慢.gif" alt />-->
  31. </div>
  32. <!-- 主体区域 -->
  33. <div class="centen">
  34. <!-- 左面盒子 -->
  35. <div class="boxx">
  36. <ul
  37. class="ul"
  38. v-if="
  39. str.includes('admin') ||
  40. str.includes('基层登记') ||
  41. str.includes('集中文印') ||
  42. str.includes('工作安排') ||
  43. str.includes('规章制度') ||
  44. str.includes('态势分析') ||
  45. str.includes('通知公告')
  46. "
  47. >
  48. <li v-show="str.includes('基层登记') || str.includes('admin')">
  49. <div class="demo-box">
  50. <div class="demo active" v-on:click="doThis">
  51. <img src="../images/dj.png" alt />
  52. <span class="tanhao" v-show="yuStatus"></span>
  53. </div>
  54. </div>
  55. <div class="demo-a">
  56. <a href="#" class="a">基 层 登 记</a>
  57. </div>
  58. </li>
  59. <li v-show="str.includes('集中文印') || str.includes('admin')">
  60. <div class="demo-box">
  61. <div
  62. class="demo active"
  63. id="a1"
  64. v-on:click="wenyinfun"
  65. data-url="/diary?ref=addtabs"
  66. >
  67. <img src="../images/dy.png" alt />
  68. </div>
  69. </div>
  70. <div class="demo-a">
  71. <a href="#" class="a">集 中 文 印</a>
  72. </div>
  73. </li>
  74. <li v-show="str.includes('工作安排') || str.includes('admin')">
  75. <div class="demo-box">
  76. <div class="demo active" v-on:click="gongzuofun" data-url="/diary?ref=addtabs">
  77. <img src="../images/gz.png" alt />
  78. <span class="tanhao" v-show="yuStatus1"></span>
  79. </div>
  80. </div>
  81. <div class="demo-a">
  82. <a href="#" class="a">工 作 安 排</a>
  83. </div>
  84. </li>
  85. <li v-show="str.includes('规章制度') || str.includes('admin')">
  86. <div class="demo-box">
  87. <div class="demo active" v-on:click="guizhangfun" data-url="/diary?ref=addtabs">
  88. <img src="../images/zd.png" alt />
  89. </div>
  90. </div>
  91. <div class="demo-a">
  92. <a href="#" class="a">规 章 制 度</a>
  93. </div>
  94. </li>
  95. <li v-show="str.includes('态势分析') || str.includes('admin')">
  96. <div class="demo-box">
  97. <div class="demo active" v-on:click="taishifun" data-url="/diary?ref=addtabs">
  98. <img src="../images/fx.png" alt />
  99. </div>
  100. </div>
  101. <div class="demo-a">
  102. <a href="#" class="a">态 势 分 析</a>
  103. </div>
  104. </li>
  105. <li v-show="str.includes('通知公告') || str.includes('admin')">
  106. <div class="demo-box">
  107. <div
  108. id="q1"
  109. class="demo active"
  110. v-on:click="tongzhifun"
  111. data-url="/diary?ref=addtabs"
  112. >
  113. <img src="../assets/images/通知公告1.png" alt />
  114. </div>
  115. </div>
  116. <div class="demo-a">
  117. <a href="#" class="a">通 知 公 告</a>
  118. </div>
  119. </li>
  120. <img
  121. src="../assets/images/椭圆 513 (2).png"
  122. class="li-img"
  123. alt
  124. v-if="
  125. str.includes('admin') ||
  126. str.includes('基层登记') ||
  127. str.includes('集中文印') ||
  128. str.includes('工作安排') ||
  129. str.includes('规章制度') ||
  130. str.includes('态势分析') ||
  131. str.includes('通知公告')
  132. "
  133. />
  134. </ul>
  135. <!-- <hr /> -->
  136. <ul
  137. class="ul"
  138. v-if="
  139. str.includes('admin') ||
  140. str.includes('战备值班') ||
  141. str.includes('检查督导') ||
  142. str.includes('人员进出') ||
  143. str.includes('安防监控') ||
  144. str.includes('车行闸道') ||
  145. str.includes('门岗管理') ||
  146. str.includes('门禁管理') ||
  147. str.includes('手机管理')
  148. "
  149. >
  150. <li v-if="str.includes('战备值班') || str.includes('admin')">
  151. <div class="demo-box">
  152. <div class="demo active" v-on:click="zhanbeifun" data-url="/diary?ref=addtabs">
  153. <img src="../images/zb.png" alt />
  154. </div>
  155. </div>
  156. <div class="demo-a">
  157. <a href="#" class="a">战备值班</a>
  158. </div>
  159. </li>
  160. <li v-if="str.includes('检查督导') || str.includes('admin')">
  161. <div class="demo-box">
  162. <div class="demo active" v-on:click="jianchafun" data-url="/diary?ref=addtabs">
  163. <img src="../images/jc.png" alt />
  164. <span class="tanhao" v-show="yuStatus2"></span>
  165. </div>
  166. </div>
  167. <div class="demo-a">
  168. <a href="#" class="a">检查督导</a>
  169. </div>
  170. </li>
  171. <li v-if="str.includes('人员进出') || str.includes('admin')">
  172. <div class="demo-box">
  173. <div class="demo active" v-on:click="renyuanfun" data-url="/diary?ref=addtabs">
  174. <img src="../images/ry.png" alt />
  175. </div>
  176. </div>
  177. <div class="demo-a">
  178. <a href="#" class="a">人员进出</a>
  179. </div>
  180. </li>
  181. <li v-if="str.includes('安防监控') || str.includes('admin')">
  182. <div class="demo-box">
  183. <div class="demo active" v-on:click="anfangfun" data-url="/diary?ref=addtabs">
  184. <img src="../images/af.png" alt />
  185. </div>
  186. </div>
  187. <div class="demo-a">
  188. <a href="#" class="a">安防监控</a>
  189. </div>
  190. </li>
  191. <li v-if="str.includes('车行闸道') || str.includes('admin')">
  192. <div class="demo-box">
  193. <div class="demo active" v-on:click="chexingfun" data-url="/diary?ref=addtabs">
  194. <img src="../images/ag.png" alt />
  195. </div>
  196. </div>
  197. <div class="demo-a">
  198. <a href="#" class="a">车行闸道</a>
  199. </div>
  200. </li>
  201. <li v-if="str.includes('门岗管理') || str.includes('admin')">
  202. <div class="demo-box">
  203. <div class="demo active" v-on:click="mengangfun" data-url="/diary?ref=addtabs">
  204. <img src="../images/ag.png" alt />
  205. </div>
  206. </div>
  207. <div class="demo-a">
  208. <a href="#" class="a">门岗管理</a>
  209. </div>
  210. </li>
  211. <li v-if="str.includes('门禁管理') || str.includes('admin')">
  212. <div class="demo-box">
  213. <div
  214. class="demo active"
  215. id="a2"
  216. data-url="/diary?ref=addtabs"
  217. v-on:click="mengJinFun"
  218. >
  219. <img src="../images/mj.png" alt />
  220. </div>
  221. </div>
  222. <div class="demo-a">
  223. <a href="#" class="a">门禁管理</a>
  224. </div>
  225. </li>
  226. <li v-if="str.includes('手机管理') || str.includes('admin')">
  227. <div class="demo-box">
  228. <div class="demo active" v-on:click="zhinengfun" data-url="/diary?ref=addtabs">
  229. <img src="../assets/images/智能手机柜.png" alt class="phone" />
  230. </div>
  231. </div>
  232. <div class="demo-a">
  233. <a href="#" class="a">手机管理</a>
  234. </div>
  235. </li>
  236. <img
  237. src="../assets/images/椭圆 513 (2).png"
  238. class="li-img"
  239. alt
  240. v-if="
  241. str.includes('admin') ||
  242. str.includes('战备值班') ||
  243. str.includes('检查督导') ||
  244. str.includes('人员进出') ||
  245. str.includes('安防监控') ||
  246. str.includes('车行闸道') ||
  247. str.includes('门岗管理') ||
  248. str.includes('门禁管理') ||
  249. str.includes('手机管理')
  250. "
  251. />
  252. </ul>
  253. <!-- <hr /> -->
  254. <ul
  255. class="ul"
  256. v-if="
  257. str.includes('admin') ||
  258. str.includes('安全风险预警') ||
  259. str.includes('门岗demo') ||
  260. str.includes('思想政治') ||
  261. str.includes('人力资源')
  262. "
  263. >
  264. <li v-if="str.includes('安全风险预警') || str.includes('admin')">
  265. <div class="demo-box">
  266. <div class="demo active" v-on:click="safetyfun" data-url="/diary?ref=addtabs">
  267. <img src="../images/sx.png" alt />
  268. </div>
  269. </div>
  270. <div class="demo-a">
  271. <a href="#" class="a">安全风险预警</a>
  272. </div>
  273. </li>
  274. <li v-if="str.includes('门岗demo') || str.includes('admin')">
  275. <div class="demo-box">
  276. <div class="demo active" v-on:click="mengangdemofun" data-url="/diary?ref=addtabs">
  277. <img src="../images/sx.png" alt />
  278. </div>
  279. </div>
  280. <div class="demo-a">
  281. <a href="#" class="a">门岗demo</a>
  282. </div>
  283. </li>
  284. <li v-if="str.includes('思想政治') || str.includes('admin')">
  285. <div class="demo-box">
  286. <div class="demo active" v-on:click="sixiangfun" data-url="/diary?ref=addtabs">
  287. <img src="../images/sx.png" alt />
  288. </div>
  289. </div>
  290. <div class="demo-a">
  291. <a href="#" class="a">思想政治教育</a>
  292. </div>
  293. </li>
  294. <li v-if="str.includes('人力资源') || str.includes('admin')">
  295. <div class="demo-box">
  296. <div class="demo active" v-on:click="renlifun" data-url="/diary?ref=addtabs">
  297. <img src="../images/rl.png" alt />
  298. </div>
  299. </div>
  300. <div class="demo-a">
  301. <a href="#" class="a">人力资源</a>
  302. </div>
  303. </li>
  304. <li v-if="str.includes('admin') || str.includes('系统工具')">
  305. <div class="demo-box">
  306. <div
  307. class="demo active"
  308. v-on:click="gongju"
  309. data-url="/diary?ref=addtabs"
  310. id="xitong"
  311. >
  312. <img src="../images/xtong.png" alt />
  313. </div>
  314. </div>
  315. <div class="demo-a">
  316. <a href="#" class="a">系统工具</a>
  317. </div>
  318. </li>
  319. <img
  320. src="../assets/images/椭圆 513 (2).png"
  321. class="li-img"
  322. alt
  323. v-if="
  324. str.includes('admin') ||
  325. str.includes('安全风险预警') ||
  326. str.includes('门岗demo') ||
  327. str.includes('思想政治') ||
  328. str.includes('人力资源')
  329. "
  330. />
  331. </ul>
  332. <!-- <hr /> -->
  333. <ul class="ul">
  334. <li v-if="str.includes('车辆管理') || str.includes('admin')">
  335. <div class="demo-box">
  336. <div class="demo active" id="a3" v-on:click="junchefun">
  337. <img src="../images/cart.png" alt />
  338. </div>
  339. </div>
  340. <div class="demo-a">
  341. <a href="#" class="a">车辆管理</a>
  342. </div>
  343. </li>
  344. <li v-if="str.includes('营房管理') || str.includes('admin')">
  345. <div class="demo-box">
  346. <div class="demo active" v-on:click="yingfangfun" data-url="/diary?ref=addtabs">
  347. <img src="../images/git.png" alt />
  348. </div>
  349. </div>
  350. <div class="demo-a">
  351. <a href="#" class="a">营房管理</a>
  352. </div>
  353. </li>
  354. <li v-if="str.includes('库房管理') || str.includes('admin')">
  355. <div class="demo-box">
  356. <div class="demo active" v-on:click="yingjufun" data-url="/diary?ref=addtabs">
  357. <img src="../images/gl.png" alt />
  358. </div>
  359. </div>
  360. <div class="demo-a">
  361. <a href="#" class="a">库房管理</a>
  362. </div>
  363. </li>
  364. <li v-if="str.includes('医疗卫生') || str.includes('admin')">
  365. <div class="demo-box">
  366. <div class="demo active" v-on:click="yiliaofun" data-url="/diary?ref=addtabs">
  367. <img src="../images/yl.png" alt />
  368. </div>
  369. </div>
  370. <div class="demo-a">
  371. <a href="#" class="a">医疗卫生管理</a>
  372. </div>
  373. </li>
  374. <li v-if="str.includes('涉密载体外借') || str.includes('admin')">
  375. <div class="demo-box">
  376. <div class="demo active" v-on:click="baomifun" data-url="/diary?ref=addtabs">
  377. <img src="../assets/images/保密协议.png" alt />
  378. </div>
  379. </div>
  380. <div class="demo-a">
  381. <a href="#" class="a">涉密载体外借</a>
  382. </div>
  383. </li>
  384. <li v-if="str.includes('系统管理') || str.includes('admin')">
  385. <div class="demo-box">
  386. <div class="demo active" v-on:click="xitongfun" data-url="/diary?ref=addtabs">
  387. <img src="../images/xt1.png" alt />
  388. </div>
  389. </div>
  390. <div class="demo-a">
  391. <a href="#" class="a">系统管理</a>
  392. </div>
  393. </li>
  394. </ul>
  395. </div>
  396. <!-- 右面盒子 -->
  397. <div class="rigin">
  398. <div class="num1">
  399. <div class="num2">
  400. <img src="../images/db.png" alt />
  401. <span style="font-family: siyuanbold; font-size: 15.5px">待办事项</span>
  402. </div>
  403. <ul class="num1-ul">
  404. <div class="num2-ul-title">
  405. <div class="num2-ul-title-l">任务名称</div>
  406. <div class="num2-ul-title-c">优先级</div>
  407. <div class="num2-ul-title-r">执行人</div>
  408. </div>
  409. <li class="num2-ul-li" v-for="item in worklist" :key="item.id" @click="dbsxfun">
  410. <div class="num2-ul-li-l">{{ item.workName }}</div>
  411. <div class="num2-ul-li-c" v-if="item.workPriority == 0">紧急</div>
  412. <div class="num2-ul-li-c" v-if="item.workPriority == 1">高</div>
  413. <div class="num2-ul-li-c" v-if="item.workPriority == 2">中</div>
  414. <div class="num2-ul-li-c" v-if="item.workPriority == 3">低</div>
  415. <div class="num2-ul-li-r">{{ item.executorPeople }}</div>
  416. </li>
  417. </ul>
  418. </div>
  419. <div class="num1">
  420. <div class="num2">
  421. <img src="../assets/images/通知公告.png" alt />
  422. <span style="font-family: siyuanbold; font-size: 15.5px">通知公告</span>
  423. </div>
  424. <div class="addspan" @click="tiaddfun">查看更多</div>
  425. <div class="num1-box">
  426. <div
  427. class="num1-box-div"
  428. v-for="item in noticeList"
  429. :key="item.noticeId"
  430. @click="tzggfun(item)"
  431. >
  432. <div class="num1-box-l">
  433. <span
  434. style="
  435. color: #bcbcbc;
  436. font-size: 14px;
  437. font-weight: 400;
  438. margin-right: 10px;
  439. "
  440. >[ {{ item.createTime }} ]</span>
  441. {{ item.noticeTitle }}
  442. </div>
  443. <div class="num1-box-r">
  444. <img src="../assets/images/通知.png" v-if="item.start == 1" alt />
  445. <img src="../assets/images/通知 拷贝 3.png" v-if="item.start == 0" alt />
  446. </div>
  447. </div>
  448. </div>
  449. </div>
  450. </div>
  451. </div>
  452. </div>
  453. <div class="tkbox2" v-if="open2">
  454. <div class="tkbox-title">
  455. <div class="tkbox-title-left">
  456. <img src="../assets/images/八一.png" alt />
  457. <span>重要消息</span>
  458. </div>
  459. <div class="tkbox-title-right">
  460. <img src="../assets/images/关闭.png" alt @click="showfun2" />
  461. </div>
  462. </div>
  463. <div class="tkbox-main">
  464. <p>
  465. <img src="../assets/images/警示.png" alt />
  466. <span>{{ title2 }}</span>
  467. </p>
  468. </div>
  469. <div class="tkbox-footer">
  470. <button @click="quchulifun2">去处理</button>
  471. </div>
  472. </div>
  473. <div class="tkbox" v-if="open">
  474. <div class="tkbox-title">
  475. <div class="tkbox-title-left">
  476. <img src="../assets/images/八一.png" alt />
  477. <span>重要消息</span>
  478. </div>
  479. <div class="tkbox-title-right">
  480. <img src="../assets/images/关闭.png" alt @click="showfun" />
  481. </div>
  482. </div>
  483. <div class="tkbox-main">
  484. <p>
  485. <img src="../assets/images/警示.png" alt />
  486. <span>{{ title }}</span>
  487. </p>
  488. </div>
  489. <div class="tkbox-footer">
  490. <button @click="quchulifun">去处理</button>
  491. </div>
  492. </div>
  493. <div class="tkbox3" v-if="open3">
  494. <div class="tkbox-title">
  495. <div class="tkbox-title-left">
  496. <img src="../assets/images/八一.png" alt />
  497. <span>重要消息</span>
  498. </div>
  499. <div class="tkbox-title-right">
  500. <img src="../assets/images/关闭.png" alt @click="showfun3" />
  501. </div>
  502. </div>
  503. <div class="tkbox-main">
  504. <p>
  505. <img src="../assets/images/警示.png" alt />
  506. <span>{{ title3 }}</span>
  507. </p>
  508. </div>
  509. <div class="tkbox-footer">
  510. <button @click="quchulifun3">去处理</button>
  511. </div>
  512. </div>
  513. <div class="tkbox4" v-if="open4">
  514. <div class="tkbox-title">
  515. <div class="tkbox-title-left">
  516. <img src="../assets/images/八一.png" alt />
  517. <span>重要消息</span>
  518. </div>
  519. <div class="tkbox-title-right">
  520. <img src="../assets/images/关闭.png" alt @click="showfun4" />
  521. </div>
  522. </div>
  523. <div class="tkbox-main">
  524. <p>
  525. <img src="../assets/images/警示.png" alt />
  526. <span>{{ title4 }}</span>
  527. </p>
  528. </div>
  529. <div class="tkbox-footer">
  530. <button @click="quchulifun4">去处理</button>
  531. </div>
  532. </div>
  533. <!-- 提示打印 -->
  534. <div class="tkbox4" v-if="open6">
  535. <div class="tkbox-title">
  536. <div class="tkbox-title-left">
  537. <img src="../assets/images/八一.png" alt />
  538. <span>重要消息</span>
  539. </div>
  540. <div class="tkbox-title-right">
  541. <img src="../assets/images/关闭.png" alt @click="showfun5" />
  542. </div>
  543. </div>
  544. <div class="tkbox-main">
  545. <p>
  546. <img src="../assets/images/警示.png" alt />
  547. <span>{{ opentitel }}</span>
  548. </p>
  549. </div>
  550. <div class="tkbox-footer">
  551. <button @click="quchulifun5">去处理</button>
  552. </div>
  553. </div>
  554. <div class="tkbox4" v-if="open7">
  555. <div class="tkbox-title">
  556. <div class="tkbox-title-left">
  557. <img src="../assets/images/八一.png" alt />
  558. <span>重要消息</span>
  559. </div>
  560. <div class="tkbox-title-right">
  561. <img src="../assets/images/关闭.png" alt @click="showfun7" />
  562. </div>
  563. </div>
  564. <div class="tkbox-main">
  565. <p>
  566. <img src="../assets/images/警示.png" alt />
  567. <span>{{ opentitel7 }}</span>
  568. </p>
  569. </div>
  570. <div class="tkbox-footer">
  571. <button @click="quchulifun7">去处理</button>
  572. </div>
  573. </div>
  574. <!-- 添加或修改集中文印记录对话框 -->
  575. <!-- <el-dialog :title="title" style="margin-top: 200px;" :visible.sync="open5" width="565px" append-to-body>
  576. <el-form ref="form" :model="form" :inline="true" :rules="rules" label-width="120px">
  577. <el-form-item label="通知公告标题" prop>
  578. <el-input value placeholder="请输入通知公告标题" />
  579. </el-form-item>
  580. <el-form-item label="通知公告内容">
  581. <el-input value type="textarea" placeholder="请输入通知公告内容" />
  582. <el-input value type="textarea" placeholder="请输入通知公告内容" />
  583. </el-form-item>
  584. </el-form>
  585. <div slot="footer" class="dialog-footer">
  586. <el-button type="primary" style="width:55px;height:25px;" @click="submitForm">确 定</el-button>
  587. <button @click="cancel" style="width:55px;height:25px;margin-left:10px;" >取 消</button>
  588. </div>
  589. </el-dialog>-->
  590. <el-dialog title="查看通知公告" :visible.sync="open5" width="800px" append-to-body>
  591. <div class="jiben">基本信息</div>
  592. <el-form ref="form" :model="form" :rules="rules" :inline="true">
  593. <el-row>
  594. <el-col :span="12">
  595. <p
  596. style="
  597. width: 100%;
  598. height: 30px;
  599. line-height: 30px;
  600. color: #fff;
  601. fontsize: 16px;
  602. "
  603. v-if="!ggflg"
  604. >
  605. 公告标题:
  606. <span style="margin-left: 10px; fontsize: 14px">
  607. {{
  608. form.noticeTitle
  609. }}
  610. </span>
  611. </p>
  612. <el-form-item label="公告标题" v-if="ggflg" prop="noticeTitle">
  613. <el-input v-model="form.noticeTitle" placeholder="请输入公告标题" />
  614. </el-form-item>
  615. <!-- <el-form-item label="公告标题" prop="noticeTitle">
  616. <el-input
  617. v-model="form.noticeTitle"
  618. placeholder="请输入公告标题"
  619. style="width: 300px"
  620. />
  621. </el-form-item>-->
  622. </el-col>
  623. <el-col :span="12" v-if="ggflg">
  624. <el-form-item label="公告类型" prop="noticeType">
  625. <el-select v-model="form.noticeType" placeholder="请选择">
  626. <el-option
  627. v-for="dict in dict.type.sys_notice_type"
  628. :key="dict.value"
  629. :label="dict.label"
  630. :value="dict.value"
  631. ></el-option>
  632. </el-select>
  633. </el-form-item>
  634. </el-col>
  635. <el-col :span="24" style="margin-top: 15px; margin-bottom: 10px" v-if="ggflg">
  636. <el-form-item label="状态">
  637. <el-radio-group v-model="form.status">
  638. <el-radio
  639. v-for="dict in dict.type.sys_notice_status"
  640. :key="dict.value"
  641. :label="dict.value"
  642. style="margin-right: 20px"
  643. >{{ dict.label }}</el-radio>
  644. </el-radio-group>
  645. </el-form-item>
  646. </el-col>
  647. </el-row>
  648. <el-row style="margin-top: 10px">
  649. <el-col :span="12" v-if="!ggflg">
  650. <el-form-item label="发布人" prop="createBy" label-width="0">
  651. <el-input v-model="form.createBy" disabled placeholder="请输入发布人" />
  652. </el-form-item>
  653. </el-col>
  654. <el-col :span="12" v-if="!ggflg">
  655. <el-form-item label="附件" label-width="0px" prop="filename">
  656. <a
  657. :href="url + form.filename"
  658. target="_blank"
  659. download
  660. style="
  661. display: inline-block;
  662. width: 90px;
  663. height: 30px;
  664. background-color: #409eff;
  665. border: none;
  666. border-radus: 3px;
  667. color: #fff;
  668. line-height: 30px;
  669. text-align: center;
  670. "
  671. >下载附件</a>
  672. <!-- <fileUpload v-model="form.filename" class="m-l-20" /> -->
  673. </el-form-item>
  674. </el-col>
  675. </el-row>
  676. <div class="jiben">内容</div>
  677. <el-col :span="24">
  678. <el-form-item label prop="remark" class="textareas" style="width: 100%">
  679. <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
  680. </el-form-item>
  681. </el-col>
  682. </el-form>
  683. <div slot="footer" class="dialog-footer">
  684. <button class="button1" v-if="ggflg" @click="submitForm">确 定</button>
  685. <button @click="cancel">取 消</button>
  686. </div>
  687. </el-dialog>
  688. </div>
  689. </template>
  690. <script>
  691. import {
  692. printTrigger,
  693. printTriggerClear,
  694. printPeople,
  695. printEachTrigger
  696. } from "@/api/PrintsManage/manage";
  697. import {
  698. workEachTrigger,
  699. workTrigger,
  700. addNotice,
  701. listNotice,
  702. updateNotice,
  703. getWorkTask,
  704. getNone,
  705. noReminder,
  706. remindPrint,
  707. syTaskView,
  708. getInfoD
  709. } from "@/api/pt";
  710. import { getUserProfile } from "@/api/system/user";
  711. import Cookies from "js-cookie";
  712. import axios from "axios";
  713. export default {
  714. dicts: ["sys_notice_status", "sys_notice_type"],
  715. data() {
  716. return {
  717. times: null,
  718. timer: null,
  719. open: false,
  720. open2: false,
  721. open3: false,
  722. open4: false,
  723. timer2: null,
  724. open5: false,
  725. ggflg: false,
  726. form: "",
  727. rules: "",
  728. title: "",
  729. title2: "",
  730. title3: "",
  731. title4: "",
  732. url: process.env.VUE_APP_BASE_API,
  733. rules: {
  734. noticeTitle: [
  735. { required: true, message: "公告标题不能为空", trigger: "blur" }
  736. ],
  737. noticeType: [
  738. { required: true, message: "公告类型不能为空", trigger: "change" }
  739. ]
  740. },
  741. // 表单参数
  742. form: {},
  743. noticeList: [],
  744. worklist: [],
  745. // 用户信息
  746. user: {},
  747. danWie: "",
  748. yongHu: "",
  749. str: "",
  750. // 获取预警列表
  751. yuJing: [],
  752. yuStatus: false,
  753. yuStatus1: false,
  754. yuStatus2: false,
  755. // 提示打印
  756. open6: false,
  757. open7: false,
  758. opentitel7: null,
  759. opentitel: null
  760. };
  761. },
  762. created() {
  763. this.getUser();
  764. this.timer = null;
  765. this.startTime();
  766. this.timer2 = null;
  767. this.startTime2();
  768. this.xianShang();
  769. this.getTiXing();
  770. getNone().then(res => {
  771. console.log("getNone", res);
  772. this.str = res.msg;
  773. });
  774. noReminder().then(res => {
  775. if (res.data[0] != 0) {
  776. this.yuStatus = true;
  777. }
  778. if (res.data[1] != 0) {
  779. this.yuStatus1 = true;
  780. }
  781. if (res.data[2] != 0) {
  782. this.yuStatus2 = true;
  783. }
  784. });
  785. },
  786. mounted() {
  787. if (this.$route.params.name) {
  788. this.$modal.msgSuccess(this.$route.params.name);
  789. }
  790. this.getlist();
  791. this.getworklist();
  792. },
  793. methods: {
  794. // 获取提示信息
  795. getTiXing() {
  796. remindPrint().then(res => {
  797. console.log("getTiXing", res)
  798. this.opentitel = res.msg;
  799. if (res.num == 0) {
  800. this.open6 = false;
  801. } else {
  802. var ti = Cookies.get("tixing") || false;
  803. if (ti) {
  804. this.open6 = false;
  805. } else {
  806. this.open6 = true;
  807. Cookies.set("tixing", "true");
  808. }
  809. }
  810. });
  811. },
  812. // 退出
  813. async logout() {
  814. this.$confirm("确定注销并退出系统吗?", "提示", {
  815. confirmButtonText: "确定",
  816. cancelButtonText: "取消",
  817. type: "warning"
  818. })
  819. .then(() => {
  820. this.$store.dispatch("LogOut").then(() => {
  821. location.href = "/index";
  822. Cookies.remove("tixing");
  823. });
  824. })
  825. .catch(() => {});
  826. },
  827. // 手机柜线S地址console
  828. xianShang() {
  829. // axios
  830. // // 线上地址
  831. // .post("http://172.4.5.232:12092/wl/api/getAccessToken", {
  832. // password: "123456",
  833. // username: "admin"
  834. // })
  835. // .then(res => {
  836. // Cookies.set("accessToken", res.data.accessToken);
  837. // });
  838. Cookies.set("accessToken", "res.data.accessToken");
  839. },
  840. // 获取登录信息
  841. getUser() {
  842. getUserProfile().then(response => {
  843. console.log("getUserProfile", response);
  844. this.user = response.data;
  845. this.danWie = response.data.dept.deptName;
  846. this.yongHu = response.data.nickName;
  847. });
  848. },
  849. getlist() {
  850. listNotice().then(res => {
  851. this.noticeList = res.data;
  852. this.noticeList.forEach(item => {
  853. // var newDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(item.createTime)
  854. var a = item.createTime.substring(0, 10).split("-");
  855. return (item.createTime = a[0] + "-" + a[1] + "-" + a[2]);
  856. });
  857. });
  858. },
  859. // 获取代办事项
  860. getworklist() {
  861. syTaskView().then(res => {
  862. this.worklist = res.rows;
  863. });
  864. },
  865. // 表单重置
  866. reset() {
  867. this.form = {
  868. noticeId: undefined,
  869. noticeTitle: undefined,
  870. noticeType: undefined,
  871. noticeContent: undefined,
  872. status: "0"
  873. };
  874. this.resetForm("form");
  875. },
  876. startTime() {
  877. this.timer = setInterval(() => {
  878. var today = new Date();
  879. var y = today.getFullYear();
  880. var M = today.getMonth() + 1;
  881. var d = today.getDate();
  882. var h = today.getHours();
  883. var m = today.getMinutes();
  884. var s = today.getSeconds();
  885. var w = today.getDay();
  886. if (M < 10) {
  887. M = "0" + M;
  888. }
  889. if (d < 10) {
  890. d = "0" + d;
  891. }
  892. if (h < 10) {
  893. h = "0" + h;
  894. }
  895. if (m < 10) {
  896. m = "0" + m;
  897. }
  898. if (s < 10) {
  899. s = "0" + s;
  900. }
  901. this.times = y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
  902. }, 500); /* 每500毫秒执行一次,实现动态显示时间效果 */
  903. },
  904. doThis() {
  905. this.$router
  906. .push({ path: "/index", query: { name: "/grassrootsregistration" } })
  907. .catch(() => {});
  908. Cookies.set("shuaxin", "false");
  909. },
  910. zhanbeifun() {
  911. this.$router
  912. .push({ path: "/index", query: { name: "/combatduty" } })
  913. .catch(() => {});
  914. Cookies.set("shuaxin", "false");
  915. },
  916. safetyfun() {
  917. this.$router
  918. .push({ path: "/index", query: { name: "/safety" } })
  919. .catch(() => {});
  920. Cookies.set("shuaxin", "false");
  921. },
  922. mengangdemofun() {
  923. this.$router
  924. .push({ path: "/index", query: { name: "/demo" } })
  925. .catch(() => {});
  926. Cookies.set("shuaxin", "false");
  927. },
  928. renlifun() {
  929. this.$router
  930. .push({ path: "/index", query: { name: "/deviceManage" } })
  931. .catch(() => {});
  932. Cookies.set("shuaxin", "false");
  933. },
  934. renyuanfun() {
  935. this.$router
  936. .push({ path: "/index", query: { name: "/peopleChuRu" } })
  937. .catch(() => {});
  938. Cookies.set("shuaxin", "false");
  939. },
  940. yingfangfun() {
  941. this.$router
  942. .push({ path: "/index", query: { name: "/barracksManagement" } })
  943. .catch(() => {});
  944. Cookies.set("shuaxin", "false");
  945. },
  946. junchefun() {
  947. this.$router
  948. .push({ path: "/index", query: { name: "/militaryvehicleManagement" } })
  949. .catch(() => {});
  950. Cookies.set("shuaxin", "false");
  951. },
  952. gongzuofun() {
  953. this.$router
  954. .push({ path: "/index", query: { name: "/workingArrangements" } })
  955. .catch(() => {});
  956. Cookies.set("shuaxin", "false");
  957. },
  958. guizhangfun() {
  959. this.$router
  960. .push({ path: "/index", query: { name: "/regulations" } })
  961. .catch(() => {});
  962. Cookies.set("shuaxin", "false");
  963. },
  964. yiliaofun() {
  965. this.$router
  966. .push({ path: "/index", query: { name: "/medicalhealth" } })
  967. .catch(() => {});
  968. Cookies.set("shuaxin", "false");
  969. },
  970. jianchafun() {
  971. this.$router
  972. .push({ path: "/index", query: { name: "/bdglregular" } })
  973. .catch(() => {});
  974. Cookies.set("shuaxin", "false");
  975. },
  976. anfangfun() {
  977. this.$router
  978. .push({ path: "/index", query: { name: "/monitoring" } })
  979. .catch(() => {});
  980. Cookies.set("shuaxin", "false");
  981. },
  982. chexingfun() {
  983. this.$router
  984. .push({ path: "/index", query: { name: "/doorcarManage" } })
  985. .catch(() => {});
  986. Cookies.set("shuaxin", "false");
  987. },
  988. mengangfun() {
  989. this.$router
  990. .push({ path: "/index", query: { name: "/doormanManage" } })
  991. .catch(() => {});
  992. Cookies.set("shuaxin", "false");
  993. },
  994. mengJinFun() {
  995. this.$router
  996. .push({ path: "/index", query: { name: "/access" } })
  997. .catch(() => {});
  998. Cookies.set("shuaxin", "false");
  999. },
  1000. yingjufun() {
  1001. this.$router
  1002. .push({ path: "/index", query: { name: "/materialManagement" } })
  1003. .catch(() => {});
  1004. Cookies.set("shuaxin", "false");
  1005. },
  1006. xitongfun() {
  1007. this.$router
  1008. .push({ path: "/index", query: { name: "/system" } })
  1009. .catch(() => {});
  1010. Cookies.set("shuaxin", "false");
  1011. },
  1012. gongju() {
  1013. this.$router
  1014. .push({ path: "/index", query: { name: "/tool" } })
  1015. .catch(() => {});
  1016. Cookies.set("shuaxin", "false");
  1017. },
  1018. wenyinfun() {
  1019. this.$router
  1020. .push({ path: "/index", query: { name: "/print" } })
  1021. .catch(() => {});
  1022. Cookies.set("shuaxin", "false");
  1023. },
  1024. taishifun() {
  1025. this.$router.push({ path: "/taishi" }).catch(() => {});
  1026. Cookies.set("shuaxin", "false");
  1027. // window.open(`/taishi`,'_self');
  1028. },
  1029. baomifun() {
  1030. this.$router
  1031. .push({ path: "/index", query: { name: "/bdglSecret" } })
  1032. .catch(() => {});
  1033. },
  1034. sixiangfun() {
  1035. this.$router
  1036. .push({ path: "/index", query: { name: "/thought" } })
  1037. .catch(() => {});
  1038. },
  1039. zhinengfun() {
  1040. this.$router
  1041. .push({ path: "/index", query: { name: "/phone" } })
  1042. .catch(() => {});
  1043. },
  1044. showfun() {
  1045. this.open = false;
  1046. printTriggerClear().then(res => {});
  1047. },
  1048. showfun2() {
  1049. this.open2 = false;
  1050. printTriggerClear().then(res => {});
  1051. },
  1052. showfun3() {
  1053. this.open3 = false;
  1054. printTriggerClear().then(res => {});
  1055. },
  1056. showfun4() {
  1057. this.open4 = false;
  1058. printTriggerClear().then(res => {});
  1059. },
  1060. showfun5() {
  1061. this.open6 = false;
  1062. printTriggerClear().then(res => {});
  1063. },
  1064. showfun7() {
  1065. this.open7 = false;
  1066. printTriggerClear().then(res => {});
  1067. },
  1068. quchulifun() {
  1069. printTriggerClear().then(res => {
  1070. if (res.code == 200) {
  1071. this.open = true;
  1072. window.open(`/print/manage`, "_self");
  1073. }
  1074. });
  1075. },
  1076. quchulifun2() {
  1077. printTriggerClear().then(res => {
  1078. if (res.code == 200) {
  1079. this.open = false;
  1080. window.open(`/print/manage`, "_self");
  1081. }
  1082. });
  1083. },
  1084. quchulifun3() {
  1085. printTriggerClear().then(res => {
  1086. if (res.code == 200) {
  1087. this.open3 = false;
  1088. window.open(`/#/workingArrangements/workTask`, "_self");
  1089. }
  1090. });
  1091. },
  1092. quchulifun4() {
  1093. printTriggerClear().then(res => {
  1094. if (res.code == 200) {
  1095. this.open4 = false;
  1096. window.open(`/#/workingArrangements/planTask`, "_self");
  1097. }
  1098. });
  1099. },
  1100. quchulifun5() {
  1101. Cookies.set("tixing", "false");
  1102. printTriggerClear().then(res => {
  1103. if (res.code == 200) {
  1104. window.open(`/#/print/printlog`, "_self");
  1105. }
  1106. });
  1107. },
  1108. quchulifun7() {
  1109. printTriggerClear().then(res => {
  1110. if (res.code == 200) {
  1111. window.open(`/#/barracksManagement/repair`, "_self");
  1112. }
  1113. });
  1114. },
  1115. startTime2() {
  1116. this.timer = setInterval(() => {
  1117. // printTrigger().then((res) => {
  1118. // if (res.code == 200) {
  1119. // if (res.print == "print") {
  1120. // if (res.numb != 0) {
  1121. // this.title2 = "您有打印文件需要处理,请尽快处理";
  1122. // this.open2 = true;
  1123. // }
  1124. // }
  1125. // }
  1126. // });
  1127. printEachTrigger().then(res => {
  1128. if (res.code == 200) {
  1129. if (res.print == "printUserInfo") {
  1130. var sendId = Cookies.get("userId");
  1131. if (res.printUserInfo == sendId) {
  1132. if (res.numb != 0) {
  1133. this.title = res.msg;
  1134. this.open = true;
  1135. }
  1136. }
  1137. }
  1138. }
  1139. });
  1140. workEachTrigger().then(res => {
  1141. var sendId = Cookies.get("userId");
  1142. if (res.code == 200) {
  1143. if (res.workEach != 0) {
  1144. if (res.workUserid == sendId) {
  1145. this.title3 = res.msg;
  1146. this.open3 = true;
  1147. }
  1148. }
  1149. }
  1150. });
  1151. workTrigger().then(res => {
  1152. // var sendId = Cookies.get("userId");
  1153. if (res.code == 200) {
  1154. if (res.workRequest != 0) {
  1155. this.title4 = res.msg;
  1156. this.open4 = true;
  1157. }
  1158. }
  1159. });
  1160. getInfoD().then(res => {
  1161. if (res.code == 200) {
  1162. if (res.data != 0) {
  1163. this.opentitel7 = res.data;
  1164. this.open7 = true;
  1165. }
  1166. }
  1167. });
  1168. }, 10000); /* 每500毫秒执行一次,实现动态显示时间效果 */
  1169. },
  1170. tongzhifun() {
  1171. // this.$router.push({ path: "/system/notice" }).catch(() => {});
  1172. this.$router
  1173. .push({ path: "/index", query: { name: "/notice" } })
  1174. .catch(() => {});
  1175. },
  1176. submitForm() {
  1177. // addNotice(this.form).then((response) => {
  1178. // this.$modal.msgSuccess("新增成功");
  1179. // this.open5 = false;
  1180. // this.ggflg = false;
  1181. // this.getlist();
  1182. // });
  1183. },
  1184. cancel() {
  1185. this.open5 = false;
  1186. this.ggflg = false;
  1187. this.getlist();
  1188. },
  1189. tiaddfun() {
  1190. this.$router
  1191. .push({ path: "/index", query: { name: "/notice" } })
  1192. .catch(() => {});
  1193. // this.$router.push({ path: "/system/notice" }).catch(() => {});
  1194. },
  1195. tzggfun(item) {
  1196. // item.start = 1;
  1197. this.reset();
  1198. this.form = item;
  1199. updateNotice({
  1200. noticeId: item.noticeId,
  1201. start: 1,
  1202. noticeTitle: item.noticeTitle
  1203. }).then(res => {
  1204. if (res.code == 200) {
  1205. this.getlist();
  1206. }
  1207. });
  1208. this.open5 = true;
  1209. this.ggflg = false;
  1210. },
  1211. dbsxfun() {
  1212. this.$router
  1213. .push({ path: "/workingArrangements/workCalendar" })
  1214. .catch(() => {});
  1215. }
  1216. },
  1217. destroyed() {
  1218. clearInterval(this.timer); // 清除定时器
  1219. this.timer = null;
  1220. clearInterval(this.timer2); // 清除定时器
  1221. this.timer2 = null;
  1222. }
  1223. };
  1224. </script>
  1225. <style scoped>
  1226. .el-dialog {
  1227. margin-top: 500px;
  1228. }
  1229. * {
  1230. margin: 0;
  1231. padding: 0;
  1232. }
  1233. body,
  1234. html {
  1235. height: 100%;
  1236. width: 100%;
  1237. }
  1238. li {
  1239. list-style: none;
  1240. }
  1241. .header {
  1242. height: 100%;
  1243. width: 100%;
  1244. overflow: auto;
  1245. background: url("../images/背景1.png") no-repeat center;
  1246. background-size: 100% 100%;
  1247. position: relative;
  1248. }
  1249. .tou {
  1250. color: #fff;
  1251. position: relative;
  1252. height: 120px;
  1253. background: url("../assets/images/首页顶部.gif") no-repeat center;
  1254. background-size: cover;
  1255. }
  1256. .tou .yong_hu {
  1257. position: absolute;
  1258. right: 24px;
  1259. top: 33px;
  1260. min-width: 320px;
  1261. font-size: 16px;
  1262. box-sizing: border-box;
  1263. }
  1264. .tou .tiem {
  1265. position: absolute;
  1266. /* right: 24px; */
  1267. left: 124px;
  1268. top: 33px;
  1269. min-width: 320px;
  1270. font-size: 15px;
  1271. box-sizing: border-box;
  1272. }
  1273. .tou .span {
  1274. margin-right: 20px;
  1275. }
  1276. .liuxian {
  1277. position: absolute;
  1278. top: -7px;
  1279. }
  1280. .in1 {
  1281. padding: 0 84px;
  1282. }
  1283. .demo {
  1284. color: #fff;
  1285. width: 107px;
  1286. height: 95%;
  1287. background: url("../images/tx.png") no-repeat;
  1288. text-align: center;
  1289. margin-top: 10%;
  1290. position: relative;
  1291. /* margin-bottom: 10px; */
  1292. /* margin: 0 80px; */
  1293. }
  1294. .demo img {
  1295. margin-top: 35px;
  1296. }
  1297. #q1 img {
  1298. margin-top: 42px;
  1299. }
  1300. .demo-box {
  1301. width: 100%;
  1302. height: 70%;
  1303. display: flex;
  1304. justify-content: center;
  1305. align-items: center;
  1306. }
  1307. .demo-a {
  1308. width: 100%;
  1309. height: 30%;
  1310. font-size: 1rem;
  1311. color: #fff;
  1312. display: flex;
  1313. justify-content: center;
  1314. align-items: center;
  1315. }
  1316. .ul {
  1317. margin-bottom: 20px;
  1318. height: 23%;
  1319. display: flex;
  1320. flex-flow: wrap;
  1321. }
  1322. .ul li {
  1323. /* margin: 0 48px; */
  1324. cursor: pointer;
  1325. width: 14.1%;
  1326. height: 100%;
  1327. display: inline-block;
  1328. }
  1329. .li-img {
  1330. width: 100%;
  1331. /* height: 2px;
  1332. background-color: #06668a;
  1333. border: none;
  1334. margin-bottom: 20px; */
  1335. }
  1336. .boxx {
  1337. padding: 0 0 0 80px;
  1338. flex: 2.2;
  1339. }
  1340. .img-left {
  1341. position: absolute;
  1342. top: -8px;
  1343. }
  1344. hr {
  1345. height: 2px;
  1346. background-color: #06668a;
  1347. border: none;
  1348. margin-bottom: 20px;
  1349. }
  1350. .centen {
  1351. display: flex;
  1352. height: 85vh;
  1353. }
  1354. .num1 {
  1355. color: #fff;
  1356. width: 529px;
  1357. height: 41vh;
  1358. background: url("../images/底3.png") no-repeat;
  1359. margin-bottom: 10px;
  1360. padding: 16px 20px 0px 20px;
  1361. background-size: 100% 100%;
  1362. }
  1363. .num1 img {
  1364. /* width: 20px;
  1365. height: 20px; */
  1366. vertical-align: bottom;
  1367. margin-right: 10px;
  1368. }
  1369. .rigin {
  1370. flex: 1;
  1371. margin-left: 52px;
  1372. }
  1373. .table {
  1374. margin-top: 20px;
  1375. width: 492px;
  1376. height: 80%;
  1377. /* height: 182px; */
  1378. /* 去除中间的线 */
  1379. border-collapse: collapse;
  1380. border-spacing: 0;
  1381. }
  1382. .table tr td {
  1383. height: 28px;
  1384. text-align: center;
  1385. }
  1386. .table tr:nth-child(even) {
  1387. background-color: rgba(39, 104, 136, 0.2);
  1388. }
  1389. .table tr:hover {
  1390. background: rgba(0, 246, 255, 0.3);
  1391. }
  1392. #a2 img {
  1393. margin-top: 40px;
  1394. }
  1395. #a1 img {
  1396. margin-top: 40px;
  1397. }
  1398. #a3 img {
  1399. margin-top: 43px;
  1400. }
  1401. .num1-box {
  1402. width: 100%;
  1403. height: 86%;
  1404. margin-top: 5%;
  1405. }
  1406. .num1-box .num1-box-div {
  1407. width: 100%;
  1408. height: 36px;
  1409. display: flex;
  1410. flex-direction: row;
  1411. font-size: 14px;
  1412. color: #fff;
  1413. line-height: 36px;
  1414. }
  1415. .num1-box-div:nth-child(odd) {
  1416. background-color: rgba(39, 104, 136, 0.2);
  1417. }
  1418. .num1-box-div:hover {
  1419. background: rgba(0, 246, 255, 0.3);
  1420. }
  1421. .num1-box-l {
  1422. flex: 8;
  1423. height: 100%;
  1424. text-align: left;
  1425. margin-left: 10px;
  1426. text-overflow: ellipsis;
  1427. white-space: nowrap;
  1428. overflow: hidden;
  1429. }
  1430. .num1-box-r {
  1431. flex: 1;
  1432. height: 100%;
  1433. text-align: right;
  1434. margin-right: 10px;
  1435. margin-top: -4px;
  1436. line-height: 30px;
  1437. }
  1438. .num1-ul {
  1439. width: 100%;
  1440. height: 86%;
  1441. margin-top: 2%;
  1442. overflow: auto;
  1443. }
  1444. .num1-ul::-webkit-scrollbar {
  1445. width: 14px;
  1446. /* height: 2px !important; */
  1447. background: #002745;
  1448. }
  1449. /*定义滑块,内阴影及圆角*/
  1450. .num1-ul::-webkit-scrollbar-thumb {
  1451. background: rgba(0, 39, 69, 1);
  1452. }
  1453. .num1-ul-li {
  1454. width: 100%;
  1455. height: 36px;
  1456. display: flex;
  1457. flex-direction: row;
  1458. font-size: 14px;
  1459. color: #fff;
  1460. line-height: 36px;
  1461. }
  1462. .num1-ul-li:nth-child(even) {
  1463. background-color: rgba(39, 104, 136, 0.2);
  1464. }
  1465. .num1-ul-li:hover {
  1466. background: rgba(0, 246, 255, 0.3);
  1467. }
  1468. .num1-ul-li-l {
  1469. flex: 7;
  1470. height: 100%;
  1471. text-align: center;
  1472. }
  1473. .num1-ul-li-r {
  1474. flex: 3;
  1475. height: 100%;
  1476. text-align: center;
  1477. }
  1478. .num2-ul-li {
  1479. width: 100%;
  1480. height: 36px;
  1481. display: flex;
  1482. flex-direction: row;
  1483. font-size: 14px;
  1484. color: #fff;
  1485. line-height: 36px;
  1486. }
  1487. .num2-ul-li:nth-child(even) {
  1488. background-color: rgba(39, 104, 136, 0.2);
  1489. }
  1490. .num2-ul-li:hover {
  1491. background: rgba(0, 246, 255, 0.3);
  1492. }
  1493. .num2-ul-li-l {
  1494. flex: 6;
  1495. height: 100%;
  1496. text-align: left;
  1497. margin-left: 10px;
  1498. }
  1499. .num2-ul-li-c {
  1500. flex: 3;
  1501. height: 100%;
  1502. text-align: center;
  1503. }
  1504. .num2-ul-li-r {
  1505. flex: 3;
  1506. height: 100%;
  1507. text-align: center;
  1508. }
  1509. .num1-ul-title {
  1510. width: 100%;
  1511. height: 45px;
  1512. display: flex;
  1513. flex-direction: row;
  1514. font-size: 16px;
  1515. color: #fff;
  1516. line-height: 45px;
  1517. }
  1518. .num1-ul-title-l {
  1519. flex: 7;
  1520. height: 100%;
  1521. text-align: center;
  1522. }
  1523. .num1-ul-title-r {
  1524. flex: 3;
  1525. height: 100%;
  1526. text-align: center;
  1527. }
  1528. .num2-ul-title {
  1529. width: 100%;
  1530. height: 45px;
  1531. display: flex;
  1532. flex-direction: row;
  1533. font-size: 16px;
  1534. color: #fff;
  1535. line-height: 45px;
  1536. }
  1537. .num2-ul-title-l {
  1538. flex: 6;
  1539. height: 100%;
  1540. text-align: left;
  1541. margin-left: 10px;
  1542. }
  1543. .num2-ul-title-c {
  1544. flex: 3;
  1545. height: 100%;
  1546. text-align: center;
  1547. }
  1548. .num2-ul-title-r {
  1549. flex: 3;
  1550. height: 100%;
  1551. text-align: center;
  1552. }
  1553. .num1 {
  1554. position: relative;
  1555. }
  1556. .num1 .addspan:hover {
  1557. color: #1d96ff;
  1558. }
  1559. .num1 .addspan {
  1560. width: 80px;
  1561. /* background-color: pink; */
  1562. height: 20px;
  1563. display: inline-block;
  1564. /* background-color: #1c86e1; */
  1565. line-height: 25px;
  1566. text-align: center;
  1567. font-size: 14px;
  1568. cursor: pointer;
  1569. color: #dcdcdc;
  1570. background-repeat: no-repeat;
  1571. /* margin-left: 3.5px; */
  1572. background-position: 70px 5px;
  1573. position: absolute;
  1574. right: 1.6%;
  1575. top: 2%;
  1576. font-family: siyuan;
  1577. }
  1578. ::v-deep .el-dialog {
  1579. background-color: #004d86;
  1580. }
  1581. ::v-deep .el-dialog__header {
  1582. border-bottom: 1px solid #718a9d;
  1583. }
  1584. ::v-deep .el-dialog__title {
  1585. color: #fff;
  1586. font: 18px;
  1587. }
  1588. ::v-deep .el-dialog__headerbtn .el-dialog__close {
  1589. color: #fff;
  1590. }
  1591. .el-form-item ::v-deep .el-input__inner {
  1592. width: 355px;
  1593. height: 36px;
  1594. background: #004d86;
  1595. color: #000000;
  1596. border: 1px solid #fff !important;
  1597. }
  1598. ::v-deep .el-textarea__inner {
  1599. width: 450px;
  1600. height: 104px;
  1601. margin-left: 25px;
  1602. }
  1603. /* 通知 */
  1604. ::v-deep .el-tag.el-tag--success {
  1605. background-color: #e7faf0;
  1606. border-color: #d0f5e0;
  1607. color: #13ce66;
  1608. }
  1609. /* 公告 */
  1610. ::v-deep .el-tag.el-tag--warning {
  1611. background-color: #fff8e6;
  1612. border-color: #fff1cc;
  1613. color: #ffba00;
  1614. }
  1615. /* 对话框背景颜色 */
  1616. ::v-deep .el-dialog {
  1617. background: #004d86 !important;
  1618. }
  1619. ::v-deep .el-textarea__inner {
  1620. width: 760px;
  1621. height: 104px;
  1622. margin: auto !important;
  1623. }
  1624. ::v-deep .el-dialog__header {
  1625. border-bottom: 1px solid #718a9d;
  1626. }
  1627. ::v-deep .el-dialog__title {
  1628. color: #fff;
  1629. font: 18px;
  1630. }
  1631. ::v-deep .el-dialog__headerbtn .el-dialog__close {
  1632. color: #fff;
  1633. }
  1634. ::v-deep .el-form-item__label {
  1635. font: 16px;
  1636. color: #fff;
  1637. width: auto !important;
  1638. }
  1639. ::v-deep .el-input__inner {
  1640. width: 250px !important;
  1641. height: 36px;
  1642. background: transparent;
  1643. color: #fff;
  1644. }
  1645. /* 单位框背景颜色 */
  1646. ::v-deep .vue-treeselect__control {
  1647. background: #004d86 !important;
  1648. }
  1649. /* 基本信息背景 */
  1650. .jiben {
  1651. width: 760px;
  1652. height: 32px;
  1653. background-image: url("../images/小标题底.png");
  1654. margin-bottom: 25px;
  1655. color: #fff;
  1656. padding-left: 16px;
  1657. line-height: 32px;
  1658. margin-top: 10px;
  1659. }
  1660. /*调整表单间距 */
  1661. ::v-deep .el-form-item__content {
  1662. width: 200px;
  1663. }
  1664. .contents {
  1665. padding: 0px 40px !important;
  1666. }
  1667. /* 单位框背景颜色 */
  1668. ::v-deep .vue-treeselect__control {
  1669. background: #004d86 !important;
  1670. color: #fff;
  1671. }
  1672. /* 备注输入框 */
  1673. .textareas ::v-deep .el-form-item__content {
  1674. width: 100%;
  1675. }
  1676. /* 状态 */
  1677. .el-radio {
  1678. color: rgb(204, 198, 198);
  1679. }
  1680. /* 备注输入框 */
  1681. .textareas ::v-deep .el-form-item__content {
  1682. width: 100%;
  1683. }
  1684. /* 富文本 */
  1685. ::v-deep .ql-snow .ql-fill,
  1686. .ql-snow .ql-stroke.ql-fill {
  1687. fill: #fff !important;
  1688. }
  1689. ::v-deep .ql-snow .ql-stroke {
  1690. stroke: #fff !important;
  1691. }
  1692. ::v-deep .ql-snow .ql-picker {
  1693. color: #fff !important;
  1694. }
  1695. ::v-deep .ql-editor ql-blank {
  1696. color: #fff !important;
  1697. }
  1698. /* 分页按钮 */
  1699. ::v-deep .el-pagination.is-background .el-pager li {
  1700. background-color: #004d86;
  1701. color: #fff;
  1702. }
  1703. ::v-deep .el-pagination.is-background .btn-next {
  1704. background-color: #004d86;
  1705. color: #fff;
  1706. }
  1707. ::v-deep .el-pagination.is-background .btn-prev,
  1708. .el-pagination.is-background .btn-next,
  1709. .el-pagination.is-background .el-pager li {
  1710. background: #004d86 !important;
  1711. color: #fff !important;
  1712. }
  1713. .el-select-dropdown__item {
  1714. left: 10px !important;
  1715. }
  1716. ::v-deep .el-upload__tip {
  1717. display: none;
  1718. }
  1719. </style>
  1720. <style lang="scss" scoped>
  1721. .tkbox {
  1722. width: 500px;
  1723. height: 220px;
  1724. background-image: url("../assets/images/框.png");
  1725. background-size: 100% 100%;
  1726. background-repeat: no-repeat;
  1727. position: absolute;
  1728. left: 20%;
  1729. top: 30%;
  1730. }
  1731. .tkbox2 {
  1732. width: 500px;
  1733. height: 220px;
  1734. background-image: url("../assets/images/框.png");
  1735. background-size: 100% 100%;
  1736. background-repeat: no-repeat;
  1737. position: absolute;
  1738. right: 26%;
  1739. top: 30%;
  1740. }
  1741. .tkbox3 {
  1742. width: 500px;
  1743. height: 220px;
  1744. background-image: url("../assets/images/框.png");
  1745. background-size: 100% 100%;
  1746. background-repeat: no-repeat;
  1747. position: absolute;
  1748. left: 20%;
  1749. top: 38%;
  1750. }
  1751. .tkbox4 {
  1752. width: 500px;
  1753. height: 220px;
  1754. background-image: url("../assets/images/框.png");
  1755. background-size: 100% 100%;
  1756. background-repeat: no-repeat;
  1757. position: absolute;
  1758. right: 42%;
  1759. top: 38%;
  1760. }
  1761. .tkbox-title {
  1762. width: 100%;
  1763. height: 90px;
  1764. }
  1765. .tkbox-title-left {
  1766. width: 90%;
  1767. display: inline-block;
  1768. line-height: 90px;
  1769. position: relative;
  1770. }
  1771. .tkbox-title-left img {
  1772. position: absolute;
  1773. left: 35px;
  1774. top: 30px;
  1775. }
  1776. .tkbox-title-left span {
  1777. color: #fff;
  1778. line-height: 95px;
  1779. margin-left: 75px;
  1780. }
  1781. .tkbox-title-right {
  1782. width: 10%;
  1783. text-align: right;
  1784. display: inline-block;
  1785. }
  1786. .tkbox-title-right img {
  1787. text-align: right;
  1788. margin-right: 30px;
  1789. }
  1790. .tkbox-main {
  1791. width: 100%;
  1792. height: 60px;
  1793. }
  1794. .tkbox-main p {
  1795. width: 90%;
  1796. height: auto;
  1797. margin: 0 auto;
  1798. color: #fff;
  1799. font-size: 14px;
  1800. display: flex;
  1801. align-items: center;
  1802. justify-content: center;
  1803. }
  1804. .tkbox-main p span {
  1805. margin-left: 10px;
  1806. }
  1807. .tkbox-footer {
  1808. width: 100%;
  1809. height: 30px;
  1810. margin-bottom: 30px;
  1811. text-align: center;
  1812. }
  1813. .fixed-header + .app-main {
  1814. padding-top: 50px;
  1815. }
  1816. .hasTagsView {
  1817. .app-main {
  1818. /* 84 = navbar + tags-view = 50 + 34 */
  1819. min-height: calc(100vh - 84px);
  1820. }
  1821. .fixed-header + .app-main {
  1822. padding-top: 84px;
  1823. }
  1824. }
  1825. .tkbox-footer button {
  1826. width: 60px;
  1827. height: 25px;
  1828. text-align: center;
  1829. line-height: 21px;
  1830. background-color: #409eff;
  1831. color: #fff;
  1832. border-radius: 6px;
  1833. border: none;
  1834. }
  1835. .dialog-footer button {
  1836. width: 60px;
  1837. height: 30px;
  1838. text-align: center;
  1839. line-height: 21px;
  1840. color: #fff;
  1841. border-radius: 3px;
  1842. border: none;
  1843. background-color: #196299;
  1844. margin-top: 20px;
  1845. }
  1846. .dialog-footer .button1 {
  1847. background-color: #409eff;
  1848. margin-right: 10px;
  1849. }
  1850. .phone {
  1851. margin-top: 40px !important;
  1852. }
  1853. #xitong img {
  1854. margin-top: 44px !important;
  1855. }
  1856. .tanhao {
  1857. position: absolute;
  1858. right: 7%;
  1859. width: 30px;
  1860. height: 30px;
  1861. top: 6.5%;
  1862. background: url(../images/无光_00000.png) no-repeat;
  1863. animation: mymove 2s 0.5s infinite linear alternate forwards;
  1864. }
  1865. @keyframes mymove {
  1866. 0% {
  1867. background: url(../images/无光_00000.png) no-repeat;
  1868. }
  1869. 3% {
  1870. background: url(../images/无光_00001.png) no-repeat;
  1871. }
  1872. 6% {
  1873. background: url(../images/无光_00002.png) no-repeat;
  1874. }
  1875. 9% {
  1876. background: url(../images/无光_00003.png) no-repeat;
  1877. }
  1878. 12% {
  1879. background: url(../images/无光_00004.png) no-repeat;
  1880. }
  1881. 15% {
  1882. background: url(../images/无光_00005.png) no-repeat;
  1883. }
  1884. 18% {
  1885. background: url(../images/无光_00006.png) no-repeat;
  1886. }
  1887. 21% {
  1888. background: url(../images/无光_00007.png) no-repeat;
  1889. }
  1890. 24% {
  1891. background: url(../images/无光_00008.png) no-repeat;
  1892. }
  1893. 27% {
  1894. background: url(../images/无光_00009.png) no-repeat;
  1895. }
  1896. 30% {
  1897. background: url(../images/无光_00010.png) no-repeat;
  1898. }
  1899. 33% {
  1900. background: url(../images/无光_00011.png) no-repeat;
  1901. }
  1902. 36% {
  1903. background: url(../images/无光_00012.png) no-repeat;
  1904. }
  1905. 39% {
  1906. background: url(../images/无光_00013.png) no-repeat;
  1907. }
  1908. 42% {
  1909. background: url(../images/无光_00014.png) no-repeat;
  1910. }
  1911. 45% {
  1912. background: url(../images/无光_00015.png) no-repeat;
  1913. }
  1914. 48% {
  1915. background: url(../images/无光_00016.png) no-repeat;
  1916. }
  1917. 51% {
  1918. background: url(../images/无光_00017.png) no-repeat;
  1919. }
  1920. 54% {
  1921. background: url(../images/无光_00018.png) no-repeat;
  1922. }
  1923. 57% {
  1924. background: url(../images/无光_00019.png) no-repeat;
  1925. }
  1926. 60% {
  1927. background: url(../images/无光_00020.png) no-repeat;
  1928. }
  1929. 63% {
  1930. background: url(../images/无光_00021.png) no-repeat;
  1931. }
  1932. 66% {
  1933. background: url(../images/无光_00022.png) no-repeat;
  1934. }
  1935. 69% {
  1936. background: url(../images/无光_00023.png) no-repeat;
  1937. }
  1938. 72% {
  1939. background: url(../images/无光_00024.png) no-repeat;
  1940. }
  1941. 75% {
  1942. background: url(../images/无光_00025.png) no-repeat;
  1943. }
  1944. 78% {
  1945. background: url(../images/无光_00026.png) no-repeat;
  1946. }
  1947. 81% {
  1948. background: url(../images/无光_00027.png) no-repeat;
  1949. }
  1950. 84% {
  1951. background: url(../images/无光_00028.png) no-repeat;
  1952. }
  1953. 87% {
  1954. background: url(../images/无光_00029.png) no-repeat;
  1955. }
  1956. 90% {
  1957. background: url(../images/无光_00030.png) no-repeat;
  1958. }
  1959. 92% {
  1960. background: url(../images/无光_00031.png) no-repeat;
  1961. }
  1962. 95% {
  1963. background: url(../images/无光_00032.png) no-repeat;
  1964. }
  1965. 98% {
  1966. background: url(../images/无光_00033.png) no-repeat;
  1967. }
  1968. 100% {
  1969. background: url(../images/无光_00034.png) no-repeat;
  1970. }
  1971. }
  1972. </style>