pt.vue 42 KB

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