pt.vue 41 KB

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