pt.vue 53 KB

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