index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  1. <template>
  2. <div class="app-container">
  3. <el-form
  4. :model="queryParams"
  5. ref="queryForm"
  6. size="small"
  7. :inline="true"
  8. v-show="showSearch"
  9. label-width="68px"
  10. >
  11. <el-form-item label="" prop="taskName">
  12. <el-input
  13. v-model="queryParams.taskName"
  14. placeholder="请输入任务名称"
  15. clearable
  16. @input="handleQuery"
  17. />
  18. </el-form-item>
  19. <el-form-item>
  20. <!-- <el-button
  21. type="primary"
  22. icon="el-icon-search"
  23. size="mini"
  24. @click="handleQuery"
  25. >搜索</el-button
  26. > -->
  27. <el-button icon="el-icon-refresh" type="btr" @click="resetQuery"
  28. >重置</el-button
  29. >
  30. </el-form-item>
  31. </el-form>
  32. <el-row :gutter="10" class="mb8">
  33. <el-col :span="1.5">
  34. <el-button
  35. type="primary"
  36. plain
  37. icon="el-icon-plus"
  38. size="mini"
  39. @click="handleAdd"
  40. v-hasPermi="['workingArrangements:worktaskplan:add']"
  41. >新增</el-button
  42. >
  43. </el-col>
  44. <el-col :span="1.5">
  45. <el-button
  46. type="success"
  47. plain
  48. icon="el-icon-edit"
  49. size="mini"
  50. :disabled="single"
  51. @click="handleUpdate"
  52. v-hasPermi="['workingArrangements:worktaskplan:edit']"
  53. >修改</el-button
  54. >
  55. </el-col>
  56. <el-col :span="1.5">
  57. <el-button
  58. type="danger"
  59. plain
  60. icon="el-icon-delete"
  61. size="mini"
  62. :disabled="multiple"
  63. @click="handleDelete"
  64. v-hasPermi="['workingArrangements:worktaskplan:remove']"
  65. >删除</el-button
  66. >
  67. </el-col>
  68. <el-col :span="1.5">
  69. <el-button
  70. type="warning"
  71. plain
  72. icon="el-icon-download"
  73. size="mini"
  74. @click="handleExport"
  75. v-hasPermi="['workingArrangements:worktaskplan:export']"
  76. >导出</el-button
  77. >
  78. </el-col>
  79. </el-row>
  80. <el-table
  81. v-loading="loading"
  82. :data="worktaskplanList"
  83. @selection-change="handleSelectionChange"
  84. :header-cell-style="{ background: '#003C69', color: 'white' }"
  85. >
  86. <el-table-column type="selection" width="55" align="center" />
  87. <el-table-column label="序号" align="center">
  88. <template scope="scope">
  89. <span>{{
  90. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  91. }}</span>
  92. </template>
  93. </el-table-column>
  94. <el-table-column label="任务名称" align="center" prop="taskName" />
  95. <el-table-column
  96. label="开始时间"
  97. align="center"
  98. prop="startTime"
  99. width="180"
  100. >
  101. <template slot-scope="scope">
  102. <span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span>
  103. </template>
  104. </el-table-column>
  105. <el-table-column
  106. label="结束时间"
  107. align="center"
  108. prop="endTime"
  109. width="180"
  110. >
  111. <template slot-scope="scope">
  112. <span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
  113. </template>
  114. </el-table-column>
  115. <el-table-column label="任务总数" align="center" prop="annex" />
  116. <el-table-column label="当前进度" align="center" prop="annex" />
  117. <el-table-column label="执行单位数" align="center" prop="annex" />
  118. <!-- <el-table-column label="任务附件" align="center" prop="annex" /> -->
  119. <el-table-column label="备注" align="center" prop="remarkInfo" />
  120. <el-table-column
  121. label="操作"
  122. align="center"
  123. class-name="small-padding fixed-width"
  124. >
  125. <template slot-scope="scope">
  126. <el-button
  127. size="mini"
  128. type="text"
  129. icon="el-icon-edit"
  130. @click="handleUpdate(scope.row)"
  131. v-hasPermi="['workingArrangements:worktaskplan:edit']"
  132. >修改</el-button
  133. >
  134. <el-button
  135. size="mini"
  136. type="text"
  137. icon="el-icon-delete"
  138. @click="handleDelete(scope.row)"
  139. v-hasPermi="['workingArrangements:worktaskplan:remove']"
  140. >删除</el-button
  141. >
  142. </template>
  143. </el-table-column>
  144. </el-table>
  145. <pagination
  146. v-show="total > 0"
  147. :total="total"
  148. :page.sync="queryParams.pageNum"
  149. :limit.sync="queryParams.pageSize"
  150. @pagination="getList"
  151. />
  152. <!-- 添加或修改任务计划基本信息对话框 -->
  153. <el-dialog
  154. :title="title"
  155. :visible.sync="open"
  156. width="700px"
  157. append-to-body
  158. :close-on-click-modal="false"
  159. >
  160. <el-form
  161. ref="form"
  162. :model="form"
  163. :rules="rules"
  164. label-width="80px"
  165. inline
  166. >
  167. <el-form-item label="任务名称" prop="taskName">
  168. <el-input v-model="form.taskName" placeholder="" class="ren_wu" />
  169. </el-form-item>
  170. <el-form-item label="开始时间" prop="startTime">
  171. <el-date-picker
  172. clearable
  173. v-model="form.startTime"
  174. type="date"
  175. value-format="yyyy-MM-dd"
  176. placeholder=""
  177. >
  178. </el-date-picker>
  179. </el-form-item>
  180. <el-form-item label="结束时间" prop="endTime">
  181. <el-date-picker
  182. clearable
  183. v-model="form.endTime"
  184. type="date"
  185. value-format="yyyy-MM-dd"
  186. placeholder=""
  187. >
  188. </el-date-picker>
  189. </el-form-item>
  190. <div class="jiben">任务附件</div>
  191. <fileUpload v-model="form.annexList" class="m-l-20" :limit="5" />
  192. <div class="jiben">备注</div>
  193. <el-form-item label="" prop="remarkInfo">
  194. <el-input
  195. v-model="form.remarkInfo"
  196. type="textarea"
  197. placeholder="请输入内容"
  198. />
  199. </el-form-item>
  200. </el-form>
  201. <div slot="footer" class="dialog-footer">
  202. <el-button type="primary" @click="submitForm">确 定</el-button>
  203. <el-button @click="cancel">取 消</el-button>
  204. </div>
  205. </el-dialog>
  206. <!-- <el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
  207. <el-form
  208. ref="form"
  209. :model="form"
  210. :rules="rules"
  211. label-width="80px"
  212. inline
  213. >
  214. <el-form-item label="任务名称" prop="taskName">
  215. <el-input v-model="form.taskName" placeholder="请输入任务名称" />
  216. </el-form-item>
  217. <el-form-item label="任务开始时间" prop="startTime">
  218. <el-date-picker
  219. clearable
  220. v-model="form.startTime"
  221. type="date"
  222. value-format="yyyy-MM-dd"
  223. placeholder="请选择任务开始时间"
  224. >
  225. </el-date-picker>
  226. </el-form-item>
  227. <el-form-item label="任务结束时间" prop="endTime">
  228. <el-date-picker
  229. clearable
  230. v-model="form.endTime"
  231. type="date"
  232. value-format="yyyy-MM-dd"
  233. placeholder="请选择任务结束时间"
  234. >
  235. </el-date-picker>
  236. </el-form-item>
  237. <el-form-item label="任务附件" prop="annex">
  238. <el-input v-model="form.annex" placeholder="请输入任务附件" />
  239. </el-form-item>
  240. <el-form-item label="任务备注" prop="remarkInfo">
  241. <el-input v-model="form.remarkInfo" placeholder="请输入任务备注" />
  242. </el-form-item>
  243. <el-divider content-position="center">任务计划执行详情信息</el-divider>
  244. <el-row :gutter="10" class="mb8">
  245. <el-col :span="1.5">
  246. <el-button
  247. type="primary"
  248. icon="el-icon-plus"
  249. size="mini"
  250. @click="handleAddBdglWorkTaskPlanDetail"
  251. >添加</el-button
  252. >
  253. </el-col>
  254. <el-col :span="1.5">
  255. <el-button
  256. type="danger"
  257. icon="el-icon-delete"
  258. size="mini"
  259. @click="handleDeleteBdglWorkTaskPlanDetail"
  260. >删除</el-button
  261. >
  262. </el-col>
  263. </el-row>
  264. <el-table
  265. :data="bdglWorkTaskPlanDetailList"
  266. :row-class-name="rowBdglWorkTaskPlanDetailIndex"
  267. @selection-change="handleBdglWorkTaskPlanDetailSelectionChange"
  268. ref="bdglWorkTaskPlanDetail"
  269. >
  270. <el-table-column type="selection" width="50" align="center" />
  271. <el-table-column
  272. label="序号"
  273. align="center"
  274. prop="index"
  275. width="50"
  276. />
  277. <el-table-column label="单位ID" prop="unitId" width="150">
  278. <template slot-scope="scope">
  279. <el-input v-model="scope.row.unitId" placeholder="请输入单位ID" />
  280. </template>
  281. </el-table-column>
  282. <el-table-column label="任务执行人" prop="peopleName" width="150">
  283. <template slot-scope="scope">
  284. <el-input
  285. v-model="scope.row.peopleName"
  286. placeholder="请输入任务执行人"
  287. />
  288. </template>
  289. </el-table-column>
  290. <el-table-column label="任务描述" prop="taskDescription" width="150">
  291. <template slot-scope="scope">
  292. <el-input
  293. v-model="scope.row.taskDescription"
  294. placeholder="请输入任务描述"
  295. />
  296. </template>
  297. </el-table-column>
  298. <el-table-column
  299. label="任务执行情况0.待审核1.未完成2.已完成3.驳回"
  300. prop="taskStatus"
  301. width="150"
  302. >
  303. <template slot-scope="scope">
  304. <el-select
  305. v-model="scope.row.taskStatus"
  306. placeholder="请选择任务执行情况0.待审核1.未完成2.已完成3.驳回"
  307. >
  308. <el-option label="请选择字典生成" value="" />
  309. </el-select>
  310. </template>
  311. </el-table-column>
  312. <el-table-column label="任务反馈时间" prop="feedbackTime" width="240">
  313. <template slot-scope="scope">
  314. <el-date-picker
  315. clearable
  316. v-model="scope.row.feedbackTime"
  317. type="date"
  318. value-format="yyyy-MM-dd"
  319. placeholder="请选择任务反馈时间"
  320. />
  321. </template>
  322. </el-table-column>
  323. <el-table-column
  324. label="反馈内容"
  325. prop="feedbackDescription"
  326. width="150"
  327. >
  328. <template slot-scope="scope">
  329. <el-input
  330. v-model="scope.row.feedbackDescription"
  331. placeholder="请输入反馈内容"
  332. />
  333. </template>
  334. </el-table-column>
  335. </el-table>
  336. </el-form>
  337. <div slot="footer" class="dialog-footer">
  338. <el-button type="primary" @click="submitForm">确 定</el-button>
  339. <el-button @click="cancel">取 消</el-button>
  340. </div>
  341. </el-dialog> -->
  342. </div>
  343. </template>
  344. <script>
  345. import {
  346. listWorktaskplan,
  347. getWorktaskplan,
  348. delWorktaskplan,
  349. addWorktaskplan,
  350. updateWorktaskplan,
  351. } from "@/api/workingArrangements/worktaskplan";
  352. export default {
  353. name: "Worktaskplan",
  354. data() {
  355. return {
  356. // 遮罩层
  357. loading: true,
  358. // 选中数组
  359. ids: [],
  360. // 子表选中数据
  361. checkedBdglWorkTaskPlanDetail: [],
  362. // 非单个禁用
  363. single: true,
  364. // 非多个禁用
  365. multiple: true,
  366. // 显示搜索条件
  367. showSearch: true,
  368. // 总条数
  369. total: 0,
  370. // 任务计划基本信息表格数据
  371. worktaskplanList: [],
  372. // 任务计划执行详情表格数据
  373. bdglWorkTaskPlanDetailList: [],
  374. // 弹出层标题
  375. title: "",
  376. // 是否显示弹出层
  377. open: false,
  378. // 查询参数
  379. queryParams: {
  380. pageNum: 1,
  381. pageSize: 10,
  382. taskName: null,
  383. startTime: null,
  384. endTime: null,
  385. annex: null,
  386. remarkInfo: null,
  387. },
  388. // 表单参数
  389. form: {},
  390. // 表单校验
  391. rules: {
  392. taskName: [
  393. { required: true, message: "任务名称不能为空", trigger: "blur" },
  394. ],
  395. startTime: [
  396. { required: true, message: "任务开始时间不能为空", trigger: "blur" },
  397. ],
  398. endTime: [
  399. { required: true, message: "任务结束时间不能为空", trigger: "blur" },
  400. ],
  401. annex: [
  402. { required: true, message: "任务附件不能为空", trigger: "blur" },
  403. ],
  404. },
  405. };
  406. },
  407. created() {
  408. this.getList();
  409. },
  410. methods: {
  411. /** 查询任务计划基本信息列表 */
  412. getList() {
  413. this.loading = true;
  414. listWorktaskplan(this.queryParams).then((response) => {
  415. this.worktaskplanList = response.rows;
  416. this.total = response.total;
  417. this.loading = false;
  418. });
  419. },
  420. // 取消按钮
  421. cancel() {
  422. this.open = false;
  423. this.reset();
  424. },
  425. // 表单重置
  426. reset() {
  427. this.form = {
  428. id: null,
  429. taskName: null,
  430. startTime: null,
  431. endTime: null,
  432. annex: null,
  433. remarkInfo: null,
  434. createBy: null,
  435. createTime: null,
  436. updateBy: null,
  437. updateTime: null,
  438. };
  439. this.bdglWorkTaskPlanDetailList = [];
  440. this.resetForm("form");
  441. },
  442. /** 搜索按钮操作 */
  443. handleQuery() {
  444. this.queryParams.pageNum = 1;
  445. this.getList();
  446. },
  447. /** 重置按钮操作 */
  448. resetQuery() {
  449. this.resetForm("queryForm");
  450. this.handleQuery();
  451. },
  452. // 多选框选中数据
  453. handleSelectionChange(selection) {
  454. this.ids = selection.map((item) => item.id);
  455. this.single = selection.length !== 1;
  456. this.multiple = !selection.length;
  457. },
  458. /** 新增按钮操作 */
  459. handleAdd() {
  460. this.reset();
  461. this.open = true;
  462. this.title = "新增工作任务";
  463. },
  464. /** 修改按钮操作 */
  465. handleUpdate(row) {
  466. this.reset();
  467. const id = row.id || this.ids;
  468. getWorktaskplan(id).then((response) => {
  469. this.form = response.data;
  470. this.bdglWorkTaskPlanDetailList =
  471. response.data.bdglWorkTaskPlanDetailList;
  472. this.open = true;
  473. this.title = "修改工作任务";
  474. });
  475. },
  476. /** 提交按钮 */
  477. submitForm() {
  478. this.$refs["form"].validate((valid) => {
  479. if (valid) {
  480. this.form.bdglWorkTaskPlanDetailList =
  481. this.bdglWorkTaskPlanDetailList;
  482. if (this.form.id != null) {
  483. updateWorktaskplan(this.form).then((response) => {
  484. this.$modal.msgSuccess("修改成功");
  485. this.open = false;
  486. this.getList();
  487. });
  488. } else {
  489. addWorktaskplan(this.form).then((response) => {
  490. this.$modal.msgSuccess("新增成功");
  491. this.open = false;
  492. this.getList();
  493. });
  494. }
  495. }
  496. });
  497. },
  498. /** 删除按钮操作 */
  499. handleDelete(row) {
  500. const ids = row.id || this.ids;
  501. this.$modal
  502. .confirm('是否确认删除任务计划基本信息编号为"' + ids + '"的数据项?')
  503. .then(function () {
  504. return delWorktaskplan(ids);
  505. })
  506. .then(() => {
  507. this.getList();
  508. this.$modal.msgSuccess("删除成功");
  509. })
  510. .catch(() => {});
  511. },
  512. /** 任务计划执行详情序号 */
  513. rowBdglWorkTaskPlanDetailIndex({ row, rowIndex }) {
  514. row.index = rowIndex + 1;
  515. },
  516. /** 任务计划执行详情添加按钮操作 */
  517. handleAddBdglWorkTaskPlanDetail() {
  518. let obj = {};
  519. obj.unitId = "";
  520. obj.peopleName = "";
  521. obj.taskDescription = "";
  522. obj.taskStatus = "";
  523. obj.feedbackTime = "";
  524. obj.feedbackDescription = "";
  525. this.bdglWorkTaskPlanDetailList.push(obj);
  526. },
  527. /** 任务计划执行详情删除按钮操作 */
  528. handleDeleteBdglWorkTaskPlanDetail() {
  529. if (this.checkedBdglWorkTaskPlanDetail.length == 0) {
  530. this.$modal.msgError("请先选择要删除的任务计划执行详情数据");
  531. } else {
  532. const bdglWorkTaskPlanDetailList = this.bdglWorkTaskPlanDetailList;
  533. const checkedBdglWorkTaskPlanDetail =
  534. this.checkedBdglWorkTaskPlanDetail;
  535. this.bdglWorkTaskPlanDetailList = bdglWorkTaskPlanDetailList.filter(
  536. function (item) {
  537. return checkedBdglWorkTaskPlanDetail.indexOf(item.index) == -1;
  538. }
  539. );
  540. }
  541. },
  542. /** 复选框选中数据 */
  543. handleBdglWorkTaskPlanDetailSelectionChange(selection) {
  544. this.checkedBdglWorkTaskPlanDetail = selection.map((item) => item.index);
  545. },
  546. /** 导出按钮操作 */
  547. handleExport() {
  548. this.download(
  549. "workingArrangements/worktaskplan/export",
  550. {
  551. ...this.queryParams,
  552. },
  553. `worktaskplan_${new Date().getTime()}.xlsx`
  554. );
  555. },
  556. },
  557. };
  558. </script>
  559. <style scoped>
  560. .el-input__inner {
  561. height: 36px;
  562. background-color: #00365f;
  563. color: #fff;
  564. border: 1px solid white !important;
  565. }
  566. .el-select-dropdown {
  567. background-color: white;
  568. }
  569. .el-dialog__wrapper .el-form-item__label {
  570. color: white !important;
  571. }
  572. .el-dialog {
  573. background-color: #004d86 !important;
  574. }
  575. .el-form-item__label {
  576. width: 30%;
  577. }
  578. .el-textarea {
  579. width: 70%;
  580. }
  581. .el-dialog__title {
  582. color: white;
  583. }
  584. .el-dialog__header {
  585. border-bottom: 1px solid #718a9d;
  586. }
  587. .el-textarea__inner {
  588. width: 945px;
  589. height: 104px;
  590. }
  591. ::v-deep .el-textarea__inner {
  592. width: 566px;
  593. height: 104px;
  594. }
  595. /* 表宽度 */
  596. .el-input {
  597. width: 200px;
  598. }
  599. .el-date-editor.el-input,
  600. .el-date-editor.el-input__inner {
  601. width: 200px;
  602. }
  603. /* 执行 */
  604. #execute {
  605. width: 510px;
  606. /* width: auto; */
  607. }
  608. .el-input--suffix {
  609. width: auto;
  610. }
  611. /* 上传附件样式 */
  612. .el-icon-document {
  613. padding: 3px 5px;
  614. color: white;
  615. }
  616. .el-upload-list__item:hover {
  617. background-color: #00365f;
  618. }
  619. /* 上传附件的删除按钮样式 */
  620. .el-link--inner {
  621. margin-left: 3px;
  622. }
  623. /* 弹框背景 */
  624. .el-dialog {
  625. background: #00365f;
  626. }
  627. .el-dialog__title {
  628. color: white;
  629. }
  630. .el-input .el-input__inner {
  631. background: rgba(0, 0, 0, 0);
  632. }
  633. /* 下拉框样式 */
  634. .el-select-dropdown__wrap .el-scrollbar__view {
  635. background-color: white;
  636. }
  637. /* 上传附件样式 */
  638. .el-icon-document {
  639. padding: 3px 5px;
  640. color: white;
  641. }
  642. .el-upload-list__item:hover {
  643. background-color: #00365f;
  644. }
  645. /* 修改编号样式 */
  646. .ipt .el-input__inner {
  647. background-color: #004d86 !important;
  648. }
  649. /* 进度查看 */
  650. .el-button--btlook.is-active,
  651. .el-button--btlook:active {
  652. background: #32a5d3;
  653. border-color: #32a5d3;
  654. color: #ffffff;
  655. }
  656. .el-button--btlook:focus,
  657. .el-button--btlook:hover {
  658. background: #32a5d3;
  659. border-color: #32a5d3;
  660. color: #ffffff;
  661. }
  662. .el-button--btlook {
  663. width: 70px !important;
  664. border: 1px solid transparent;
  665. padding: 3px 8px;
  666. font-size: 14px;
  667. line-height: 1.5;
  668. border-radius: 3px;
  669. color: #fff;
  670. background-color: #32a5d3;
  671. }
  672. .big .el-input__inner {
  673. width: 940px;
  674. }
  675. /* 树形 */
  676. .threeselects {
  677. width: 200px;
  678. }
  679. .threeselects .vue-treeselect__input {
  680. background-color: #004d86;
  681. /* color: white; */
  682. }
  683. .el-form-item__content {
  684. /* color: white; */
  685. border-bottom: 1px solid #004d86;
  686. }
  687. .vue-treeselect__control {
  688. background-color: #004d86;
  689. border-bottom: 1px solid white;
  690. /* color: whi; */
  691. /* color: white; */
  692. }
  693. .vue-treeselect__placeholder {
  694. color: white;
  695. }
  696. .change_plan_type .el-input__inner {
  697. width: 200px;
  698. }
  699. /* 表格样式 */
  700. .el-table__empty-block {
  701. background-color: #004d86;
  702. }
  703. .el-table {
  704. background-color: #004d86;
  705. }
  706. .comtimer .el-input__inner {
  707. width: 940px;
  708. }
  709. /* 备注 */
  710. .thistext {
  711. color: white;
  712. width: 930px;
  713. border: 1px solid #fff;
  714. border-radius: 4px;
  715. min-height: 35px;
  716. height: auto !important;
  717. line-height: 35px;
  718. text-indent: 1em;
  719. margin-bottom: 20px;
  720. }
  721. /* 完成进度 */
  722. .complue .el-input__inner {
  723. width: 940px;
  724. }
  725. .complue {
  726. width: 940px;
  727. }
  728. /* 进度 */
  729. .jinduProgress {
  730. width: 740px;
  731. position: absolute;
  732. left: 210px;
  733. top: 5px;
  734. }
  735. /* 表格 */
  736. .tabless .el-table__row {
  737. background-color: #004d86;
  738. }
  739. .has-gutter {
  740. background-color: #004d86;
  741. }
  742. .el-dialog__body .el-table tr:nth-child(odd) {
  743. background-color: #004d86 !important;
  744. }
  745. .el-dialog__body .el-table tr:nth-child(even) {
  746. background-color: #004d86 !important;
  747. }
  748. .el-dialog__body table td {
  749. border-bottom: 1px solid white !important;
  750. }
  751. .el-dialog__body .el-table th.is-leaf {
  752. border: 1px solid white !important;
  753. }
  754. /* 下载按钮 */
  755. .downloadfile {
  756. border: 1px solid white;
  757. display: inline-block;
  758. width: 100px;
  759. height: 33px;
  760. border-radius: 5px;
  761. line-height: 33px;
  762. text-align: center;
  763. }
  764. .el-table__row {
  765. border-bottom: 1px solid white;
  766. }
  767. .el-input-number__increase {
  768. background-color: #004d86;
  769. }
  770. .el-input-number__decrease {
  771. background-color: #004d86;
  772. }
  773. /* 进度条百分比 */
  774. .el-progress-bar__innerText {
  775. color: #004d86;
  776. }
  777. .el-progress-bar__outer {
  778. background-color: rgba(25, 98, 153, 1);
  779. }
  780. /* 上下箭头 */
  781. .el-icon-arrow-up,
  782. .el-icon-arrow-down {
  783. color: white;
  784. }
  785. .vue-treeselect__single-value {
  786. color: white;
  787. }
  788. /* 文字多余部分省略 */
  789. .el-table_1_column_8 .cell {
  790. overflow: hidden;
  791. text-overflow: ellipsis;
  792. white-space: nowrap;
  793. }
  794. .el-table__empty-block {
  795. border-bottom: 1px solid white;
  796. }
  797. .vue-treeselect__control {
  798. background-color: transparent !important;
  799. }
  800. .threeselects .vue-treeselect__input {
  801. background-color: transparent !important;
  802. }
  803. .el-table__body-wrapper .el-table__empty-block {
  804. border: none !important;
  805. }
  806. .vue-treeselect__placeholder {
  807. color: #ccc;
  808. }
  809. .el-form-item__content {
  810. border-bottom: none !important;
  811. }
  812. ::v-deep .el-input__inner {
  813. border: 1px solid white !important;
  814. }
  815. .el-select-dropdown__item.selected {
  816. color: #000;
  817. font-weight: bold;
  818. }
  819. .vue-treeselect__menu {
  820. color: #606266;
  821. }
  822. /* 日历样式 */
  823. .el-date-picker__editor-wrap .el-input .el-input__inner {
  824. width: 100px !important;
  825. }
  826. .el-date-picker__time-header {
  827. border-bottom: none;
  828. }
  829. ::v-deep .el-input--small .el-input__inner {
  830. height: 36px;
  831. }
  832. ::v-deep .el-upload__tip {
  833. position: static !important;
  834. margin-left: 3px;
  835. margin-bottom: 21px;
  836. }
  837. .ren_wu {
  838. width: 501px;
  839. }
  840. /* 基本信息背景 */
  841. .jiben {
  842. width: 700px;
  843. height: 32px;
  844. background-image: url(../../../images/小标题底.png);
  845. margin-bottom: 25px;
  846. color: #fff;
  847. padding-left: 16px;
  848. line-height: 32px;
  849. background-size: 100%;
  850. }
  851. ::v-deep .el-form--inline .el-form-item {
  852. margin-right: 21px;
  853. }
  854. ::v-deep .el-dialog__body {
  855. margin-left: 40px;
  856. }
  857. </style>