index.vue 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465
  1. <template>
  2. <div class="app-container planTask">
  3. <el-form
  4. :model="queryParams"
  5. ref="queryForm"
  6. :inline="true"
  7. v-show="showSearch"
  8. label-width="120px"
  9. >
  10. <el-form-item prop="type">
  11. <el-select v-model="queryParams.type" placeholder="请选择计划类型">
  12. <!-- <el-option
  13. v-for="(item, i) in ziDian"
  14. :key="i"
  15. :label="item.dictLabel"
  16. :value="item.dictLabel"
  17. >
  18. </el-option> -->
  19. <el-option label="周计划" value="week"></el-option>
  20. <el-option label="月计划" value="month"></el-option>
  21. <el-option label="年计划" value="year"></el-option>
  22. </el-select>
  23. </el-form-item>
  24. <el-form-item prop="executableUnit">
  25. <el-select
  26. v-model="queryParams.executableUnit"
  27. placeholder="请选择执行单位"
  28. >
  29. <el-option label="大队" value="productionBrigade"></el-option>
  30. <el-option label="发射一营" value="launch1"></el-option>
  31. <el-option label="发射二营" value="launch2"></el-option>
  32. <el-option label="发射三营" value="launch3"></el-option>
  33. <el-option label="发射四营" value="launch4"></el-option>
  34. <el-option label="技术部" value="technology"></el-option>
  35. <el-option label="后勤部" value="logistics"></el-option>
  36. <el-option label="后勤营一连" value="logistics1"></el-option>
  37. <el-option label="后勤营二连" value="logistics2"></el-option>
  38. <el-option label="后勤营三连" value="logistics3"></el-option>
  39. <el-option label="参谋部" value="adviser"></el-option>
  40. <el-option label="保障部" value="safeguard"></el-option>
  41. </el-select>
  42. </el-form-item>
  43. <el-form-item prop="unitId">
  44. <el-select v-model="queryParams.unitId" placeholder="请选择发布单位">
  45. <el-option label="大队" value="productionBrigade"></el-option>
  46. <el-option label="发射一营" value="launch1"></el-option>
  47. <el-option label="发射二营" value="launch2"></el-option>
  48. <el-option label="发射三营" value="launch3"></el-option>
  49. <el-option label="发射四营" value="launch4"></el-option>
  50. <el-option label="技术部" value="technology"></el-option>
  51. <el-option label="后勤部" value="logistics"></el-option>
  52. <el-option label="后勤营一连" value="logistics1"></el-option>
  53. <el-option label="后勤营二连" value="logistics2"></el-option>
  54. <el-option label="后勤营三连" value="logistics3"></el-option>
  55. <el-option label="参谋部" value="adviser"></el-option>
  56. <el-option label="保障部" value="safeguard"></el-option>
  57. </el-select>
  58. </el-form-item>
  59. <el-form-item>
  60. <el-button
  61. type="primary"
  62. icon="el-icon-refresh"
  63. size="mini"
  64. @click="resetQuery"
  65. >重置</el-button
  66. >
  67. </el-form-item>
  68. </el-form>
  69. <el-row :gutter="10" class="mb8">
  70. <el-col :span="1.5">
  71. <el-button
  72. type="primary"
  73. plain
  74. icon="el-icon-plus"
  75. size="mini"
  76. @click="handleAdd"
  77. v-hasPermi="['workingArrangements:planTask:add']"
  78. >新增</el-button
  79. >
  80. </el-col>
  81. <el-col :span="1.5">
  82. <el-button
  83. type="success"
  84. plain
  85. icon="el-icon-edit"
  86. size="mini"
  87. :disabled="single"
  88. @click="handleUpdate"
  89. v-hasPermi="['workingArrangements:planTask:edit']"
  90. >修改</el-button
  91. >
  92. </el-col>
  93. <el-col :span="1.5">
  94. <el-button
  95. type="danger"
  96. plain
  97. icon="el-icon-delete"
  98. size="mini"
  99. :disabled="multiple"
  100. @click="handleDelete"
  101. v-hasPermi="['workingArrangements:planTask:remove']"
  102. >删除</el-button
  103. >
  104. </el-col>
  105. <el-col :span="1.5">
  106. <el-button
  107. type="warning"
  108. plain
  109. icon="el-icon-download"
  110. size="mini"
  111. :loading="exportLoading"
  112. @click="handleExport"
  113. v-hasPermi="['workingArrangements:planTask:export']"
  114. >导出</el-button
  115. >
  116. </el-col>
  117. <right-toolbar
  118. :showSearch.sync="showSearch"
  119. @queryTable="getList"
  120. ></right-toolbar>
  121. </el-row>
  122. <el-table
  123. v-loading="loading"
  124. :data="planTaskList"
  125. @selection-change="handleSelectionChange"
  126. :header-cell-style="{ background: '#003C69', color: 'white' }"
  127. >
  128. <el-table-column type="selection" width="55" align="center" />
  129. <el-table-column label="名称" align="center" prop="name" />
  130. <el-table-column
  131. label="发布单位"
  132. align="center"
  133. prop="unitName"
  134. :formatter="unit3Format"
  135. />
  136. <el-table-column
  137. label="计划类型"
  138. align="center"
  139. prop="type"
  140. :formatter="unit4Format"
  141. />
  142. <el-table-column
  143. label="执行人"
  144. align="center"
  145. prop="peopleId"
  146. :formatter="unit2Format"
  147. />
  148. <el-table-column
  149. label="计划开始时间"
  150. align="center"
  151. prop="startTime"
  152. width="180"
  153. >
  154. <template slot-scope="scope">
  155. <span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span>
  156. </template>
  157. </el-table-column>
  158. <el-table-column
  159. label="计划结束时间"
  160. align="center"
  161. prop="endTime"
  162. width="180"
  163. >
  164. <template slot-scope="scope">
  165. <span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
  166. </template>
  167. </el-table-column>
  168. <el-table-column
  169. label="计划描述"
  170. align="center"
  171. prop="contents"
  172. class="discrible"
  173. show-overflow-tooltip
  174. />
  175. <el-table-column
  176. label="操作"
  177. align="center"
  178. class-name="small-padding fixed-width"
  179. width="300"
  180. >
  181. <template slot-scope="scope">
  182. <el-button
  183. size="btlook"
  184. type="text"
  185. @click="ViewProgress(scope.row)"
  186. v-if="scope.row.common == 1"
  187. >
  188. <span>进度录入</span>
  189. </el-button>
  190. <el-button
  191. size="btlook"
  192. type="text"
  193. @click="handleChakan(scope.row)"
  194. v-if="scope.row.common == 1"
  195. >
  196. <!-- 单人进度 -->
  197. <span class="chakan">查看</span>
  198. </el-button>
  199. <el-button
  200. size="btlook"
  201. type="text"
  202. @click="handleChakan1(scope.row)"
  203. v-if="scope.row.common == 2 || scope.row.common == 0"
  204. >
  205. <!-- 多人进度 -->
  206. <span class="chakan">进度查看</span>
  207. </el-button>
  208. <el-button
  209. size="btu"
  210. type="text"
  211. @click="handleUpdate(scope.row)"
  212. v-hasPermi="['workingArrangements:planTask:edit']"
  213. v-if="scope.row.common == 2"
  214. >修改</el-button
  215. >
  216. <el-button
  217. size="btd"
  218. type="text"
  219. @click="handleDelete(scope.row)"
  220. v-if="scope.row.common == 2"
  221. v-hasPermi="['workingArrangements:planTask:remove']"
  222. >删除</el-button
  223. >
  224. </template>
  225. </el-table-column>
  226. </el-table>
  227. <pagination
  228. v-show="total > 0"
  229. :total="total"
  230. :page.sync="queryParams.pageNum"
  231. :limit.sync="queryParams.pageSize"
  232. @pagination="getList"
  233. />
  234. <!-- 添加或修改工作计划对话框 -->
  235. <el-dialog
  236. :title="title"
  237. :visible.sync="open"
  238. width="990px"
  239. append-to-body
  240. class="el-dialog__header"
  241. >
  242. <el-form
  243. ref="form"
  244. :model="form"
  245. :rules="rules"
  246. label-width="100px"
  247. :inline="true"
  248. >
  249. <div class="jiben">基本信息</div>
  250. <el-form-item label="计划名称" prop="name">
  251. <el-input
  252. label="计划名称"
  253. v-model="form.name"
  254. placeholder="请输入计划名称"
  255. @click.native="planName"
  256. />
  257. </el-form-item>
  258. <el-form-item label="任务编号" prop="number">
  259. <el-input
  260. label="任务编号"
  261. v-model="form.number"
  262. :disabled="true"
  263. class="ipt"
  264. >
  265. </el-input>
  266. </el-form-item>
  267. <el-form-item label="发布单位" prop="adminId">
  268. <treeselect
  269. v-model="form.adminId"
  270. :options="part"
  271. placeholder="选择单位"
  272. @select="selectPeo"
  273. class="threeselects"
  274. />
  275. </el-form-item>
  276. <el-form-item label="执行单位" prop="unitId">
  277. <treeselect
  278. v-model="form.unitId"
  279. :options="users"
  280. placeholder="请选择执行单位"
  281. class="threeselects"
  282. @select="selectPeo1"
  283. />
  284. </el-form-item>
  285. <el-form-item label="计划类型" prop="type" class="change_plan_type">
  286. <el-select
  287. v-model="queryParams.type"
  288. placeholder="请选择计划类型"
  289. ref="dict"
  290. clearable
  291. size="small"
  292. >
  293. <el-option
  294. v-for="dict in dict.type.plan_type"
  295. :key="dict.value"
  296. :label="dict.label"
  297. :value="dict.value"
  298. @click.native="chooseplan"
  299. />
  300. </el-select>
  301. </el-form-item>
  302. <div>
  303. <el-form-item label="执行人" prop="peopleName" label-width="100px">
  304. <div>
  305. <el-select
  306. multiple
  307. v-model="form.peopleName"
  308. placeholder="请选择执行人"
  309. id="execute"
  310. ref="peoplenames"
  311. >
  312. <el-option
  313. v-for="item in executor"
  314. :key="item.deptId"
  315. :label="item.nickName"
  316. :value="item.userId"
  317. id="execute"
  318. @click.native="returnExecutor(item.deptId, item.nickName)"
  319. />
  320. </el-select>
  321. </div>
  322. </el-form-item>
  323. </div>
  324. <el-form-item label="开始时间" prop="startTime">
  325. <el-date-picker
  326. clearable
  327. size="small"
  328. v-model="form.startTime"
  329. type="date"
  330. value-format="yyyy-MM-dd"
  331. placeholder="选择计划开始时间"
  332. >
  333. </el-date-picker>
  334. </el-form-item>
  335. <el-form-item label="结束时间" prop="endTime">
  336. <el-date-picker
  337. clearable
  338. size="small"
  339. v-model="form.endTime"
  340. type="date"
  341. value-format="yyyy-MM-dd"
  342. placeholder="选择计划结束时间"
  343. style="width: 200px"
  344. >
  345. </el-date-picker>
  346. </el-form-item>
  347. <div class="jiben">计划附件</div>
  348. <el-form-item style="margin-left: 30px">
  349. <fileUpload v-model="form.file" />
  350. </el-form-item>
  351. <div class="jiben">计划描述</div>
  352. <el-form-item prop="contents">
  353. <el-input
  354. v-model="form.contents"
  355. type="textarea"
  356. placeholder="请输入内容"
  357. />
  358. </el-form-item>
  359. <div class="jiben">备注</div>
  360. <el-form-item prop="remark">
  361. <el-input
  362. v-model="form.remark"
  363. type="textarea"
  364. placeholder="请输入内容"
  365. />
  366. </el-form-item>
  367. </el-form>
  368. <div slot="footer" class="dialog-footer">
  369. <el-button type="primary" @click="submitForm">确 定</el-button>
  370. <el-button @click="cancel">取 消</el-button>
  371. </div>
  372. </el-dialog>
  373. <!-- 进度录入弹框 -->
  374. <el-dialog
  375. :title="title"
  376. :visible.sync="open1"
  377. width="980px"
  378. append-to-body
  379. class="el-dialog__header"
  380. >
  381. <el-form
  382. ref="Progress"
  383. :model="Progress"
  384. :rules="rules1"
  385. label-width="100px"
  386. :inline="true"
  387. >
  388. <div class="jiben">完成进度</div>
  389. <el-form-item prop="planProgress">
  390. <!-- <el-input
  391. label="计划名称"
  392. v-model="Progress.comPlan"
  393. class="big"
  394. @change="comPlan"
  395. /> -->
  396. <div>
  397. <el-input-number
  398. v-model="Progress.planProgress"
  399. controls-position="right"
  400. :min="0"
  401. :max="100"
  402. ></el-input-number>
  403. <el-progress
  404. :text-inside="true"
  405. :stroke-width="24"
  406. :percentage="Progress.planProgress"
  407. color="rgba(41, 231, 205, 1)"
  408. class="jinduProgress"
  409. ></el-progress>
  410. </div>
  411. </el-form-item>
  412. <!-- <div class="jiben">任务周期</div>
  413. <el-form-item prop="comWeek">
  414. <el-input label="计划名称" v-model="Progress.comWeek" class="big" />
  415. </el-form-item> -->
  416. <!-- <div class="jiben">任务完成状态</div>
  417. <el-progress
  418. :text-inside="true"
  419. :stroke-width="30"
  420. :percentage="Progress.statu"
  421. style="height: 50px"
  422. ></el-progress> -->
  423. <!-- <div class="jiben">附件文档</div>
  424. <el-form-item prop="file">
  425. <el-input label="计划名称" v-model="Progress.file" class="big" />
  426. </el-form-item> -->
  427. <div class="jiben">附件</div>
  428. <el-form-item>
  429. <fileUpload v-model="Progress.file" />
  430. </el-form-item>
  431. <div class="jiben">备注</div>
  432. <el-form-item prop="remark">
  433. <el-input
  434. v-model="Progress.remark"
  435. type="textarea"
  436. placeholder="请输入内容"
  437. />
  438. </el-form-item>
  439. <!-- <div class="jiben">计划描述</div>
  440. <el-form-item prop="contents">
  441. <el-input
  442. v-model="Progress.contents"
  443. type="textarea"
  444. placeholder="请输入内容"
  445. />
  446. </el-form-item> -->
  447. <div class="jiben">完成时间</div>
  448. <el-form-item prop="accomplishTime">
  449. <el-date-picker
  450. class="comtimer"
  451. clearable
  452. size="small"
  453. v-model="Progress.accomplishTime"
  454. type="date"
  455. value-format="yyyy-MM-dd"
  456. placeholder="选择完成时间"
  457. >
  458. </el-date-picker>
  459. </el-form-item>
  460. </el-form>
  461. <div slot="footer" class="dialog-footer">
  462. <el-button type="primary" @click="submitForm1">确 定</el-button>
  463. <el-button @click="cancel">取 消</el-button>
  464. </div>
  465. </el-dialog>
  466. <!-- 进度查看弹框 -->
  467. <el-dialog
  468. :title="title"
  469. :visible.sync="open2"
  470. width="980px"
  471. append-to-body
  472. class="el-dialog__header"
  473. >
  474. <el-form
  475. ref="singleTable"
  476. :model="singleTable"
  477. :rules="rules"
  478. label-width="100px"
  479. :inline="true"
  480. >
  481. <div class="jiben">完成进度</div>
  482. <!-- <el-form-item prop="comPlan"> -->
  483. <!-- <el-input
  484. label="计划名称"
  485. v-model="ProgressLook.comPlan"
  486. class="big"
  487. /> -->
  488. <!-- </el-form-item> -->
  489. <el-progress
  490. :text-inside="true"
  491. :stroke-width="24"
  492. :percentage="singleTable.planProgresses"
  493. style="margin-bottom: 20px"
  494. color="rgba(41, 231, 205, 1)"
  495. ></el-progress>
  496. <div class="jiben">任务周期</div>
  497. <el-form-item prop="comWeek">
  498. <!-- <el-input
  499. v-model="singleTable."
  500. class="big"
  501. /> -->
  502. <div class="thistext">
  503. {{ singleTable.startTime }} 至 {{ singleTable.endTime }}
  504. </div>
  505. </el-form-item>
  506. <!-- <div class="thistext"></div> -->
  507. <div class="jiben">附件文档</div>
  508. <el-form-item prop="file">
  509. <el-input
  510. label="附件名称"
  511. v-model="singleTable.fileName"
  512. style="width: 820px"
  513. />
  514. <!-- <div>{{singleTableb.fileName}}</div> -->
  515. <a
  516. :href="singleTable.file"
  517. download
  518. title="下载"
  519. style="color: white; margin-left: 10px"
  520. class="downloadfile"
  521. >下载附件</a
  522. >
  523. </el-form-item>
  524. <!-- <a :href="singleTable.planProgress.file" style="color:white">下载附件</a> -->
  525. <div class="jiben">备注</div>
  526. <!-- <el-form-item prop="remark">
  527. <el-input
  528. v-model="ProgressLook.remark"
  529. type="textarea"
  530. placeholder="请输入内容"
  531. />
  532. </el-form-item> -->
  533. <div class="thistext">{{ singleTable.remark }}</div>
  534. <div class="jiben">任务描述</div>
  535. <!-- <el-form-item prop="contents">
  536. <el-input
  537. v-model="ProgressLook.contents"
  538. type="textarea"
  539. placeholder="请输入内容"
  540. />
  541. </el-form-item> -->
  542. <div class="thistext">{{ singleTable.contents }}</div>
  543. <!-- <div class="jiben">执行人信息</div>
  544. <el-table
  545. :data="tableData"
  546. border
  547. style="width: 100%; background: #004d86"
  548. >
  549. <el-table-column prop="date" label="执行人" width="180">
  550. </el-table-column>
  551. <el-table-column prop="name" label="任务周期" width="180">
  552. </el-table-column>
  553. <el-table-column prop="address" label="进度"></el-table-column>
  554. <el-table-column prop="date" label="完成时间" width="180">
  555. </el-table-column>
  556. <el-table-column prop="name" label="状态" width="180">
  557. </el-table-column>
  558. <el-table-column prop="address" label="下载"></el-table-column>
  559. </el-table> -->
  560. </el-form>
  561. <div slot="footer" class="dialog-footer">
  562. <el-button type="primary" @click="submitForm2">确 定</el-button>
  563. <el-button @click="cancel">取 消</el-button>
  564. </div>
  565. </el-dialog>
  566. <!-- 进度查看1弹框 -->
  567. <el-dialog
  568. :title="title"
  569. :visible.sync="open3"
  570. width="980px"
  571. append-to-body
  572. class="el-dialog__header"
  573. >
  574. <el-form
  575. ref="moreTable"
  576. :model="moreTable"
  577. :rules="rules"
  578. label-width="100px"
  579. :inline="true"
  580. >
  581. <div class="jiben">完成进度</div>
  582. <el-progress
  583. :text-inside="true"
  584. :stroke-width="24"
  585. :percentage="comstatus"
  586. style="margin-bottom: 20px"
  587. color="rgba(41, 231, 205, 1)"
  588. ></el-progress>
  589. <div class="jiben">任务周期</div>
  590. <!-- <el-form-item prop="comWeek">
  591. <el-input
  592. label="计划名称"
  593. v-model="moreTable.startTime"
  594. class="big"
  595. :disabled="true"
  596. />
  597. </el-form-item> -->
  598. <div class="thistext">
  599. {{ moreTable.startTime }} 至 {{ moreTable.endTime }}
  600. </div>
  601. <!-- <div class="thistext"></div> -->
  602. <div class="jiben">附件文档</div>
  603. <el-form-item prop="file">
  604. <!-- <el-input label="计划名称" v-model="ProgressLook.file" class="big" /> -->
  605. <!-- <a :href="moreTable.file" download title="下载" style="color:white;margin-left:10px">下载附件</a> -->
  606. <el-input
  607. label="附件名称"
  608. v-model="moreTable.fileName"
  609. style="width: 820px"
  610. />
  611. <!-- <div>{{singleTableb.fileName}}</div> -->
  612. <a
  613. :href="moreTable.file"
  614. download
  615. title="下载"
  616. style="color: white; margin-left: 10px"
  617. class="downloadfile"
  618. >下载附件</a
  619. >
  620. </el-form-item>
  621. <div class="jiben">备注</div>
  622. <!-- <el-form-item prop="remark">
  623. <el-input
  624. v-model="ProgressLook.remark"
  625. type="textarea"
  626. placeholder="请输入内容"
  627. />
  628. </el-form-item> -->
  629. <div class="thistext">{{ moreTable.remark }}</div>
  630. <div class="jiben">任务描述</div>
  631. <!-- <el-form-item prop="contents">
  632. <el-input
  633. v-model="ProgressLook.contents"
  634. type="textarea"
  635. placeholder="请输入内容"
  636. />
  637. </el-form-item> -->
  638. <div class="thistext">{{ moreTable.contents }}</div>
  639. <div class="jiben">执行人信息</div>
  640. <el-table
  641. :data="moreTable.planProgresses"
  642. border
  643. style="width: 100%; background: #004d86"
  644. class="tabless"
  645. >
  646. <el-table-column prop="peopleName" label="执行人" width="180">
  647. </el-table-column>
  648. <el-table-column label="任务周期" width="190">
  649. <template slot-scope="scope">
  650. <div>{{ scope.row.taskCycle }}</div>
  651. </template>
  652. </el-table-column>
  653. <el-table-column prop="schedule" label="进度">
  654. <template slot-scope="scope">
  655. <el-progress
  656. :text-inside="true"
  657. :stroke-width="24"
  658. :percentage="scope.row.schedule"
  659. style="margin-bottom: 20px"
  660. color="rgba(41, 231, 205, 1)"
  661. ></el-progress>
  662. </template>
  663. </el-table-column>
  664. <el-table-column prop="accomplishTime" label="完成时间" width="180">
  665. </el-table-column>
  666. <el-table-column label="状态" width="180">
  667. <template slot-scope="scope">
  668. <div>{{ scope.row.schedule == 100 ? "完成" : "未完成" }}</div>
  669. </template>
  670. </el-table-column>
  671. <el-table-column prop="address" label="下载">
  672. <template slot-scope="scope">
  673. <a :href="scope.row.file" download>下载附件</a>
  674. </template>
  675. </el-table-column>
  676. </el-table>
  677. </el-form>
  678. <div slot="footer" class="dialog-footer">
  679. <el-button type="primary" @click="submitForm2">确 定</el-button>
  680. <el-button @click="cancel">取 消</el-button>
  681. </div>
  682. </el-dialog>
  683. </div>
  684. </template>
  685. <script>
  686. import {
  687. listPlanTask,
  688. getPlanTask,
  689. delPlanTask,
  690. addPlanTask,
  691. updatePlanTask,
  692. exportPlanTask,
  693. singProgress,
  694. moreProgress,
  695. uploadProgress,
  696. } from "@/api/workingArrangements/planTask";
  697. import { getDicts } from "@/api/system/dict/data";
  698. import {
  699. deptUser,
  700. allUser,
  701. getDept,
  702. getDeptList,
  703. } from "@/api/workingArrangements/workTask";
  704. import Treeselect from "@riophae/vue-treeselect";
  705. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  706. import { getDept2 } from "@/api/grassrootsregistration/bdglmeeting";
  707. export default {
  708. name: "PlanTask",
  709. dicts: ["plan_type"],
  710. components: { Treeselect },
  711. data() {
  712. return {
  713. // 遮罩层
  714. loading: true,
  715. // 导出遮罩层
  716. exportLoading: false,
  717. // 选中数组
  718. ids: [],
  719. // 非单个禁用
  720. single: true,
  721. // 非多个禁用
  722. multiple: true,
  723. // 显示搜索条件
  724. showSearch: true,
  725. // 总条数
  726. total: 0,
  727. // 工作计划表格数据
  728. planTaskList: [],
  729. // 弹出层标题
  730. title: "",
  731. // 是否显示弹出层
  732. open: false,
  733. // 显示进度录入框
  734. open1: false,
  735. // 显示进度查看框
  736. open2: false,
  737. // 显示多人进度查看框
  738. open3: false,
  739. // 查询参数
  740. queryParams: {
  741. pageNum: 1,
  742. pageSize: 10,
  743. name: null,
  744. peopleId: null,
  745. number: null,
  746. startTime: null,
  747. endTime: null,
  748. file: null,
  749. fileName: null,
  750. contents: null,
  751. adminId: null,
  752. unitId: null,
  753. unitName: null,
  754. createtime: null,
  755. updatetime: null,
  756. type: null,
  757. peopleName: null,
  758. unitName2: null,
  759. taskProgress: null,
  760. releaseUnit: null,
  761. executableUnit: null,
  762. },
  763. // 表单参数
  764. form: {},
  765. // 表单校验
  766. rules: {
  767. number: [{ required: true, message: "编号不能为空", trigger: "blur" }],
  768. peopleName: [
  769. { required: true, message: "执行人不能为空", trigger: "blur" },
  770. ],
  771. name:[{ required: true, message: "不能为空", trigger: "blur" }],
  772. adminId:{required:true,message:"发布单位不能为空",trigger:"blur"},
  773. unitId:{required:true,message:"执行单位不能为空",trigger:"blur"},
  774. type :{required:true,message:"计划类型不能为空",trigger:"blur"},
  775. startTime :{required:true,message:"开始时间不能为空",trigger:"blur"},
  776. endTime :{required:true,message:"结束时间不能为空",trigger:"blur"},
  777. },
  778. rules1: {
  779. planProgress: [
  780. { required: true, message: "请输入完成进度", trigger: "blur" }
  781. ],
  782. },
  783. // 获取部门列表
  784. part: [],
  785. // 获取执行单位
  786. ExecutableUnit: [],
  787. // 执行人
  788. executor: [],
  789. // 发布单位id
  790. issueUnit: [],
  791. // 执行人姓名
  792. executorName: [],
  793. // 执行单位id
  794. executableUnitId: [],
  795. rylist: [],
  796. // 部门列表
  797. getdeptList: [],
  798. // 进度录入参数
  799. Progress: {
  800. schedule: "",
  801. file: "",
  802. remark: "",
  803. accomplishTime: "",
  804. },
  805. // 进度查看参数
  806. ProgressLook: {},
  807. // 查询字典
  808. dictType: {
  809. dictType: "plan_type",
  810. },
  811. // 执行单位列表
  812. users: [],
  813. // 字典
  814. ziDian: [],
  815. // 进度查看
  816. tableData: [],
  817. // 单人进度查看列表
  818. singleTable: [],
  819. // 多人进度查看列表
  820. moreTable: [],
  821. // 进度录入id
  822. jinduId: "",
  823. // 进度表格
  824. jinduTable: [],
  825. partsp: null,
  826. comstatus: 0,
  827. };
  828. },
  829. created() {
  830. this.getList();
  831. this.getdept();
  832. allUser().then((res) => {
  833. this.rylist = res.rows;
  834. });
  835. this.getdict();
  836. this.chooseplan();
  837. getDeptList().then((res) => {
  838. this.getdeptList = res.data;
  839. // console.log(this.getdeptList);
  840. });
  841. },
  842. methods: {
  843. comPlan() {
  844. if (this.Progress.comPlan > 100) {
  845. this.Progress.comPlan = 0;
  846. alert("完成进度不能大于100");
  847. return;
  848. } else {
  849. this.Progress.statu = this.Progress.comPlan;
  850. console.log("输入成功");
  851. }
  852. },
  853. // 获取执行人
  854. getZhuChi(id) {
  855. deptUser(id).then((res) => {
  856. // this.renYuan = res.data;
  857. this.executor = res.data;
  858. });
  859. },
  860. // 发布单位选中触发
  861. selectPeo(val) {
  862. this.form.adminId = val.id;
  863. this.getZhuChi(this.form.adminId);
  864. },
  865. // 执行单位选中触发
  866. selectPeo1(val) {
  867. this.form.unitId = val.id;
  868. this.form.peopleName = "";
  869. this.getZhuChi(this.form.unitId);
  870. },
  871. // 查询计划类型
  872. getdict() {
  873. getDicts(this.dictType.dictType).then((res) => {
  874. this.ziDian = res.data;
  875. });
  876. },
  877. /** 查询工作计划列表 */
  878. getList() {
  879. this.loading = true;
  880. listPlanTask(this.queryParams).then((response) => {
  881. this.planTaskList = response.rows;
  882. console.log(this.planTaskList);
  883. this.total = response.total;
  884. this.loading = false;
  885. });
  886. },
  887. // 取消按钮
  888. cancel() {
  889. this.open = false;
  890. this.comstatus = 0;
  891. this.reset();
  892. this.open1 = false;
  893. this.open2 = false;
  894. this.open3 = false;
  895. },
  896. // 表单重置
  897. reset() {
  898. this.form = {
  899. id: null,
  900. name: null,
  901. peopleId: null,
  902. number: null,
  903. startTime: null,
  904. endTime: null,
  905. file: null,
  906. fileName: null,
  907. remark: null,
  908. contents: null,
  909. adminId: null,
  910. unitId: null,
  911. unitName: null,
  912. createtime: null,
  913. updatetime: null,
  914. type: null,
  915. peopleName: null,
  916. unitName2: null,
  917. taskProgress: null,
  918. releaseUnit: null,
  919. executableUnit: null,
  920. comstatus:null
  921. };
  922. this.Progress = {
  923. schedule: "",
  924. file: "",
  925. remark: "",
  926. accomplishTime: "",
  927. };
  928. this.resetForm("form");
  929. },
  930. /** 搜索按钮操作 */
  931. handleQuery() {
  932. this.queryParams.pageNum = 1;
  933. this.getList();
  934. },
  935. /** 重置按钮操作 */
  936. resetQuery() {
  937. this.resetForm("queryForm");
  938. this.handleQuery();
  939. },
  940. // 多选框选中数据
  941. handleSelectionChange(selection) {
  942. this.ids = selection.map((item) => item.id);
  943. this.single = selection.length !== 1;
  944. this.multiple = !selection.length;
  945. console.log(this.multiple);
  946. },
  947. /** 新增按钮操作 */
  948. handleAdd() {
  949. this.reset();
  950. this.open = true;
  951. this.title = "添加工作计划";
  952. // 获取执行单位列表
  953. getDept2().then((res) => {
  954. // console.log(res,2)
  955. this.users = res.data;
  956. console.log(this.users);
  957. });
  958. this.getdict();
  959. },
  960. /** 进度录入按钮操作 */
  961. ViewProgress(row) {
  962. // this.reset();
  963. this.open1 = true;
  964. this.title = "进度录入";
  965. this.jinduId = row.id;
  966. singProgress(this.jinduId).then((res) => {
  967. console.log(res.data);
  968. this.Progress.id = res.data.planProgress.id;
  969. this.Progress.taskId = res.data.id;
  970. this.Progress.planProgress = res.data.planProgress.schedule;
  971. console.log(this.Progress.planProgress.schedule);
  972. });
  973. },
  974. // 进度查看单人进度
  975. handleChakan(row) {
  976. this.reset();
  977. this.open2 = true;
  978. this.title = "进度查看";
  979. // 获取当前行的id
  980. singProgress(row.id).then((res) => {
  981. console.log(res)
  982. this.singleTable = res.data;
  983. this.singleTable.planProgresses =
  984. this.singleTable.planProgress.schedule;
  985. console.log(this.singleTable);
  986. // this.singleTable.jindu=singleTable.planProgress.schedule
  987. // console.log(this.singleTable)
  988. });
  989. },
  990. // 多人进度查看
  991. handleChakan1(row) {
  992. this.reset();
  993. this.open3 = true;
  994. this.title = "进度查看";
  995. // 获取当前行的id
  996. // console.log(row.id)
  997. moreProgress(row.id).then((res) => {
  998. console.log(res)
  999. this.comstatus=0
  1000. this.moreTable = res.data;
  1001. this.moreTable.planProgresses.forEach((item) => {
  1002. this.comstatus +=item.schedule / this.moreTable.planProgresses.length;
  1003. });
  1004. });
  1005. },
  1006. /** 修改按钮操作 */
  1007. handleUpdate(row) {
  1008. this.reset();
  1009. getDept2().then((res) => {
  1010. // console.log(res,2)
  1011. this.users = res.data;
  1012. console.log(this.users);
  1013. });
  1014. const id = row.id || this.ids;
  1015. getPlanTask(id).then((response) => {
  1016. this.form = response.data;
  1017. // this.getDept2()
  1018. this.getZhuChi(this.form.unitId);
  1019. console.log(this.form)
  1020. this.form.peopleName = this.form.peopleName.split(",").map(Number);
  1021. this.open = true;
  1022. this.title = "修改工作计划";
  1023. });
  1024. },
  1025. unit2Format(row, column) {
  1026. var deptName = "";
  1027. if (
  1028. parseInt(this.planTaskList[0].common) == 1 ||
  1029. this.planTaskList[0].common == 2
  1030. ) {
  1031. this.rylist.map((item) => {
  1032. row.peopleName.split(",").forEach((items, index) => {
  1033. if (item.userId == items) {
  1034. deptName += item.nickName + " ";
  1035. }
  1036. });
  1037. });
  1038. } else if (parseInt(this.planTaskList[0].common) == 0) {
  1039. this.rylist.map((item) => {
  1040. row.peopleName.split(",").forEach((items, index) => {
  1041. if (item.userId == items) {
  1042. deptName += item.nickName + " ";
  1043. }
  1044. });
  1045. });
  1046. }
  1047. return deptName;
  1048. },
  1049. unit3Format(row, column) {
  1050. var deptName = "";
  1051. // console.log(this.planTaskList[0])
  1052. console.log(this.getdeptList)
  1053. if (
  1054. parseInt(this.planTaskList[0].common) == 1 ||
  1055. this.planTaskList[0].common == 2
  1056. ) {
  1057. this.getdeptList.map((item) => {
  1058. if (item.deptId == row.adminId) {
  1059. deptName = item.deptName;
  1060. }
  1061. });
  1062. } else if (parseInt(this.planTaskList[0].common) == 0) {
  1063. this.getdeptList.map((item) => {
  1064. if (item.deptId == row.adminId) {
  1065. deptName = item.deptName;
  1066. }
  1067. });
  1068. // console.log(this.part)
  1069. // console.log(this.part);
  1070. // this.part[0].children.map((item) => {
  1071. // if (item.id == row.adminId) {
  1072. // deptName = item.label;
  1073. // }
  1074. // });
  1075. }
  1076. return deptName;
  1077. },
  1078. unit4Format(row, column) {
  1079. var deptName = "";
  1080. this.ziDian.map((item) => {
  1081. if (item.dictSort == row.type) {
  1082. deptName = item.dictLabel;
  1083. }
  1084. });
  1085. return deptName;
  1086. },
  1087. /** 提交按钮 */
  1088. submitForm() {
  1089. console.log(this.form)
  1090. this.form.fileName=this.form.file[0].name
  1091. this.form.file=this.form.file[0].url
  1092. this.$refs["form"].validate((valid) => {
  1093. if (valid) {
  1094. if (this.form.adminId === this.form.unitId) {
  1095. alert("发布单位和执行单位不能相同");
  1096. } else {
  1097. this.form.peopleName = this.form.peopleName.join(",");
  1098. this.form.peopleId = this.form.peopleName;
  1099. console.log(this.form);
  1100. if (this.form.id != null) {
  1101. updatePlanTask(this.form).then((response) => {
  1102. this.$modal.msgSuccess("修改成功");
  1103. this.open = false;
  1104. this.getList();
  1105. });
  1106. } else {
  1107. addPlanTask(this.form).then((response) => {
  1108. this.$modal.msgSuccess("新增成功");
  1109. this.open = false;
  1110. this.getList();
  1111. });
  1112. }
  1113. }
  1114. }
  1115. });
  1116. },
  1117. submitForm1() {
  1118. console.log(this.Progress)
  1119. this.Progress.fileName=this.Progress.file[0].name
  1120. this.Progress.file=this.Progress.file[0].url
  1121. this.$refs["Progress"].validate((valid) => {
  1122. if (valid) {
  1123. console.log(this.jinduId);
  1124. this.Progress.schedule = this.Progress.planProgress;
  1125. uploadProgress(this.Progress).then((res1) => {
  1126. console.log(res1);
  1127. this.$modal.msgSuccess("上传成功");
  1128. // this.Progress
  1129. this.reset();
  1130. this.open1 = false;
  1131. this.getList();
  1132. });
  1133. }
  1134. });
  1135. },
  1136. submitForm2() {
  1137. this.comstatus = 0;
  1138. this.open2 = false;
  1139. this.open3 = false;
  1140. },
  1141. /** 删除按钮操作 */
  1142. handleDelete(row) {
  1143. const ids = row.id || this.ids;
  1144. this.$modal
  1145. .confirm('是否确认删除工作计划编号为"' + ids + '"的数据项?')
  1146. .then(function () {
  1147. return delPlanTask(ids);
  1148. })
  1149. .then(() => {
  1150. this.getList();
  1151. this.$modal.msgSuccess("删除成功");
  1152. })
  1153. .catch(() => {});
  1154. },
  1155. /** 导出按钮操作 */
  1156. handleExport() {
  1157. const queryParams = this.queryParams;
  1158. this.$modal
  1159. .confirm("是否确认导出所有工作计划数据项?")
  1160. .then(() => {
  1161. this.exportLoading = true;
  1162. return exportPlanTask(queryParams);
  1163. })
  1164. .then((response) => {
  1165. this.$download.name(response.msg);
  1166. this.exportLoading = false;
  1167. })
  1168. .catch(() => {});
  1169. },
  1170. // 发布单位接口
  1171. getdept() {
  1172. getDept().then((res) => {
  1173. this.part = res.data;
  1174. });
  1175. },
  1176. // 发送执行人列表
  1177. returnExecutor(id, name) {
  1178. console.log(this.form.peopleName);
  1179. },
  1180. // 计划编号
  1181. planName() {
  1182. let date = new Date();
  1183. let year = date.getFullYear();
  1184. let month =
  1185. date.getMonth() + 1 <= 9
  1186. ? "0" + (date.getMonth() + 1)
  1187. : date.getMonth() + 1;
  1188. let day = date.getDate();
  1189. let hour = date.getHours() <= 9 ? "0" + date.getHours() : date.getHours();
  1190. let minute =
  1191. date.getMinutes <= 9 ? "0" + date.getMinutes() : date.getMinutes();
  1192. this.form.number = year + month + day + hour + minute;
  1193. },
  1194. // 获取发布单位id
  1195. issueunit(id) {
  1196. this.form.adminId = id;
  1197. },
  1198. // 选择计划
  1199. chooseplan() {
  1200. this.form.type = this.queryParams.type;
  1201. },
  1202. },
  1203. };
  1204. </script>
  1205. <style>
  1206. .el-input__inner {
  1207. height: 36px;
  1208. line-height: 36px;
  1209. background-color: #00365f;
  1210. color: #fff;
  1211. }
  1212. .el-select-dropdown {
  1213. background-color: white;
  1214. }
  1215. .el-dialog__wrapper .el-form-item__label {
  1216. color: white !important;
  1217. }
  1218. .el-dialog {
  1219. background-color: #004d86 !important;
  1220. }
  1221. .el-form-item__label {
  1222. width: 30%;
  1223. }
  1224. .el-textarea {
  1225. width: 70%;
  1226. }
  1227. .el-dialog__title {
  1228. color: white;
  1229. }
  1230. .el-dialog__header {
  1231. border-bottom: 1px solid #718a9d;
  1232. }
  1233. .el-textarea__inner {
  1234. width: 945px;
  1235. height: 104px;
  1236. }
  1237. /* 表宽度 */
  1238. .el-input {
  1239. width: 200px;
  1240. }
  1241. .serialNumber {
  1242. border: 1px solid white;
  1243. border-radius: 5px;
  1244. width: 200px;
  1245. text-indent: 1em;
  1246. color: white;
  1247. line-height: 36px;
  1248. }
  1249. .el-date-editor.el-input,
  1250. .el-date-editor {
  1251. width: 200px;
  1252. }
  1253. /* 执行 */
  1254. #execute {
  1255. width: 510px;
  1256. /* width: auto; */
  1257. }
  1258. .el-input--suffix {
  1259. width: auto;
  1260. }
  1261. /* 计划附件 */
  1262. .el-upload__tip {
  1263. position: absolute;
  1264. top: -5px;
  1265. width: 500px;
  1266. left: 100px;
  1267. color: white;
  1268. }
  1269. /* 上传附件样式 */
  1270. .el-icon-document {
  1271. padding: 3px 5px;
  1272. color: white;
  1273. }
  1274. .el-upload-list__item:hover {
  1275. background-color: #00365f;
  1276. }
  1277. /* 上传附件的删除按钮样式 */
  1278. .el-link--inner {
  1279. margin-left: 3px;
  1280. }
  1281. .el-select-dropdown__item:hover {
  1282. color: #1890ff !important;
  1283. }
  1284. /* 下拉框的颜色 */
  1285. .el-scrollbar li {
  1286. background-color: white;
  1287. color: black;
  1288. }
  1289. .el-scrollbar li:hover {
  1290. background-color: #00365f;
  1291. color: white;
  1292. }
  1293. .el-select-dropdown__wrap .el-scrollbar__view {
  1294. background-color: white;
  1295. }
  1296. /* 修改计划类型样式 */
  1297. .el-input--small .el-input__inner {
  1298. height: 36px;
  1299. line-height: 36px;
  1300. }
  1301. .el-input--medium .el-input__inner {
  1302. background-color: rgba(0, 0, 0, 0);
  1303. }
  1304. /* 修改编号样式 */
  1305. .ipt .el-input__inner {
  1306. background-color: #004d86 !important;
  1307. }
  1308. /* 进度查看 */
  1309. .el-button--btlook.is-active,
  1310. .el-button--btlook:active {
  1311. background: #32a5d3;
  1312. border-color: #32a5d3;
  1313. color: #ffffff;
  1314. }
  1315. .el-button--btlook:focus,
  1316. .el-button--btlook:hover {
  1317. background: #32a5d3;
  1318. border-color: #32a5d3;
  1319. color: #ffffff;
  1320. }
  1321. .el-button--btlook {
  1322. width: 70px !important;
  1323. border: 1px solid transparent;
  1324. padding: 3px 8px;
  1325. font-size: 14px;
  1326. line-height: 1.5;
  1327. border-radius: 3px;
  1328. color: #fff;
  1329. background-color: #32a5d3;
  1330. }
  1331. .big .el-input__inner {
  1332. width: 940px;
  1333. }
  1334. /* 树形 */
  1335. .threeselects {
  1336. width: 200px;
  1337. }
  1338. .threeselects .vue-treeselect__input {
  1339. background-color: #004d86;
  1340. /* color: white; */
  1341. }
  1342. .el-form-item__content {
  1343. /* color: white; */
  1344. border-bottom: 1px solid #004d86;
  1345. }
  1346. .vue-treeselect__control {
  1347. background-color: #004d86;
  1348. border-bottom: 1px solid white;
  1349. /* color: whi; */
  1350. /* color: white; */
  1351. }
  1352. .vue-treeselect__placeholder {
  1353. color: white;
  1354. }
  1355. .change_plan_type .el-input__inner {
  1356. width: 200px;
  1357. }
  1358. /* 表格样式 */
  1359. .el-table__empty-block {
  1360. background-color: #004d86;
  1361. }
  1362. .el-table {
  1363. background-color: #004d86;
  1364. }
  1365. .comtimer .el-input__inner {
  1366. width: 940px;
  1367. }
  1368. /* 备注 */
  1369. .thistext {
  1370. color: white;
  1371. width: 940px;
  1372. border: 1px solid #fff;
  1373. border-radius: 4px;
  1374. height: auto;
  1375. min-height: 35px;
  1376. text-indent: 1em;
  1377. margin-bottom: 20px;
  1378. /* margin: auto; */
  1379. }
  1380. /* 完成进度 */
  1381. .complue .el-input__inner {
  1382. width: 940px;
  1383. }
  1384. .complue {
  1385. width: 940px;
  1386. }
  1387. /* 进度 */
  1388. .jinduProgress {
  1389. width: 740px;
  1390. position: absolute;
  1391. left: 210px;
  1392. top: 5px;
  1393. }
  1394. /* 表格 */
  1395. .tabless .el-table__row {
  1396. background-color: #004d86;
  1397. }
  1398. .tabless table {
  1399. border: 1px solid white;
  1400. }
  1401. .has-gutter {
  1402. background-color: #004d86;
  1403. }
  1404. .el-table tr:nth-child(odd) {
  1405. background-color: #004d86;
  1406. }
  1407. .el-table tr:nth-child(even) {
  1408. background-color: #004d86;
  1409. }
  1410. /* 下载按钮 */
  1411. .downloadfile {
  1412. border: 1px solid white;
  1413. display: inline-block;
  1414. width: 100px;
  1415. height: 33px;
  1416. border-radius: 5px;
  1417. line-height: 33px;
  1418. text-align: center;
  1419. }
  1420. .el-table__row {
  1421. border-bottom: 1px solid white;
  1422. }
  1423. .el-input-number__increase {
  1424. background-color: #004d86;
  1425. }
  1426. .el-input-number__decrease {
  1427. background-color: #004d86;
  1428. }
  1429. /* 进度条百分比 */
  1430. .el-progress-bar__innerText {
  1431. color: #004d86;
  1432. /* font-weight: 200; */
  1433. }
  1434. .el-progress-bar__outer {
  1435. background-color: rgba(25, 98, 153, 1);
  1436. }
  1437. /* 上下箭头 */
  1438. .el-icon-arrow-up,
  1439. .el-icon-arrow-down {
  1440. color: white;
  1441. }
  1442. .vue-treeselect__single-value {
  1443. color: white;
  1444. }
  1445. /* 文字多余部分省略 */
  1446. .el-table__cell .cell {
  1447. overflow: hidden;
  1448. text-overflow: ellipsis;
  1449. white-space: nowrap;
  1450. }
  1451. /* table表格 */
  1452. ::v-deep .el-table th.el-table__cell{
  1453. background-color: pink !important;
  1454. }
  1455. </style>