home.vue 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570
  1. <template>
  2. <div class="content-box">
  3. <div class="left">
  4. <!-- <el-icon :size="23" class="camera"><VideoCameraFilled /></el-icon> -->
  5. <span class="cameratxt">首页</span>
  6. </div>
  7. <div class="scroll">
  8. <div class="middle">
  9. <div class="roles">项目总览</div>
  10. <div class="filter">
  11. <el-select
  12. v-model="searchInput1.department"
  13. placeholder="请选择部门"
  14. style="width: 180px"
  15. clearable
  16. @clear="searchBtn"
  17. >
  18. <el-option
  19. v-for="item in departmentData"
  20. :key="item.value"
  21. :label="item.name"
  22. :value="item.id"
  23. /> </el-select
  24. >&nbsp;&nbsp;&nbsp;&nbsp;
  25. <span>时间选择:</span>
  26. <el-radio-group v-model="radio">
  27. <el-radio :value="3">最近7日</el-radio>
  28. <el-radio :value="6">本月</el-radio>
  29. <el-radio :value="9">本季度</el-radio>
  30. <el-radio :value="9">自定义</el-radio>
  31. <el-date-picker
  32. v-model="searchInput1.definedTime"
  33. type="daterange"
  34. unlink-panels
  35. range-separator="-"
  36. start-placeholder="起始时间"
  37. end-placeholder="截止时间"
  38. format="YYYY-MM-DD"
  39. value-format="YYYY-MM-DD"
  40. :prefix-icon="Calendar"
  41. placeholder="请选择日期"
  42. style="width: 280px"
  43. @change="searchBtn"
  44. />
  45. </el-radio-group>
  46. </div>
  47. <div class="card">
  48. <!-- 超时在办 -->
  49. <el-card style="min-width: 200px">
  50. <div class="title">
  51. <div class="block">
  52. <span>超时在办</span><br />
  53. <span class="num">6</span>
  54. </div>
  55. <img src="../../assets/images/chaoshizaiban.png" alt="" />
  56. </div>
  57. <div class="jindu">
  58. <el-progress percentage="80" color="rgba(0, 97, 255, 1)" />
  59. <span class="title">(同比上月)</span>
  60. </div>
  61. </el-card>
  62. <!-- 预警在办 -->
  63. <el-card style="min-width: 200px">
  64. <div class="title">
  65. <div class="block">
  66. <span>预警在办</span><br />
  67. <span class="num">6</span>
  68. </div>
  69. <img src="../../assets/images/yujingzaiban.png" alt="" />
  70. </div>
  71. <div class="jindu">
  72. <el-progress percentage="80" color="rgba(254, 144, 51, 1)" />
  73. <span class="title">(同比上月)</span>
  74. </div>
  75. </el-card>
  76. <!-- 正常在办 -->
  77. <el-card style="min-width: 200px">
  78. <div class="title">
  79. <div class="block">
  80. <span>正常在办</span><br />
  81. <span class="num">6</span>
  82. </div>
  83. <img src="../../assets/images/zhengchangzaiban.png" alt="" />
  84. </div>
  85. <div class="jindu">
  86. <el-progress percentage="80" color="rgba(89, 184, 42, 1)" />
  87. <span class="title">(同比上月)</span>
  88. </div>
  89. </el-card>
  90. <!-- 正常办结 -->
  91. <el-card style="min-width: 200px">
  92. <div class="title">
  93. <div class="block">
  94. <span>正常办结</span><br />
  95. <span class="num">6</span>
  96. </div>
  97. <img src="../../assets/images/zhengchangbanjie.png" alt="" />
  98. </div>
  99. <div class="jindu">
  100. <el-progress percentage="80" color="rgba(0, 97, 255, 1)" />
  101. <span class="title">(同比上月)</span>
  102. </div>
  103. </el-card>
  104. <!-- 超时办结 -->
  105. <el-card style="min-width: 200px">
  106. <div class="title">
  107. <div class="block">
  108. <span>超时办结</span><br />
  109. <span class="num">6</span>
  110. </div>
  111. <img src="../../assets/images/chaoshibanjie.png" alt="" />
  112. </div>
  113. <div class="jindu">
  114. <el-progress percentage="80" color="rgba(254, 144, 51, 1)" />
  115. <span class="title">(同比上月)</span>
  116. </div>
  117. </el-card>
  118. <!-- 项目总数 -->
  119. <el-card style="min-width: 200px">
  120. <div class="title">
  121. <div class="block">
  122. <span>项目总数</span><br />
  123. <span class="num">6</span>
  124. </div>
  125. <img src="../../assets/images/xiangmuzongshu.png" alt="" />
  126. </div>
  127. <div class="jindu">
  128. <el-progress percentage="80" color="rgba(0, 97, 255, 1)" />
  129. <span class="title">(同比上月)</span>
  130. </div>
  131. </el-card>
  132. </div>
  133. </div>
  134. <div class="roles">项目台</div>
  135. <div class="participation">
  136. <el-button @click="deskChange(1)" :class="projectDesk==1?'active':''">我关注的</el-button>
  137. <el-button @click="deskChange(2)" :class="projectDesk==2?'active':''">我负责的</el-button>
  138. <el-button @click="deskChange(3)" :class="projectDesk==3?'active':''">我协办的</el-button>
  139. </div>
  140. <div class="condition">
  141. <div class="fil">
  142. <span>主办单位</span>&nbsp;&nbsp;
  143. <el-select
  144. v-model="searchInput1.department"
  145. placeholder="请选择主办单位"
  146. style="width: 160px"
  147. clearable
  148. @clear="searchBtn"
  149. >
  150. <el-option
  151. v-for="item in departmentData"
  152. :key="item.value"
  153. :label="item.name"
  154. :value="item.id"
  155. />
  156. </el-select>
  157. </div>
  158. <div class="fil">
  159. <span>主办人</span>&nbsp;&nbsp;
  160. <el-select
  161. v-model="searchInput1.department"
  162. placeholder="请选择主办人"
  163. style="width: 160px"
  164. clearable
  165. @clear="searchBtn"
  166. >
  167. <el-option
  168. v-for="item in departmentData"
  169. :key="item.value"
  170. :label="item.name"
  171. :value="item.id"
  172. />
  173. </el-select>
  174. </div>
  175. <div class="fil">
  176. <span>时间选择</span>&nbsp;&nbsp;
  177. <el-radio-group v-model="radio">
  178. <el-radio :value="3">最近7日</el-radio>
  179. <el-radio :value="6">本月</el-radio>
  180. <el-radio :value="9">本季度</el-radio>
  181. <el-radio :value="9">自定义</el-radio>
  182. <el-date-picker
  183. v-model="searchInput1.definedTime"
  184. type="daterange"
  185. unlink-panels
  186. range-separator="-"
  187. start-placeholder="起始时间"
  188. end-placeholder="截止时间"
  189. format="YYYY-MM-DD"
  190. value-format="YYYY-MM-DD"
  191. :prefix-icon="Calendar"
  192. placeholder="请选择日期"
  193. style="width: 280px"
  194. @change="searchBtn"
  195. />
  196. </el-radio-group>
  197. </div>
  198. <div class="fil">
  199. <span>项目等级</span>&nbsp;&nbsp;
  200. <el-select
  201. v-model="searchInput1.department"
  202. placeholder="请选择项目等级"
  203. style="width: 160px"
  204. clearable
  205. @clear="searchBtn"
  206. >
  207. <el-option
  208. v-for="item in departmentData"
  209. :key="item.value"
  210. :label="item.name"
  211. :value="item.id"
  212. />
  213. </el-select>
  214. </div>
  215. <div class="fil">
  216. <span>项目来源</span>&nbsp;&nbsp;
  217. <el-select
  218. v-model="searchInput1.department"
  219. placeholder="请选择项目来源"
  220. style="width: 160px"
  221. clearable
  222. @clear="searchBtn"
  223. >
  224. <el-option
  225. v-for="item in departmentData"
  226. :key="item.value"
  227. :label="item.name"
  228. :value="item.id"
  229. />
  230. </el-select>
  231. </div>
  232. <div class="fil">
  233. <span>状态</span>&nbsp;&nbsp;
  234. <el-select
  235. v-model="searchInput1.department"
  236. placeholder="请选择状态"
  237. style="width: 160px"
  238. clearable
  239. @clear="searchBtn"
  240. >
  241. <el-option
  242. v-for="item in departmentData"
  243. :key="item.value"
  244. :label="item.name"
  245. :value="item.id"
  246. />
  247. </el-select>
  248. </div>
  249. <div class="fil">
  250. <el-input
  251. clearable
  252. v-model="searchInput1.time"
  253. @clear="searchBtn"
  254. placeholder="请输入项目"
  255. style="width: 180px"
  256. />
  257. <el-button
  258. style="margin-left: 20px"
  259. type="primary"
  260. class="search"
  261. @click="searchBtn"
  262. >查询</el-button
  263. >
  264. </div>
  265. <div class="fil">
  266. <el-button type="primary" class="search" @click="addProject"
  267. >创建项目</el-button
  268. >
  269. <el-button @click="searchBtn" color="rgba(33, 107, 255, 1)" plain
  270. >批量导入</el-button
  271. >
  272. <el-button type="primary" class="search" @click="searchBtn"
  273. >一键催办</el-button
  274. >
  275. <el-button @click="searchBtn" color="rgba(212, 48, 48, 1)"
  276. >删除</el-button
  277. >
  278. <el-button type="primary" class="search" @click="searchBtn"
  279. >导出</el-button
  280. >
  281. </div>
  282. </div>
  283. <div class="project">
  284. <el-card v-for="i in 8" @click="projectCard">
  285. <div class="title">
  286. <div class="name">
  287. <span>XXX项目</span>
  288. <span class="shewai">涉外</span>
  289. </div>
  290. <div class="btn">
  291. <el-button
  292. @click.stop=""
  293. size="small"
  294. color="rgba(212, 48, 48, 1)"
  295. >紧急</el-button
  296. >
  297. <el-button
  298. @click.stop=""
  299. size="small"
  300. color="rgba(254, 144, 51, 1)"
  301. >已收藏</el-button
  302. >
  303. <el-dropdown placement="bottom-start">
  304. <el-button
  305. @click.stop=""
  306. size="small"
  307. color="rgba(33, 107, 255, 1)"
  308. >更多</el-button
  309. >
  310. <template #dropdown>
  311. <el-dropdown-menu>
  312. <el-dropdown-item>复制</el-dropdown-item>
  313. <el-dropdown-item>编辑</el-dropdown-item>
  314. <el-dropdown-item @click.stop="delProject"
  315. >删除</el-dropdown-item
  316. >
  317. <el-dropdown-item @click.stop="scoreProject"
  318. >评分</el-dropdown-item
  319. >
  320. </el-dropdown-menu>
  321. </template>
  322. </el-dropdown>
  323. </div>
  324. </div>
  325. <div class="info">
  326. <div class="item">主办单位:交通学院</div>
  327. <div class="item">主办人:周婷</div>
  328. <div class="item">项目周期:2024-9-25 - 2024-9-25</div>
  329. <div class="item">人员:张三 I 李四 I 王老五</div>
  330. <div class="item">任务:30个</div>
  331. <div class="item">预警次数:30次</div>
  332. <div class="item">提醒次数:30次</div>
  333. <div class="plan">
  334. <span>项目进度:</span>
  335. <el-progress percentage="80" color="rgba(0, 97, 255, 1)" />
  336. <img @click.stop="" src="../../assets/images/inform.png" alt="" />
  337. </div>
  338. </div>
  339. </el-card>
  340. </div>
  341. <div class="roles">问题清单</div>
  342. <div class="participation">
  343. <el-button @click="issueListChange(1)" :class="issueList==1?'active':''">我关注的</el-button>
  344. <el-button @click="issueListChange(2)" :class="issueList==2?'active':''">我负责的</el-button>
  345. <el-button @click="issueListChange(3)" :class="issueList==3?'active':''">我协办的</el-button>
  346. </div>
  347. <div class="condition">
  348. <div class="fil">
  349. <span>主办单位</span>&nbsp;&nbsp;
  350. <el-select
  351. v-model="searchInput1.department"
  352. placeholder="请选择主办单位"
  353. style="width: 160px"
  354. clearable
  355. @clear="searchBtn"
  356. >
  357. <el-option
  358. v-for="item in departmentData"
  359. :key="item.value"
  360. :label="item.name"
  361. :value="item.id"
  362. />
  363. </el-select>
  364. </div>
  365. <div class="fil">
  366. <span>主办人</span>&nbsp;&nbsp;
  367. <el-select
  368. v-model="searchInput1.department"
  369. placeholder="请选择主办人"
  370. style="width: 160px"
  371. clearable
  372. @clear="searchBtn"
  373. >
  374. <el-option
  375. v-for="item in departmentData"
  376. :key="item.value"
  377. :label="item.name"
  378. :value="item.id"
  379. />
  380. </el-select>
  381. </div>
  382. <div class="fil">
  383. <span>协办单位</span>&nbsp;&nbsp;
  384. <el-select
  385. v-model="searchInput1.department"
  386. placeholder="请选择协办单位"
  387. style="width: 160px"
  388. clearable
  389. @clear="searchBtn"
  390. >
  391. <el-option
  392. v-for="item in departmentData"
  393. :key="item.value"
  394. :label="item.name"
  395. :value="item.id"
  396. />
  397. </el-select>
  398. </div>
  399. <div class="fil">
  400. <span>协办人</span>&nbsp;&nbsp;
  401. <el-select
  402. v-model="searchInput1.department"
  403. placeholder="请选择协办人"
  404. style="width: 160px"
  405. clearable
  406. @clear="searchBtn"
  407. >
  408. <el-option
  409. v-for="item in departmentData"
  410. :key="item.value"
  411. :label="item.name"
  412. :value="item.id"
  413. />
  414. </el-select>
  415. </div>
  416. <div class="fil">
  417. <span>时间选择</span>&nbsp;&nbsp;
  418. <el-radio-group v-model="radio">
  419. <el-radio :value="3">最近7日</el-radio>
  420. <el-radio :value="6">本月</el-radio>
  421. <el-radio :value="9">本季度</el-radio>
  422. <el-radio :value="9">自定义</el-radio>
  423. <el-date-picker
  424. v-model="searchInput1.definedTime"
  425. type="daterange"
  426. unlink-panels
  427. range-separator="-"
  428. start-placeholder="起始时间"
  429. end-placeholder="截止时间"
  430. format="YYYY-MM-DD"
  431. value-format="YYYY-MM-DD"
  432. :prefix-icon="Calendar"
  433. placeholder="请选择日期"
  434. style="width: 280px"
  435. @change="searchBtn"
  436. />
  437. </el-radio-group>
  438. </div>
  439. <div class="fil">
  440. <span>项目等级</span>&nbsp;&nbsp;
  441. <el-select
  442. v-model="searchInput1.department"
  443. placeholder="请选择项目等级"
  444. style="width: 160px"
  445. clearable
  446. @clear="searchBtn"
  447. >
  448. <el-option
  449. v-for="item in departmentData"
  450. :key="item.value"
  451. :label="item.name"
  452. :value="item.id"
  453. />
  454. </el-select>
  455. </div>
  456. <div class="fil">
  457. <span>项目来源</span>&nbsp;&nbsp;
  458. <el-select
  459. v-model="searchInput1.department"
  460. placeholder="请选择项目来源"
  461. style="width: 160px"
  462. clearable
  463. @clear="searchBtn"
  464. >
  465. <el-option
  466. v-for="item in departmentData"
  467. :key="item.value"
  468. :label="item.name"
  469. :value="item.id"
  470. />
  471. </el-select>
  472. </div>
  473. <div class="fil">
  474. <span>状态</span>&nbsp;&nbsp;
  475. <el-select
  476. v-model="searchInput1.department"
  477. placeholder="请选择状态"
  478. style="width: 160px"
  479. clearable
  480. @clear="searchBtn"
  481. >
  482. <el-option
  483. v-for="item in departmentData"
  484. :key="item.value"
  485. :label="item.name"
  486. :value="item.id"
  487. />
  488. </el-select>
  489. </div>
  490. <div class="fil">
  491. <el-input
  492. clearable
  493. v-model="searchInput1.time"
  494. @clear="searchBtn"
  495. placeholder="请输入项目"
  496. style="width: 180px"
  497. />
  498. <el-button
  499. style="margin-left: 20px"
  500. type="primary"
  501. class="search"
  502. @click="searchBtn"
  503. >查询</el-button
  504. >
  505. </div>
  506. <div class="fil">
  507. <el-button type="primary" class="search" @click="searchBtn"
  508. >一键催办</el-button
  509. >
  510. <el-button type="primary" class="search" @click="searchBtn"
  511. >导出</el-button
  512. >
  513. </div>
  514. </div>
  515. <div class="project">
  516. <el-card v-for="i in 8" @click="projectCard">
  517. <div class="title">
  518. <div class="name">
  519. <span>XXX项目</span>
  520. <span class="shewai">涉外</span>
  521. </div>
  522. <div class="btn">
  523. <el-button
  524. @click.stop=""
  525. size="small"
  526. color="rgba(212, 48, 48, 1)"
  527. >紧急</el-button
  528. >
  529. <el-button
  530. @click.stop=""
  531. size="small"
  532. color="rgba(254, 144, 51, 1)"
  533. >已收藏</el-button
  534. >
  535. <el-dropdown placement="bottom-start">
  536. <el-button
  537. @click.stop=""
  538. size="small"
  539. color="rgba(33, 107, 255, 1)"
  540. >更多</el-button
  541. >
  542. <template #dropdown>
  543. <el-dropdown-menu>
  544. <el-dropdown-item>复制</el-dropdown-item>
  545. <el-dropdown-item>编辑</el-dropdown-item>
  546. <el-dropdown-item @click.stop="delProject"
  547. >删除</el-dropdown-item
  548. >
  549. <el-dropdown-item @click.stop="scoreProject"
  550. >评分</el-dropdown-item
  551. >
  552. </el-dropdown-menu>
  553. </template>
  554. </el-dropdown>
  555. </div>
  556. </div>
  557. <div class="info">
  558. <div class="item">主办单位:交通学院</div>
  559. <div class="item">主办人:周婷</div>
  560. <div class="item">项目周期:2024-9-25 - 2024-9-25</div>
  561. <div class="item">人员:张三 I 李四 I 王老五</div>
  562. <div class="item">任务:30个</div>
  563. <div class="item">预警次数:30次</div>
  564. <div class="item">提醒次数:30次</div>
  565. <div class="plan">
  566. <span>项目进度:</span>
  567. <el-progress percentage="80" color="rgba(0, 97, 255, 1)" />
  568. <img @click.stop="" src="../../assets/images/inform.png" alt="" />
  569. </div>
  570. </div>
  571. </el-card>
  572. </div>
  573. <div class="roles" style="padding-bottom: 0">部门排行榜</div>
  574. <div class="condition">
  575. <div class="fil">
  576. <el-select
  577. v-model="searchInput1.department"
  578. placeholder="请选择主办单位"
  579. style="width: 160px"
  580. clearable
  581. @clear="searchBtn"
  582. >
  583. <el-option
  584. v-for="item in departmentData"
  585. :key="item.value"
  586. :label="item.name"
  587. :value="item.id"
  588. />
  589. </el-select>
  590. </div>
  591. <div class="fil">
  592. <span>时间选择</span>&nbsp;&nbsp;
  593. <el-radio-group v-model="radio">
  594. <el-radio :value="3">最近7日</el-radio>
  595. <el-radio :value="6">本月</el-radio>
  596. <el-radio :value="9">本季度</el-radio>
  597. <el-radio :value="9">自定义</el-radio>
  598. <el-date-picker
  599. v-model="searchInput1.definedTime"
  600. type="daterange"
  601. unlink-panels
  602. range-separator="-"
  603. start-placeholder="起始时间"
  604. end-placeholder="截止时间"
  605. format="YYYY-MM-DD"
  606. value-format="YYYY-MM-DD"
  607. :prefix-icon="Calendar"
  608. placeholder="请选择日期"
  609. style="width: 280px"
  610. @change="searchBtn"
  611. />
  612. </el-radio-group>
  613. </div>
  614. <div class="fil">
  615. <el-input
  616. clearable
  617. v-model="searchInput1.time"
  618. @clear="searchBtn"
  619. placeholder="请输入项目"
  620. style="width: 180px"
  621. />
  622. <el-button
  623. style="margin-left: 20px"
  624. type="primary"
  625. class="search"
  626. @click="searchBtn"
  627. >查询</el-button
  628. >
  629. </div>
  630. <div class="fil">
  631. <el-button type="primary" class="search" @click="searchBtn"
  632. >导出</el-button
  633. >
  634. </div>
  635. </div>
  636. <div class="table">
  637. <div class="l_table">
  638. <div class="title"><span class="icon"></span>评分排行榜</div>
  639. <el-table
  640. :data="tableData.list"
  641. style="width: 100%"
  642. :header-cell-style="{
  643. background: 'rgba(240, 243, 247, 1)',
  644. height: '30px',
  645. border: 0,
  646. }"
  647. >
  648. <el-table-column align="center" prop="createTime" label="排行" />
  649. <el-table-column
  650. align="center"
  651. prop="createTime"
  652. label="部门名称"
  653. />
  654. <el-table-column align="center" prop="createUser" label="分数" />
  655. </el-table>
  656. </div>
  657. <div class="l_table">
  658. <div class="title"><span class="icon"></span>完成率排行榜</div>
  659. <el-table
  660. :data="tableData.list"
  661. style="width: 100%"
  662. :header-cell-style="{
  663. background: 'rgba(240, 243, 247, 1)',
  664. height: '30px',
  665. border: 0,
  666. }"
  667. >
  668. <el-table-column align="center" prop="createTime" label="排行" />
  669. <el-table-column
  670. align="center"
  671. prop="createTime"
  672. label="部门名称"
  673. />
  674. <el-table-column align="center" prop="createUser" label="分数" />
  675. </el-table>
  676. </div>
  677. </div>
  678. <div class="roles">预警消息推送汇总</div>
  679. <div class="participation">
  680. <el-button
  681. :class="warningFlag == 1 ? 'active' : ''"
  682. @click="warningClick(1)"
  683. >汇总</el-button
  684. >
  685. <el-button
  686. :class="warningFlag == 2 ? 'active' : ''"
  687. @click="warningClick(2)"
  688. >明细</el-button
  689. >
  690. </div>
  691. <div v-show="warningFlag == 1">
  692. <div class="condition">
  693. <div class="fil">
  694. <span>主办单位</span>&nbsp;&nbsp;
  695. <el-select
  696. v-model="searchInput1.department"
  697. placeholder="请选择主办单位"
  698. style="width: 160px"
  699. clearable
  700. @clear="searchBtn"
  701. >
  702. <el-option
  703. v-for="item in departmentData"
  704. :key="item.value"
  705. :label="item.name"
  706. :value="item.id"
  707. />
  708. </el-select>
  709. </div>
  710. <div class="fil">
  711. <span>协办单位</span>&nbsp;&nbsp;
  712. <el-select
  713. v-model="searchInput1.department"
  714. placeholder="请选择协办单位"
  715. style="width: 160px"
  716. clearable
  717. @clear="searchBtn"
  718. >
  719. <el-option
  720. v-for="item in departmentData"
  721. :key="item.value"
  722. :label="item.name"
  723. :value="item.id"
  724. />
  725. </el-select>
  726. </div>
  727. <div class="fil">
  728. <span>时间选择</span>&nbsp;&nbsp;
  729. <el-radio-group v-model="radio">
  730. <el-radio :value="3">最近7日</el-radio>
  731. <el-radio :value="6">本月</el-radio>
  732. <el-radio :value="9">本季度</el-radio>
  733. <el-radio :value="9">自定义</el-radio>
  734. <el-date-picker
  735. v-model="searchInput1.definedTime"
  736. type="daterange"
  737. unlink-panels
  738. range-separator="-"
  739. start-placeholder="起始时间"
  740. end-placeholder="截止时间"
  741. format="YYYY-MM-DD"
  742. value-format="YYYY-MM-DD"
  743. :prefix-icon="Calendar"
  744. placeholder="请选择日期"
  745. style="width: 280px"
  746. @change="searchBtn"
  747. />
  748. </el-radio-group>
  749. </div>
  750. <div class="fil">
  751. <span>项目等级</span>&nbsp;&nbsp;
  752. <el-select
  753. v-model="searchInput1.department"
  754. placeholder="请选择项目等级"
  755. style="width: 160px"
  756. clearable
  757. @clear="searchBtn"
  758. >
  759. <el-option
  760. v-for="item in departmentData"
  761. :key="item.value"
  762. :label="item.name"
  763. :value="item.id"
  764. />
  765. </el-select>
  766. </div>
  767. <div class="fil">
  768. <span>项目来源</span>&nbsp;&nbsp;
  769. <el-select
  770. v-model="searchInput1.department"
  771. placeholder="请选择项目来源"
  772. style="width: 160px"
  773. clearable
  774. @clear="searchBtn"
  775. >
  776. <el-option
  777. v-for="item in departmentData"
  778. :key="item.value"
  779. :label="item.name"
  780. :value="item.id"
  781. />
  782. </el-select>
  783. </div>
  784. <div class="fil">
  785. <span>状态</span>&nbsp;&nbsp;
  786. <el-select
  787. v-model="searchInput1.department"
  788. placeholder="请选择状态"
  789. style="width: 160px"
  790. clearable
  791. @clear="searchBtn"
  792. >
  793. <el-option
  794. v-for="item in departmentData"
  795. :key="item.value"
  796. :label="item.name"
  797. :value="item.id"
  798. />
  799. </el-select>
  800. </div>
  801. <div class="fil">
  802. <el-input
  803. clearable
  804. v-model="searchInput1.time"
  805. @clear="searchBtn"
  806. placeholder="请输入项目"
  807. style="width: 180px"
  808. />
  809. <el-button
  810. style="margin-left: 20px"
  811. type="primary"
  812. class="search"
  813. @click="searchBtn"
  814. >查询</el-button
  815. >
  816. </div>
  817. <div class="fil">
  818. <el-button type="primary" class="search" @click="searchBtn"
  819. >导出</el-button
  820. >
  821. </div>
  822. </div>
  823. <div class="huizong">
  824. <table>
  825. <tr>
  826. <td rowspan="2">校办</td>
  827. <td>提醒次数</td>
  828. <td>预警次数</td>
  829. </tr>
  830. <tr>
  831. <td></td>
  832. <td></td>
  833. </tr>
  834. </table>
  835. </div>
  836. </div>
  837. <div v-show="warningFlag == 2">
  838. <div class="condition">
  839. <div class="fil">
  840. <span>主办单位</span>&nbsp;&nbsp;
  841. <el-select
  842. v-model="searchInput1.department"
  843. placeholder="请选择主办单位"
  844. style="width: 160px"
  845. clearable
  846. @clear="searchBtn"
  847. >
  848. <el-option
  849. v-for="item in departmentData"
  850. :key="item.value"
  851. :label="item.name"
  852. :value="item.id"
  853. />
  854. </el-select>
  855. </div>
  856. <div class="fil">
  857. <span>主办人</span>&nbsp;&nbsp;
  858. <el-select
  859. v-model="searchInput1.department"
  860. placeholder="请选择主办人"
  861. style="width: 160px"
  862. clearable
  863. @clear="searchBtn"
  864. >
  865. <el-option
  866. v-for="item in departmentData"
  867. :key="item.value"
  868. :label="item.name"
  869. :value="item.id"
  870. />
  871. </el-select>
  872. </div>
  873. <div class="fil">
  874. <span>协办单位</span>&nbsp;&nbsp;
  875. <el-select
  876. v-model="searchInput1.department"
  877. placeholder="请选择协办单位"
  878. style="width: 160px"
  879. clearable
  880. @clear="searchBtn"
  881. >
  882. <el-option
  883. v-for="item in departmentData"
  884. :key="item.value"
  885. :label="item.name"
  886. :value="item.id"
  887. />
  888. </el-select>
  889. </div>
  890. <div class="fil">
  891. <span>协办人</span>&nbsp;&nbsp;
  892. <el-select
  893. v-model="searchInput1.department"
  894. placeholder="请选择协办人"
  895. style="width: 160px"
  896. clearable
  897. @clear="searchBtn"
  898. >
  899. <el-option
  900. v-for="item in departmentData"
  901. :key="item.value"
  902. :label="item.name"
  903. :value="item.id"
  904. />
  905. </el-select>
  906. </div>
  907. <div class="fil">
  908. <span>时间选择</span>&nbsp;&nbsp;
  909. <el-radio-group v-model="radio">
  910. <el-radio :value="3">最近7日</el-radio>
  911. <el-radio :value="6">本月</el-radio>
  912. <el-radio :value="9">本季度</el-radio>
  913. <el-radio :value="9">自定义</el-radio>
  914. <el-date-picker
  915. v-model="searchInput1.definedTime"
  916. type="daterange"
  917. unlink-panels
  918. range-separator="-"
  919. start-placeholder="起始时间"
  920. end-placeholder="截止时间"
  921. format="YYYY-MM-DD"
  922. value-format="YYYY-MM-DD"
  923. :prefix-icon="Calendar"
  924. placeholder="请选择日期"
  925. style="width: 280px"
  926. @change="searchBtn"
  927. />
  928. </el-radio-group>
  929. </div>
  930. <div class="fil">
  931. <span>项目等级</span>&nbsp;&nbsp;
  932. <el-select
  933. v-model="searchInput1.department"
  934. placeholder="请选择项目等级"
  935. style="width: 160px"
  936. clearable
  937. @clear="searchBtn"
  938. >
  939. <el-option
  940. v-for="item in departmentData"
  941. :key="item.value"
  942. :label="item.name"
  943. :value="item.id"
  944. />
  945. </el-select>
  946. </div>
  947. <div class="fil">
  948. <span>项目来源</span>&nbsp;&nbsp;
  949. <el-select
  950. v-model="searchInput1.department"
  951. placeholder="请选择项目来源"
  952. style="width: 160px"
  953. clearable
  954. @clear="searchBtn"
  955. >
  956. <el-option
  957. v-for="item in departmentData"
  958. :key="item.value"
  959. :label="item.name"
  960. :value="item.id"
  961. />
  962. </el-select>
  963. </div>
  964. <div class="fil">
  965. <span>状态</span>&nbsp;&nbsp;
  966. <el-select
  967. v-model="searchInput1.department"
  968. placeholder="请选择状态"
  969. style="width: 160px"
  970. clearable
  971. @clear="searchBtn"
  972. >
  973. <el-option
  974. v-for="item in departmentData"
  975. :key="item.value"
  976. :label="item.name"
  977. :value="item.id"
  978. />
  979. </el-select>
  980. </div>
  981. <div class="fil">
  982. <el-input
  983. clearable
  984. v-model="searchInput1.time"
  985. @clear="searchBtn"
  986. placeholder="请输入项目"
  987. style="width: 180px"
  988. />
  989. <el-button
  990. style="margin-left: 20px"
  991. type="primary"
  992. class="search"
  993. @click="searchBtn"
  994. >查询</el-button
  995. >
  996. </div>
  997. <div class="fil">
  998. <el-button type="primary" class="search" @click="searchBtn"
  999. >导出</el-button
  1000. >
  1001. </div>
  1002. </div>
  1003. <div class="mingxi">
  1004. <el-table
  1005. :row-class-name="tableRowClassName"
  1006. :data="tableData.list"
  1007. style="width: 100%"
  1008. :header-cell-style="{
  1009. background: 'rgba(240, 243, 247, 1)',
  1010. height: '50px',
  1011. border: 0,
  1012. }"
  1013. >
  1014. <el-table-column align="center" prop="createTime" label="项目" />
  1015. <el-table-column align="center" prop="createTime" label="任务" />
  1016. <el-table-column align="center" prop="createUser" label="类型" />
  1017. <el-table-column
  1018. align="center"
  1019. prop="createUser"
  1020. label="发生时间"
  1021. />
  1022. <el-table-column align="center" prop="createTime" label="部门" />
  1023. <el-table-column align="center" prop="createTime" label="姓名" />
  1024. </el-table>
  1025. </div>
  1026. </div>
  1027. </div>
  1028. <!-- 新建项目 -->
  1029. <el-dialog
  1030. class="project"
  1031. v-model="projectVisible"
  1032. :close-on-click-modal="false"
  1033. :close-on-press-escape="false"
  1034. :title="projectTitle"
  1035. align-center
  1036. width="600"
  1037. :before-close="cancelProject"
  1038. >
  1039. <el-form
  1040. ref="projectRef"
  1041. :model="projectRuleForm"
  1042. :rules="projectRules"
  1043. class="demo-ruleForm"
  1044. label-width="80px"
  1045. :size="formSize"
  1046. label-position="right"
  1047. status-icon
  1048. >
  1049. <el-form-item label="项目名称" prop="name">
  1050. <el-input
  1051. v-model="projectRuleForm.name"
  1052. @clear="searchBtn"
  1053. placeholder="请输入项目名称"
  1054. />
  1055. </el-form-item>
  1056. <el-form-item label="项目描述" prop="describe">
  1057. <el-input
  1058. type="textarea"
  1059. :autosize="{ minRows: 6, maxRows: 8 }"
  1060. v-model="projectRuleForm.describe"
  1061. placeholder="请输入描述"
  1062. clearable
  1063. />
  1064. </el-form-item>
  1065. <el-form-item label="上传附件" prop="attachment">
  1066. <el-input
  1067. v-model="projectRuleForm.attachment"
  1068. placeholder="请上传附件"
  1069. >
  1070. <!-- <template #prepend>
  1071. <el-button :icon="Search" />
  1072. </template> -->
  1073. <template #append>
  1074. <el-button
  1075. style="
  1076. width: 100px;
  1077. background-color: rgba(33, 107, 255, 1);
  1078. color: #fff;
  1079. "
  1080. >上传</el-button
  1081. >
  1082. </template>
  1083. </el-input>
  1084. </el-form-item>
  1085. <el-form-item label="主办单位" prop="sponsor">
  1086. <el-select
  1087. v-model="projectRuleForm.sponsor"
  1088. placeholder="请选择主办单位"
  1089. clearable
  1090. @clear="searchBtn"
  1091. >
  1092. <el-option
  1093. v-for="item in sponsorData"
  1094. :key="item.value"
  1095. :label="item.name"
  1096. :value="item.id"
  1097. />
  1098. </el-select>
  1099. </el-form-item>
  1100. <el-form-item label="协办单位" prop="coorganizer">
  1101. <el-select
  1102. v-model="projectRuleForm.coorganizer"
  1103. placeholder="请选择协办单位"
  1104. clearable
  1105. @clear="searchBtn"
  1106. >
  1107. <el-option
  1108. v-for="item in coorganizerData"
  1109. :key="item.value"
  1110. :label="item.name"
  1111. :value="item.id"
  1112. />
  1113. </el-select>
  1114. </el-form-item>
  1115. <el-form-item label="项目来源" prop="source">
  1116. <el-select
  1117. v-model="projectRuleForm.source"
  1118. placeholder="请选择部门"
  1119. clearable
  1120. @clear="searchBtn"
  1121. >
  1122. <el-option
  1123. v-for="item in sourceData"
  1124. :key="item.value"
  1125. :label="item.name"
  1126. :value="item.id"
  1127. />
  1128. </el-select>
  1129. </el-form-item>
  1130. <el-form-item label="项目等级" prop="level">
  1131. <el-select
  1132. v-model="projectRuleForm.level"
  1133. placeholder="请选择部门"
  1134. clearable
  1135. @clear="searchBtn"
  1136. >
  1137. <el-option
  1138. v-for="item in levelData"
  1139. :key="item.value"
  1140. :label="item.name"
  1141. :value="item.id"
  1142. />
  1143. </el-select>
  1144. </el-form-item>
  1145. <el-form-item class="options">
  1146. <el-button
  1147. class="queding"
  1148. type="primary"
  1149. @click="confirmProject(projectRef)"
  1150. >
  1151. &nbsp;&nbsp;确认&nbsp;&nbsp;
  1152. </el-button>
  1153. <el-button class="quxiao" @click="cancelProject"
  1154. >&nbsp;&nbsp;取消&nbsp;&nbsp;</el-button
  1155. >
  1156. </el-form-item>
  1157. </el-form>
  1158. </el-dialog>
  1159. <!-- 评分 -->
  1160. <el-dialog
  1161. class="project"
  1162. v-model="scoreVisible"
  1163. :close-on-click-modal="false"
  1164. :close-on-press-escape="false"
  1165. title="评分"
  1166. align-center
  1167. width="600"
  1168. :before-close="cancelScore"
  1169. >
  1170. <el-form
  1171. ref="scoreRef"
  1172. :model="scoreRuleForm"
  1173. :rules="scoreRules"
  1174. class="demo-ruleForm"
  1175. label-width="60px"
  1176. :size="formSize"
  1177. label-position="right"
  1178. status-icon
  1179. >
  1180. <el-form-item label="评价" prop="describe">
  1181. <el-input
  1182. type="textarea"
  1183. :autosize="{ minRows: 4, maxRows: 6 }"
  1184. v-model="scoreRuleForm.describe"
  1185. placeholder="请输入评价"
  1186. clearable
  1187. />
  1188. </el-form-item>
  1189. <el-form-item label="评分" prop="num">
  1190. <el-input
  1191. v-model="scoreRuleForm.num"
  1192. @clear="searchBtn"
  1193. placeholder="请输入评分"
  1194. />
  1195. </el-form-item>
  1196. <el-form-item class="options">
  1197. <el-button
  1198. class="queding"
  1199. type="primary"
  1200. @click="confirmScore(scoreRef)"
  1201. >
  1202. &nbsp;&nbsp;确认&nbsp;&nbsp;
  1203. </el-button>
  1204. <el-button class="quxiao" @click="cancelScore"
  1205. >&nbsp;&nbsp;取消&nbsp;&nbsp;</el-button
  1206. >
  1207. </el-form-item>
  1208. </el-form>
  1209. </el-dialog>
  1210. <!-- 点击卡片弹窗 -->
  1211. <el-dialog
  1212. class="projectCard"
  1213. v-model="cardVisible"
  1214. :close-on-click-modal="false"
  1215. :close-on-press-escape="false"
  1216. :title="cardTitle"
  1217. align-center
  1218. width="1200"
  1219. :before-close="cancelCard"
  1220. >
  1221. <div>
  1222. <div class="title">项目情况</div>
  1223. <div class="info">
  1224. 省教育体制改革领导小组办公室《关于配合估好教育部督察组赴我省开展2018年度教育改革重点督查迎检有关工作的通知》
  1225. 省教育体制改革领导小组办公室《关于配合估好教育部督察组赴我省开展2018年度教育改革重点督查迎检有关工作的通知》省教育体制改革领导小组办公室《关于配合估好教育部督察组赴我省开展2018年度教育改革重点督查迎检有关工作的通知》省教育体制改革领导小组办公室《关于配合估好教育部督察组赴我省开展2018年度教育改革重点督查迎检有关工作的通知》省教育体制改革领导小组办公室《关于配合估好教育部督察组赴我省开展2018年度教育改革重点督查迎检有关工作的通知》
  1226. </div>
  1227. <el-divider />
  1228. <div class="unit">
  1229. <div class="unit_i">
  1230. <span class="key">主办单位 :</span>
  1231. <span class="value">全校</span>
  1232. </div>
  1233. <div class="unit_i">
  1234. <span class="key">主办人 :</span>
  1235. <span class="value">全校</span>
  1236. </div>
  1237. <div class="unit_i">
  1238. <span class="key">协办单位 :</span>
  1239. <span class="value">全校</span>
  1240. </div>
  1241. <div class="unit_i">
  1242. <span class="key">协办人 :</span>
  1243. <span class="value">全校</span>
  1244. </div>
  1245. <div class="unit_i">
  1246. <span class="key">分管领导 :</span>
  1247. <span class="value">全校</span>
  1248. </div>
  1249. <div class="unit_i">
  1250. <span class="key">项目周期 :</span>
  1251. <span class="value">全校</span>
  1252. </div>
  1253. <div class="unit_i">
  1254. <span class="key">项目等级 :</span>
  1255. <span class="value">全校</span>
  1256. </div>
  1257. <div class="unit_i">
  1258. <span class="key">项目来源 :</span>
  1259. <span class="value">全校</span>
  1260. </div>
  1261. </div>
  1262. <div class="unit" style="margin: 10px 0 20px">
  1263. <div class="unit_i">
  1264. <span class="key">附件 :</span>
  1265. <span class="attachment">xxx文档</span>
  1266. </div>
  1267. </div>
  1268. <div class="participation">
  1269. <el-button @click="logChange(1)" :class="logFlag == 1 ? 'active' : ''"
  1270. >项目进度</el-button
  1271. >
  1272. <el-button @click="logChange(2)" :class="logFlag == 2 ? 'active' : ''"
  1273. >项目日志</el-button
  1274. >
  1275. </div>
  1276. <div v-if="logFlag == 1">
  1277. <div class="schedule">
  1278. <span>任务进度分(权重60%)</span>
  1279. <!-- <span>(注:评分维度为:任务完成质量40%)</span> -->
  1280. </div>
  1281. <el-table
  1282. :row-class-name="tableRowClassName"
  1283. :data="tableData.list"
  1284. @selection-change="handleSelectionChange"
  1285. style="width: 100%"
  1286. :header-cell-style="{
  1287. background: 'rgba(240, 243, 247, 1)',
  1288. height: '40px',
  1289. border: 0,
  1290. }"
  1291. >
  1292. <!-- <el-table-column type="selection" width="55" /> -->
  1293. <el-table-column
  1294. align="center"
  1295. prop="createTime"
  1296. label="任务名称"
  1297. />
  1298. <el-table-column align="center" prop="createTime" label="附件" />
  1299. <el-table-column align="center" prop="createUser" label="状态" />
  1300. <el-table-column align="center" prop="createUser" label="进度" />
  1301. <el-table-column
  1302. align="center"
  1303. prop="createUser"
  1304. label="起止时间"
  1305. />
  1306. <el-table-column
  1307. align="center"
  1308. prop="createUser"
  1309. label="提醒时间"
  1310. />
  1311. <el-table-column
  1312. align="center"
  1313. prop="createUser"
  1314. label="预警时间"
  1315. />
  1316. <el-table-column
  1317. align="center"
  1318. prop="createTime"
  1319. label="完成时间"
  1320. />
  1321. <el-table-column
  1322. align="center"
  1323. prop="createTime"
  1324. label="完成备注"
  1325. />
  1326. <el-table-column
  1327. align="center"
  1328. prop="createTime"
  1329. label="评价标准"
  1330. />
  1331. <el-table-column align="center" prop="createTime" label="权重" />
  1332. <el-table-column
  1333. align="center"
  1334. prop="createTime"
  1335. label="任务负责人"
  1336. />
  1337. <el-table-column
  1338. align="center"
  1339. prop="createTime"
  1340. label="评分上限"
  1341. />
  1342. <el-table-column align="center" prop="createTime" label="系统" />
  1343. <el-table-column align="center" label="操作" width="220">
  1344. <template #default="scope">
  1345. <div class="options">
  1346. <div class="edit" @click="edit(scope.row)">编辑</div>
  1347. <el-popconfirm
  1348. width="200"
  1349. confirm-button-text="确认"
  1350. cancel-button-text="取消"
  1351. :icon="InfoFilled"
  1352. icon-color="#f89626"
  1353. title="是否删除此数据?"
  1354. @confirm="del(scope.row)"
  1355. @cancel="cancelEvent"
  1356. >
  1357. <template #reference>
  1358. <div class="del">删除</div>
  1359. </template>
  1360. </el-popconfirm>
  1361. <el-popconfirm
  1362. width="200"
  1363. confirm-button-text="确认"
  1364. cancel-button-text="取消"
  1365. :icon="InfoFilled"
  1366. icon-color="#f89626"
  1367. title="是否对此项目催办?"
  1368. @confirm="del(scope.row)"
  1369. @cancel="cancelEvent"
  1370. >
  1371. <template #reference>
  1372. <div class="look">催办</div>
  1373. </template>
  1374. </el-popconfirm>
  1375. <div class="edit" @click="updateClick(scope.row)">更新进度</div>
  1376. </div>
  1377. </template>
  1378. </el-table-column>
  1379. </el-table>
  1380. <el-button type="primary" class="search" @click="searchBtn"
  1381. >添加任务</el-button
  1382. >
  1383. <el-button type="primary" class="search" @click="searchBtn"
  1384. >评分</el-button
  1385. >
  1386. </div>
  1387. <div v-if="logFlag == 2">
  1388. <el-table
  1389. :row-class-name="tableRowClassName"
  1390. :data="tableData.list"
  1391. @selection-change="handleSelectionChange"
  1392. style="width: 100%"
  1393. :header-cell-style="{
  1394. background: 'rgba(240, 243, 247, 1)',
  1395. height: '40px',
  1396. border: 0,
  1397. }"
  1398. >
  1399. <!-- <el-table-column type="selection" width="55" /> -->
  1400. <el-table-column
  1401. align="center"
  1402. prop="createTime"
  1403. label="任务名称"
  1404. />
  1405. <el-table-column align="center" prop="createTime" label="附件" />
  1406. <el-table-column align="center" prop="createTime" label="内容" />
  1407. <el-table-column
  1408. align="center"
  1409. prop="createTime"
  1410. label="发生时间"
  1411. />
  1412. <el-table-column align="center" prop="createTime" label="操作人" />
  1413. </el-table>
  1414. </div>
  1415. </div>
  1416. </el-dialog>
  1417. <!-- 更新进度 -->
  1418. <el-dialog
  1419. class="project"
  1420. v-model="updateVisible"
  1421. :close-on-click-modal="false"
  1422. :close-on-press-escape="false"
  1423. title="更新进度"
  1424. align-center
  1425. width="600"
  1426. :before-close="cancelUpdate"
  1427. >
  1428. <el-form
  1429. ref="updateRef"
  1430. :model="updateRuleForm"
  1431. :rules="updateRules"
  1432. class="demo-ruleForm"
  1433. label-width="80px"
  1434. :size="formSize"
  1435. label-position="right"
  1436. status-icon
  1437. >
  1438. <el-form-item label="完成备注" prop="remark">
  1439. <el-input
  1440. type="textarea"
  1441. :autosize="{ minRows: 4, maxRows: 6 }"
  1442. v-model="updateRuleForm.remark"
  1443. placeholder="请输入备注"
  1444. clearable
  1445. />
  1446. </el-form-item>
  1447. <el-form-item label="上传附件" prop="attachment">
  1448. <el-input
  1449. v-model="updateRuleForm.attachment"
  1450. placeholder="请上传附件"
  1451. >
  1452. <!-- <template #prepend>
  1453. <el-button :icon="Search" />
  1454. </template> -->
  1455. <template #append>
  1456. <el-button
  1457. style="
  1458. width: 100px;
  1459. background-color: rgba(33, 107, 255, 1);
  1460. color: #fff;
  1461. "
  1462. >上传</el-button
  1463. >
  1464. </template>
  1465. </el-input>
  1466. </el-form-item>
  1467. <el-form-item class="options">
  1468. <el-button
  1469. class="queding"
  1470. type="primary"
  1471. @click="confirmUpdate(updateRef)"
  1472. >
  1473. &nbsp;&nbsp;确认&nbsp;&nbsp;
  1474. </el-button>
  1475. <el-button class="quxiao" @click="cancelUpdate"
  1476. >&nbsp;&nbsp;取消&nbsp;&nbsp;</el-button
  1477. >
  1478. </el-form-item>
  1479. </el-form>
  1480. </el-dialog>
  1481. </div>
  1482. </template>
  1483. <script setup>
  1484. import {
  1485. ref,
  1486. reactive,
  1487. nextTick,
  1488. onMounted,
  1489. watch,
  1490. onBeforeMount,
  1491. onUnmounted,
  1492. } from "vue";
  1493. import COS from "cos-js-sdk-v5";
  1494. import { useRouter } from "vue-router";
  1495. import { genFileId, ElMessage, ElMessageBox } from "element-plus";
  1496. import { Calendar } from "@element-plus/icons-vue";
  1497. import { dayjs } from "element-plus";
  1498. import lodash, { reduce } from "lodash";
  1499. import axios from "axios";
  1500. import { useStore } from "vuex";
  1501. const store = useStore();
  1502. const router = useRouter();
  1503. const tableData = reactive({
  1504. list: [{}],
  1505. });
  1506. // 项目台
  1507. const projectDesk=ref(1);
  1508. // 问题清单
  1509. const issueList=ref(1)
  1510. const searchInput1 = reactive({
  1511. time: "", // 时间
  1512. department: "", // 部门
  1513. definedTime: "", // 自定义时间
  1514. }); // 搜索按钮数据
  1515. const departmentData = ref(); // 部门数据
  1516. // 预警消息推送汇总 (汇总)(//////////////////////////////////////////////////////////)
  1517. const warningFlag = ref(1);
  1518. // (明细)
  1519. const currentPage = ref(1); // 当前页
  1520. const pageSize = ref(10);
  1521. const total = ref(40); // 当前总数
  1522. const selectData = reactive({
  1523. list: [],
  1524. }); // 多选框选择的数据
  1525. const api = ref("");
  1526. // 新建项目 (--------------------------------------------------------)
  1527. const projectVisible = ref(false);
  1528. const projectTitle = ref();
  1529. const projectRef = ref();
  1530. const projectRuleForm = reactive({
  1531. name: "", // 名称
  1532. describe: "", // 描述
  1533. attachment: "", // 附件
  1534. sponsor: "", // 主办单位
  1535. coorganizer: "", // 协办单位
  1536. source: "", // 项目来源
  1537. level: "", // 项目等级
  1538. id: "",
  1539. });
  1540. // 新建项目表单验证
  1541. const projectRules = reactive({
  1542. name: [{ required: true, message: "项目名称不能为空", trigger: "blur" }],
  1543. describe: [{ required: true, message: "项目描述不能为空", trigger: "blur" }],
  1544. attachment: [{ required: true, message: "附件不能为空", trigger: "blur" }],
  1545. sponsor: [{ required: true, message: "主办单位不能为空", trigger: "blur" }],
  1546. coorganizer: [
  1547. { required: true, message: "协办单位不能为空", trigger: "blur" },
  1548. ],
  1549. source: [{ required: true, message: "项目来源不能为空", trigger: "blur" }],
  1550. level: [{ required: true, message: "项目等级不能为空", trigger: "blur" }],
  1551. });
  1552. // 评分 (===========================================================)
  1553. const scoreVisible = ref(false);
  1554. const scoreRef = ref();
  1555. const scoreRuleForm = reactive({
  1556. describe: "", // 描述
  1557. num: "", // 名称
  1558. id: "",
  1559. });
  1560. // 评分表单验证
  1561. const scoreRules = reactive({
  1562. describe: [{ required: true, message: "评价不能为空", trigger: "blur" }],
  1563. num: [{ required: true, message: "评分不能为空", trigger: "blur" }],
  1564. });
  1565. // 点击项目卡片 (++++++++++++++++++++++++++++++++++++++++++++++++++++++++)
  1566. const cardVisible = ref(false);
  1567. const cardTitle = ref("XXXXX项目");
  1568. const cardRef = ref();
  1569. const logFlag = ref(1); // 项目进度 || 项目日志
  1570. // 更新进度 (00000000000000000000000000000000000000000000000000000)
  1571. const updateVisible=ref(false);
  1572. const updateRef = ref();
  1573. const updateRuleForm = reactive({
  1574. remark: "", // 备注
  1575. attachment: "", // 附件
  1576. id: "",
  1577. });
  1578. // 更新进度验证
  1579. const updateRules = reactive({
  1580. remark: [{ required: true, message: "备注不能为空", trigger: "blur" }],
  1581. attachment: [{ required: true, message: "附件不能为空", trigger: "blur" }],
  1582. });
  1583. // 获取账户列表
  1584. const getList = async () => {
  1585. loading.value = true;
  1586. let data = {
  1587. currentPage: currentPage.value, // 当前页
  1588. pageCount: pageSize.value, // 一页数据条数
  1589. projectName: searchInput.name,
  1590. pageType: 1,
  1591. permitNum: searchInput.LicenseCode, // 施工许可证编码
  1592. projectUnit: searchInput.unit, // 建设单位
  1593. projectPurpose: searchInput.purpose, // 项目用途
  1594. structureType: searchInput.structureType, // 结构类型
  1595. projectType: searchInput.projectType, // 项目类型
  1596. };
  1597. if (searchInput.createTime) {
  1598. data.startDate = searchInput.createTime[0];
  1599. data.endDate = searchInput.createTime[1];
  1600. }
  1601. let res = await axios({
  1602. method: "get",
  1603. url: api.value + "/jgcloudProject/queryPageJgcloudProject",
  1604. headers: {
  1605. tokenP: sessionStorage.getItem("tokenP"),
  1606. user_head: sessionStorage.getItem("userhead"),
  1607. },
  1608. params: data,
  1609. });
  1610. console.log(res, "项目分页数据");
  1611. if (res.data.code == 200) {
  1612. tableData.list = res.data.data.list;
  1613. total.value = res.data.data.totalCount;
  1614. loading.value = false;
  1615. } else {
  1616. loading.value = false;
  1617. ElMessage({
  1618. type: "error",
  1619. showClose: true,
  1620. message: res.data.message,
  1621. center: true,
  1622. });
  1623. }
  1624. };
  1625. // 搜索功能
  1626. const searchBtn = lodash.debounce(async () => {
  1627. getList();
  1628. }, 300);
  1629. // 项目台
  1630. const deskChange=(val)=>{
  1631. projectDesk.value=val
  1632. }
  1633. // 问题清单
  1634. const issueListChange=(val)=>{
  1635. issueList.value=val
  1636. }
  1637. // 添加考核维度 (==============================================================)
  1638. const addProjectbtn = () => {
  1639. accountVisible.value = true;
  1640. accountTitle.value = "添加考核维度";
  1641. };
  1642. // 取消添加考核维度
  1643. const cancelAccount = () => {
  1644. accountVisible.value = false;
  1645. accountRef.value.resetFields();
  1646. };
  1647. // 点击项目卡片 (++++++++++++++++++++++++++++++++++++++++++++++++++)
  1648. const projectCard = () => {
  1649. cardVisible.value = true;
  1650. };
  1651. const cancelCard = () => {
  1652. cardVisible.value = false;
  1653. };
  1654. // 项目进度 || 项目日志 切换
  1655. const logChange = (val) => {
  1656. logFlag.value = val;
  1657. };
  1658. // 新建项目 (-----------------------------------------------------------------)
  1659. const addProject = () => {
  1660. projectVisible.value = true;
  1661. projectTitle.value = "新建项目";
  1662. };
  1663. // 确定新建项目
  1664. const confirmProject = (formEl) => {
  1665. if (!formEl) return;
  1666. formEl.validate(async (valid, fields) => {
  1667. if (valid) {
  1668. // 判断是否有id存在,有则是修改账号
  1669. // if (accountRuleForm.id) {
  1670. // data.id = accountRuleForm.id;
  1671. // res = await axios({
  1672. // method: "post",
  1673. // url: api.value + "/jgcloudAccount/updateJgcloudAccount",
  1674. // headers: {
  1675. // tokenP: sessionStorage.getItem("tokenP"),
  1676. // user_head: sessionStorage.getItem("userhead"),
  1677. // },
  1678. // data: data,
  1679. // });
  1680. // } else {
  1681. // res = await axios({
  1682. // method: "post",
  1683. // url: api.value + "/jgcloudAccount/insertJgcloudAccount",
  1684. // headers: {
  1685. // tokenP: sessionStorage.getItem("tokenP"),
  1686. // user_head: sessionStorage.getItem("userhead"),
  1687. // },
  1688. // data: data,
  1689. // });
  1690. // }
  1691. // console.log(data, "添加账号参数");
  1692. // console.log(res, "新增账号数据");
  1693. // if (res.data.code == 200) {
  1694. // accountVisible.value = false;
  1695. // getList();
  1696. // accountRef.value.resetFields();
  1697. // ElMessage({
  1698. // type: "success",
  1699. // showClose: true,
  1700. // message: res.data.message,
  1701. // center: true,
  1702. // });
  1703. // } else {
  1704. // ElMessage({
  1705. // type: "error",
  1706. // showClose: true,
  1707. // message: res.data.message,
  1708. // center: true,
  1709. // });
  1710. // }
  1711. }
  1712. });
  1713. };
  1714. // 取消新建项目
  1715. const cancelProject = () => {
  1716. projectVisible.value = false;
  1717. projectRef.value.resetFields();
  1718. };
  1719. //编辑项目
  1720. const edit = (row) => {
  1721. projectVisible.value = true;
  1722. projectTitle.value = "编辑项目";
  1723. console.log(row);
  1724. };
  1725. // 删除项目
  1726. const delProject = () => {
  1727. console.log("删除项目");
  1728. ElMessageBox.confirm("确定要删除项目xxxx吗?", "删除", {
  1729. confirmButtonText: "确定",
  1730. cancelButtonText: "取消",
  1731. type: "warning",
  1732. })
  1733. .then(() => {
  1734. ElMessage({
  1735. type: "success",
  1736. message: "Delete completed",
  1737. });
  1738. })
  1739. .catch(() => {
  1740. ElMessage({
  1741. type: "info",
  1742. message: "Delete canceled",
  1743. });
  1744. });
  1745. };
  1746. // 评分 (==========================================================)
  1747. const scoreProject = () => {
  1748. scoreVisible.value = true;
  1749. };
  1750. // 确定评分
  1751. const confirmScore = (formEl) => {
  1752. if (!formEl) return;
  1753. formEl.validate(async (valid, fields) => {
  1754. if (valid) {
  1755. }
  1756. });
  1757. };
  1758. // 取消评分
  1759. const cancelScore = () => {
  1760. scoreVisible.value = false;
  1761. scoreRef.value.resetFields();
  1762. };
  1763. // 更新进度 (00000000000000000000000000000000000000000000000000000000)
  1764. const updateClick = () => {
  1765. updateVisible.value = true;
  1766. };
  1767. // 确定更新进度
  1768. const confirmUpdate = (formEl) => {
  1769. if (!formEl) return;
  1770. formEl.validate(async (valid, fields) => {
  1771. if (valid) {
  1772. }
  1773. });
  1774. };
  1775. // 取消更新进度
  1776. const cancelUpdate = () => {
  1777. updateVisible.value = false;
  1778. updateRef.value.resetFields();
  1779. };
  1780. // 多选框功能
  1781. const handleSelectionChange = (val) => {
  1782. console.log(val);
  1783. selectData.list = val;
  1784. };
  1785. // 表格斑马纹颜色修改
  1786. const tableRowClassName = ({ row, rowIndex }) => {
  1787. if (rowIndex % 2 === 0) {
  1788. return "even";
  1789. } else if (rowIndex % 2 !== 0) {
  1790. return "odd";
  1791. }
  1792. return "";
  1793. };
  1794. // 每页显示条数
  1795. const handleSizeChange = (value) => {
  1796. console.log(value, "每页显示条数");
  1797. pageSize.value = value;
  1798. getList();
  1799. };
  1800. // 分页
  1801. const handleCurrentChange = (value) => {
  1802. console.log(value, "分页");
  1803. currentPage.value = value;
  1804. getList();
  1805. };
  1806. // 预警消息推送汇总 (汇总)
  1807. const warningClick = (val) => {
  1808. warningFlag.value = val;
  1809. };
  1810. onBeforeMount(() => {
  1811. api.value = store.state.user.api;
  1812. });
  1813. onUnmounted(() => {
  1814. // document.removeEventListener("keyup", Enters);
  1815. });
  1816. </script>
  1817. <style scoped lang="scss">
  1818. .content-box {
  1819. min-width: 1050px;
  1820. width: calc(100vw - 260px);
  1821. height: calc(100vh - 105px);
  1822. margin: 20px auto;
  1823. background-color: #fff;
  1824. // color: #fff;
  1825. display: flex;
  1826. flex-direction: column;
  1827. box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);
  1828. .left {
  1829. // width: calc(100wh - 40px);
  1830. display: flex;
  1831. align-items: center;
  1832. height: 60px;
  1833. margin: 0 30px;
  1834. border-bottom: 1px solid #ccc;
  1835. color: #000;
  1836. font-size: 18px;
  1837. font-weight: 600;
  1838. .cameratxt {
  1839. display: block;
  1840. height: 60px;
  1841. line-height: 60px;
  1842. }
  1843. }
  1844. .middle {
  1845. width: calc(100%);
  1846. margin: 0 auto;
  1847. color: #000;
  1848. .roles {
  1849. padding: 10px 0 10px 0;
  1850. font-weight: 600;
  1851. letter-spacing: 1px;
  1852. }
  1853. // border-bottom: 1px solid rgb(231, 231, 231);
  1854. .filter {
  1855. display: flex;
  1856. flex-wrap: wrap;
  1857. align-items: center;
  1858. margin: 0 0 10px 0;
  1859. .el-checkbox {
  1860. margin-right: 15px;
  1861. color: #000;
  1862. }
  1863. .grade {
  1864. font-size: 14px;
  1865. padding: 0 0 0 15px;
  1866. }
  1867. }
  1868. .card {
  1869. padding: 0;
  1870. display: flex;
  1871. flex-wrap: wrap;
  1872. .el-card {
  1873. width: 207px;
  1874. height: 119px;
  1875. margin: 0 22px 15px 0;
  1876. opacity: 1;
  1877. border-radius: 12px;
  1878. background: rgba(234, 240, 255, 1);
  1879. box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.17);
  1880. .title {
  1881. display: flex;
  1882. // align-items: center;
  1883. justify-content: space-between;
  1884. .block {
  1885. .num {
  1886. font-size: 28px;
  1887. font-weight: 700;
  1888. }
  1889. }
  1890. img {
  1891. width: 38px;
  1892. height: 35px;
  1893. }
  1894. }
  1895. .jindu {
  1896. display: flex;
  1897. align-items: center;
  1898. justify-content: space-between;
  1899. .el-progress {
  1900. width: 100px;
  1901. :deep(.el-progress__text) {
  1902. width: 30px;
  1903. min-width: 30px;
  1904. }
  1905. }
  1906. .title {
  1907. font-size: 12px;
  1908. font-weight: 400;
  1909. }
  1910. }
  1911. }
  1912. }
  1913. }
  1914. .scroll {
  1915. width: calc(100% - 60px);
  1916. margin: 0 auto;
  1917. flex: 1;
  1918. overflow: auto;
  1919. .roles {
  1920. color: #000;
  1921. padding: 10px 0 10px 0;
  1922. font-weight: 600;
  1923. letter-spacing: 1px;
  1924. }
  1925. .participation {
  1926. .el-button {
  1927. opacity: 1;
  1928. border-radius: 8px;
  1929. background: rgba(166, 166, 166, 0.1);
  1930. color: rgba(166, 166, 166, 1);
  1931. border: 1px solid rgba(166, 166, 166, 1);
  1932. }
  1933. .active {
  1934. opacity: 1;
  1935. border-radius: 8px;
  1936. background: rgba(0, 97, 255, 0.1);
  1937. color: rgba(0, 97, 255, 1);
  1938. border: 1px solid rgba(0, 97, 255, 1);
  1939. }
  1940. }
  1941. .condition {
  1942. display: flex;
  1943. flex-wrap: wrap;
  1944. margin: 15px 0 5px;
  1945. .fil {
  1946. margin: 0 20px 10px 0;
  1947. .search {
  1948. background: linear-gradient(
  1949. 90deg,
  1950. rgba(33, 107, 255, 1) 0%,
  1951. rgba(102, 182, 255, 1) 100%
  1952. );
  1953. }
  1954. }
  1955. }
  1956. .project {
  1957. display: flex;
  1958. flex-wrap: wrap;
  1959. .el-card {
  1960. width: 370px;
  1961. height: 229px;
  1962. margin: 0 20px 20px 0;
  1963. opacity: 1;
  1964. border-radius: 4px;
  1965. background: rgba(245, 248, 255, 1);
  1966. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.05);
  1967. .title {
  1968. display: flex;
  1969. align-items: center;
  1970. justify-content: space-between;
  1971. .name {
  1972. display: flex;
  1973. align-items: center;
  1974. font-weight: 600;
  1975. .shewai {
  1976. margin-left: 5px;
  1977. padding: 0 2px;
  1978. font-size: 12px;
  1979. border-radius: 2px;
  1980. border: 1px solid rgba(33, 107, 255, 1);
  1981. color: rgba(33, 107, 255, 1);
  1982. }
  1983. }
  1984. .btn {
  1985. display: flex;
  1986. align-items: center;
  1987. justify-content: space-between;
  1988. .el-button {
  1989. color: #fff;
  1990. }
  1991. .el-dropdown {
  1992. margin-left: 12px;
  1993. }
  1994. }
  1995. }
  1996. .info {
  1997. font-size: 12px;
  1998. .item:nth-child(1) {
  1999. margin-top: 4px;
  2000. }
  2001. .item {
  2002. margin-bottom: 4px;
  2003. }
  2004. .plan {
  2005. display: flex;
  2006. :deep(.el-progress-bar) {
  2007. width: 180px;
  2008. }
  2009. img{
  2010. width: 20px;
  2011. height: 20px;
  2012. cursor: pointer;
  2013. }
  2014. }
  2015. }
  2016. }
  2017. }
  2018. .table {
  2019. display: flex;
  2020. margin-bottom: 10px;
  2021. // justify-content: space-between;
  2022. .l_table {
  2023. width: 467px;
  2024. margin-right: 20px;
  2025. .title {
  2026. margin: 0 0 12px 0;
  2027. font-size: 15px;
  2028. font-weight: 600;
  2029. color: #000;
  2030. display: flex;
  2031. align-items: center;
  2032. .icon {
  2033. display: inline-block;
  2034. margin-right: 8px;
  2035. width: 5px;
  2036. height: 17px;
  2037. opacity: 1;
  2038. border-radius: 5px;
  2039. background: linear-gradient(
  2040. 90deg,
  2041. rgba(33, 107, 255, 1) 0%,
  2042. rgba(102, 182, 255, 1) 100%
  2043. );
  2044. }
  2045. }
  2046. .el-table--fit {
  2047. height: 280px;
  2048. :deep(.el-table__header-wrapper) {
  2049. background-color: #000;
  2050. font-size: 14px;
  2051. color: #000;
  2052. .cell {
  2053. color: #000;
  2054. }
  2055. }
  2056. :deep(.el-table__row) {
  2057. height: 40px;
  2058. font-size: 14px;
  2059. color: #000;
  2060. }
  2061. :deep(.el-table__row td) {
  2062. padding: 0;
  2063. border: 0;
  2064. }
  2065. }
  2066. }
  2067. }
  2068. .huizong {
  2069. margin-bottom: 20px;
  2070. table {
  2071. border-collapse: collapse;
  2072. tr {
  2073. td {
  2074. width: 300px;
  2075. height: 46px;
  2076. text-align: center;
  2077. border: 1px solid #ccc;
  2078. padding: 0;
  2079. border-collapse: collapse;
  2080. }
  2081. }
  2082. }
  2083. }
  2084. .mingxi {
  2085. margin-bottom: 20px;
  2086. .el-table--fit {
  2087. height: 100%;
  2088. :deep(.el-table__header-wrapper) {
  2089. background-color: #000;
  2090. font-size: 14px;
  2091. color: #000;
  2092. .cell {
  2093. color: #000;
  2094. }
  2095. }
  2096. :deep(.el-table__row) {
  2097. height: 50px;
  2098. font-size: 14px;
  2099. color: #000;
  2100. }
  2101. :deep(.el-table__row td) {
  2102. padding: 0;
  2103. border: 0;
  2104. }
  2105. .el-button--primary {
  2106. margin-left: 5px;
  2107. }
  2108. }
  2109. }
  2110. }
  2111. .footer {
  2112. width: calc(100% - 60px);
  2113. height: calc(100% - 82px);
  2114. margin: 10px auto 10px;
  2115. .el-table--fit {
  2116. height: 100%;
  2117. :deep(.el-table__header-wrapper) {
  2118. background-color: #000;
  2119. font-size: 14px;
  2120. color: #000;
  2121. .cell {
  2122. color: #000;
  2123. }
  2124. }
  2125. :deep(.el-table__row) {
  2126. height: 35px;
  2127. font-size: 14px;
  2128. color: #000;
  2129. }
  2130. :deep(.el-table__row td) {
  2131. padding: 0;
  2132. border: 0;
  2133. }
  2134. .el-button--primary {
  2135. margin-left: 5px;
  2136. }
  2137. :deep(.el-table__body .even) {
  2138. background-color: #fff;
  2139. }
  2140. :deep(.el-table__body .odd) {
  2141. background-color: rgba(240, 243, 247, 1);
  2142. }
  2143. :deep(.options) {
  2144. display: flex;
  2145. justify-content: center;
  2146. align-items: center;
  2147. .reset {
  2148. margin-right: 15px;
  2149. color: rgba(30, 125, 251, 1);
  2150. cursor: pointer;
  2151. }
  2152. .look {
  2153. margin-right: 15px;
  2154. color: rgba(30, 125, 251, 1);
  2155. cursor: pointer;
  2156. }
  2157. .del {
  2158. color: rgba(212, 48, 48, 1);
  2159. cursor: pointer;
  2160. }
  2161. }
  2162. }
  2163. .gongneng {
  2164. margin: 15px 0;
  2165. // .el-button {
  2166. // color: #fff;
  2167. // border: none;
  2168. // }
  2169. .add {
  2170. color: #fff;
  2171. border: none;
  2172. background: linear-gradient(
  2173. 90deg,
  2174. rgba(33, 107, 255, 1) 0%,
  2175. rgba(102, 182, 255, 1) 100%
  2176. );
  2177. }
  2178. .imp {
  2179. border: 1px solid rgba(33, 107, 255, 1);
  2180. color: rgba(33, 107, 255, 1);
  2181. }
  2182. }
  2183. // 项目新增样式
  2184. :deep(.account) {
  2185. // height: 300px;
  2186. border-radius: 11px;
  2187. .el-dialog__header {
  2188. border-radius: 11px 11px 0 0;
  2189. background: rgba(237, 241, 245, 1);
  2190. font-weight: 600;
  2191. margin: 0;
  2192. height: 32px;
  2193. .el-dialog__headerbtn {
  2194. outline: none;
  2195. }
  2196. }
  2197. .el-dialog__body {
  2198. padding: 25px 30px 0 30px;
  2199. .el-form {
  2200. .el-form-item {
  2201. display: flex;
  2202. align-items: center;
  2203. }
  2204. .resetPassword {
  2205. color: rgba(43, 151, 252, 1);
  2206. padding-left: 40px;
  2207. display: inline-block;
  2208. margin-bottom: 15px;
  2209. }
  2210. .options {
  2211. margin: 60px 0 40px 0;
  2212. .el-form-item__content {
  2213. display: flex;
  2214. flex-direction: row-reverse;
  2215. .queding {
  2216. margin-left: 20px;
  2217. background: linear-gradient(
  2218. 90deg,
  2219. rgba(33, 107, 255, 1) 0%,
  2220. rgba(102, 182, 255, 1) 100%
  2221. );
  2222. border: none;
  2223. }
  2224. .quxiao {
  2225. border: 1px solid rgba(43, 151, 252, 1);
  2226. color: rgba(43, 151, 252, 1);
  2227. }
  2228. }
  2229. }
  2230. }
  2231. }
  2232. }
  2233. }
  2234. // 项目新增样式
  2235. :deep(.project) {
  2236. // height: 300px;
  2237. border-radius: 11px;
  2238. .el-dialog__header {
  2239. border-radius: 11px 11px 0 0;
  2240. background: rgba(237, 241, 245, 1);
  2241. font-weight: 600;
  2242. margin: 0;
  2243. height: 32px;
  2244. .el-dialog__headerbtn {
  2245. outline: none;
  2246. }
  2247. }
  2248. .el-dialog__body {
  2249. padding: 30px 30px 0 30px;
  2250. .el-form {
  2251. .el-form-item {
  2252. .el-input {
  2253. width: 460px;
  2254. .el-input-group__append {
  2255. // padding: 0;
  2256. }
  2257. }
  2258. .el-textarea {
  2259. width: 460px;
  2260. }
  2261. }
  2262. .resetPassword {
  2263. color: rgba(43, 151, 252, 1);
  2264. padding-left: 40px;
  2265. display: inline-block;
  2266. margin-bottom: 15px;
  2267. }
  2268. .options {
  2269. margin: 60px 0 40px 0;
  2270. .el-form-item__content {
  2271. display: flex;
  2272. flex-direction: row-reverse;
  2273. .queding {
  2274. margin-left: 20px;
  2275. background: linear-gradient(
  2276. 90deg,
  2277. rgba(33, 107, 255, 1) 0%,
  2278. rgba(102, 182, 255, 1) 100%
  2279. );
  2280. border: none;
  2281. }
  2282. .quxiao {
  2283. border: 1px solid rgba(43, 151, 252, 1);
  2284. color: rgba(43, 151, 252, 1);
  2285. }
  2286. }
  2287. }
  2288. }
  2289. }
  2290. }
  2291. // 点击卡片弹窗
  2292. :deep(.projectCard) {
  2293. width: 1200px;
  2294. border-radius: 11px;
  2295. .el-dialog__header {
  2296. border-radius: 11px 11px 0 0;
  2297. background: rgba(237, 241, 245, 1);
  2298. font-weight: 600;
  2299. margin: 0;
  2300. height: 32px;
  2301. .el-dialog__headerbtn {
  2302. outline: none;
  2303. }
  2304. }
  2305. .el-dialog__body {
  2306. padding: 20px 30px 0 30px;
  2307. height: 700px;
  2308. overflow: auto;
  2309. .title {
  2310. margin-bottom: 15px;
  2311. font-size: 16px;
  2312. font-weight: 600;
  2313. color: rgba(3, 3, 2, 1);
  2314. letter-spacing: 1px;
  2315. }
  2316. .info {
  2317. font-size: 14px;
  2318. color: rgba(128, 128, 128, 1);
  2319. letter-spacing: 1px;
  2320. text-indent: 2em; /* 设置段落首行缩进2em */
  2321. }
  2322. .unit {
  2323. display: flex;
  2324. .unit_i {
  2325. font-size: 14px;
  2326. margin-right: 12px;
  2327. letter-spacing: 1px;
  2328. .key {
  2329. color: #000;
  2330. font-weight: 500;
  2331. margin-right: 3px;
  2332. }
  2333. .value {
  2334. color: rgba(128, 128, 128, 1);
  2335. }
  2336. .attachment {
  2337. color: rgba(33, 107, 255, 1);
  2338. }
  2339. }
  2340. }
  2341. .participation {
  2342. margin-bottom: 15px;
  2343. .el-button {
  2344. opacity: 1;
  2345. border-radius: 8px;
  2346. background: rgba(166, 166, 166, 0.1);
  2347. color: rgba(166, 166, 166, 1);
  2348. border: 1px solid rgba(166, 166, 166, 1);
  2349. }
  2350. .active {
  2351. opacity: 1;
  2352. border-radius: 8px;
  2353. background: rgba(0, 97, 255, 0.1);
  2354. color: rgba(0, 97, 255, 1);
  2355. border: 1px solid rgba(0, 97, 255, 1);
  2356. }
  2357. }
  2358. .schedule {
  2359. width: 100%;
  2360. height: 40px;
  2361. border-radius: 8px;
  2362. background: rgba(0, 0, 0, 0.05);
  2363. margin:0 0 15px 0;
  2364. line-height: 40px;
  2365. span:nth-child(1) {
  2366. margin: 0 0 0 15px;
  2367. font-size: 20px;
  2368. font-weight: 500;
  2369. letter-spacing: 0px;
  2370. color: rgba(0, 0, 0, 1);
  2371. }
  2372. span:nth-child(2) {
  2373. letter-spacing: 0px;
  2374. color: rgba(0, 97, 255, 1);
  2375. }
  2376. }
  2377. .el-table--fit {
  2378. // height: 400px;
  2379. .el-table__header-wrapper {
  2380. background-color: #000;
  2381. font-size: 14px;
  2382. color: #000;
  2383. .cell {
  2384. color: rgba(90, 96, 127, 1);
  2385. }
  2386. }
  2387. .el-table__row {
  2388. // height: 40px;
  2389. font-size: 14px;
  2390. color: #000;
  2391. }
  2392. .el-table__row td {
  2393. // padding: 0;
  2394. border: 0;
  2395. }
  2396. .el-button--primary {
  2397. margin-left: 5px;
  2398. }
  2399. :deep(.el-table__body .even) {
  2400. background-color: #fff;
  2401. }
  2402. :deep(.el-table__body .odd) {
  2403. background-color: rgba(240, 243, 247, 1);
  2404. }
  2405. .options {
  2406. display: flex;
  2407. justify-content: center;
  2408. align-items: center;
  2409. .edit {
  2410. margin-right: 15px;
  2411. color: rgba(30, 125, 251, 1);
  2412. cursor: pointer;
  2413. }
  2414. .look {
  2415. color: rgba(212, 48, 48, 1);
  2416. cursor: pointer;
  2417. }
  2418. .del {
  2419. margin-right: 15px;
  2420. color: rgba(212, 48, 48, 1);
  2421. cursor: pointer;
  2422. }
  2423. }
  2424. }
  2425. .search {
  2426. background: linear-gradient(
  2427. 90deg,
  2428. rgba(33, 107, 255, 1) 0%,
  2429. rgba(102, 182, 255, 1) 100%
  2430. );
  2431. margin: 15px 0;
  2432. }
  2433. }
  2434. }
  2435. .el-pagination {
  2436. width: calc(100vw - 300px);
  2437. margin: 20px auto;
  2438. justify-content: flex-end;
  2439. :deep(.el-pagination__total) {
  2440. color: #000;
  2441. }
  2442. :deep(.el-pagination__goto) {
  2443. color: #000;
  2444. }
  2445. :deep(.el-pagination__classifier) {
  2446. color: #000;
  2447. }
  2448. :deep(.el-input__wrapper) {
  2449. // border: 1px solid rgba(0, 0, 0, 1);
  2450. // border-radius: 5px;
  2451. // box-shadow: none;
  2452. width: 100px;
  2453. }
  2454. :deep(.el-pager li) {
  2455. margin: 0 5px;
  2456. border: 1px solid rgba(0, 0, 0, 1);
  2457. border-radius: 5px;
  2458. background-color: transparent;
  2459. }
  2460. :deep(.el-pager li.is-active) {
  2461. // background-color: rgba(111, 182, 184, 1);
  2462. color: rgba(0, 149, 255, 1);
  2463. border: 1px solid rgba(0, 149, 255, 1);
  2464. }
  2465. :deep(.btn-prev) {
  2466. margin-right: 5px;
  2467. border: 1px solid rgba(0, 0, 0, 1);
  2468. border-radius: 5px;
  2469. background-color: transparent;
  2470. }
  2471. :deep(.btn-next) {
  2472. margin-left: 5px;
  2473. border: 1px solid rgba(0, 0, 0, 1);
  2474. border-radius: 5px;
  2475. background-color: transparent;
  2476. }
  2477. }
  2478. .el-progress {
  2479. :deep(.el-progress-bar__outer) {
  2480. background-color: rgb(200, 220, 255);
  2481. }
  2482. }
  2483. }
  2484. </style>