pt.vue 51 KB

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