pt.vue 46 KB

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