driverAudit.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  1. <!--采购合同-->
  2. <!--2019年5月30日 20:25:16 by jlx-->
  3. <template>
  4. <div>
  5. <BaseHeaderLayout :leftSpan="8">
  6. <template slot="left">
  7. <ws-button type="primary" @click="handleAdd()"
  8. v-hasPermission="
  9. `contractManagement.buyContract.buyContractInfo.add`
  10. "
  11. ><img
  12. width="13"
  13. height="13"
  14. style="
  15. vertical-align: text-top;
  16. position: relative;
  17. top: 2px;
  18. left: -4px;
  19. "
  20. src="../../../public/img/header-add.png"
  21. alt=""
  22. />添加</ws-button
  23. >
  24. <ws-button
  25. @click="exportlist()"
  26. v-hasPermission="
  27. `contractManagement.buyContract.buyContractInfo.view`
  28. "
  29. >导出</ws-button
  30. >
  31. </template>
  32. <template slot="right">
  33. <span style="width: 142px; display: inline-block;color: #8890B1;">状态:</span>
  34. <ws-select
  35. v-model="searchTypeText"
  36. placeholder=""
  37. class="typeselect"
  38. @change="selecttaskType"
  39. :value="searchType"
  40. >
  41. <ws-option
  42. v-for="item in taskTypeList"
  43. :key="item.value"
  44. :label="item.value"
  45. :value="item.value"
  46. style="color: #8890B1;"
  47. />
  48. </ws-select>
  49. <el-date-picker
  50. v-model="value2"
  51. type="daterange"
  52. align="right"
  53. unlink-panels
  54. range-separator="至"
  55. start-placeholder="开始日期"
  56. end-placeholder="结束日期"
  57. :picker-options="pickerOptions"
  58. >
  59. </el-date-picker>
  60. <ws-input
  61. v-model="searchKeyWord"
  62. placeholder="可按照合同编号、买方名称、卖方名称进行查找"
  63. clearable
  64. maxlength="500"
  65. type="input"
  66. class="findValue"
  67. ></ws-input>
  68. <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
  69. <ws-button
  70. class="find"
  71. type="primary"
  72. @click="find()"
  73. ><img
  74. width="16"
  75. height="16"
  76. style="
  77. vertical-align: text-top;
  78. position: relative;
  79. top: 0px;
  80. left: -8px;
  81. "
  82. src="../../../public/img/sousuo.png"
  83. alt=""
  84. /></ws-button>
  85. </template>
  86. </BaseHeaderLayout>
  87. <el-table
  88. class="wenzi"
  89. :data="contractList.records"
  90. style="width: 100%; margin-top: 10px"
  91. height="780"
  92. >
  93. <el-table-column type="index" label="序号">
  94. <template scope="scope">
  95. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  96. <span v-else>{{ scope.$index + 1 }}</span>
  97. </template>
  98. </el-table-column>
  99. <el-table-column prop="contractNo" label="合同编号" width="80">
  100. </el-table-column>
  101. <el-table-column prop="goodsName" label="货名" width="80">
  102. </el-table-column>
  103. <el-table-column prop="grade" label="品级">
  104. <template slot-scope="scope">
  105. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  106. scope.row.grade
  107. }}</span>
  108. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  109. scope.row.grade
  110. }}</span>
  111. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  112. scope.row.grade
  113. }}</span>
  114. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  115. scope.row.grade
  116. }}</span>
  117. </template>
  118. </el-table-column>
  119. <el-table-column prop="weight" label="重量(吨)"> </el-table-column>
  120. <el-table-column prop="unitContractPrice" label="合同单价(元)">
  121. </el-table-column>
  122. <el-table-column prop="packingMethod" label="包装方式"> </el-table-column>
  123. <el-table-column prop="buyer" label="买方"> </el-table-column>
  124. <el-table-column prop="seller" label="卖方"> </el-table-column>
  125. <el-table-column prop="imperfectGrain" label="已完成(吨)">
  126. <template slot-scope="scope">
  127. <span style="color: #5473e8; font-weight: 600">{{
  128. scope.row.imperfectGrain
  129. }}</span>
  130. </template>
  131. </el-table-column>
  132. <el-table-column prop="status" label="状态">
  133. <template slot-scope="scope">
  134. <el-popover
  135. placement="left"
  136. :width="285"
  137. trigger="click"
  138. visible-arrow="false"
  139. @show="history(scope.row)"
  140. >
  141. <template>
  142. <span slot="reference">
  143. <span
  144. v-if="scope.row.status == '待执行'"
  145. class="executory"
  146. ></span>
  147. <span
  148. v-if="scope.row.status == '执行中'"
  149. class="inExecution"
  150. ></span>
  151. <span v-if="scope.row.status == '已完成'" class="done"></span
  152. >{{ scope.row.status }}
  153. </span>
  154. </template>
  155. <div>
  156. <p style="margin-top: 0; padding-left: 10px">操作历史</p>
  157. <div v-for="(item, index) in historyList" :key='index' class="flex">
  158. <div class="vertical-text vertical-text-left">
  159. {{ item.updateDate }}
  160. </div>
  161. <div>
  162. <div class="vertical-circle"></div>
  163. <div
  164. v-if="index != historyList.length - 1"
  165. class="vertical-line"
  166. ></div>
  167. </div>
  168. <div class="vertical-text">
  169. {{ item.operateUser }}<br />{{ item.dealMsg }}
  170. </div>
  171. </div>
  172. </div>
  173. </el-popover>
  174. <img
  175. width="17"
  176. height="18"
  177. style="vertical-align: text-top; position: relative; top: -1px"
  178. src="../../../public/img/edit.png"
  179. @click="editClick(scope.row)"
  180. alt=""
  181. />
  182. <!-- <i class="el-icon-edit" @click="editClick(scope.row)"></i> -->
  183. </template>
  184. </el-table-column>
  185. <el-table-column prop="signingDate" label="签订日期"> </el-table-column>
  186. <el-table-column prop="mildewGrain" label="已付款(元)">
  187. </el-table-column>
  188. <el-table-column prop="addressUrl" label="附件">
  189. <template slot-scope="scope">
  190. <img
  191. width="18"
  192. height="20"
  193. style="vertical-align: text-top; position: relative; top: -1px"
  194. src="../../../public/img/fujian.png"
  195. @click="fujian(scope.row)"
  196. alt=""
  197. />
  198. <span v-if="scope.row.addressUrlArray.length > 0">{{
  199. scope.row.addressUrlArray.length
  200. }}</span>
  201. <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
  202. </template>
  203. </el-table-column>
  204. <el-table-column prop="address" label="操作" width="200">
  205. <template slot-scope="scope">
  206. <img
  207. width="16"
  208. height="16"
  209. style="vertical-align: text-top; margin: 0 6px"
  210. src="../../../public/img/chakan.png"
  211. @click="handleExamine(scope.row)"
  212. v-hasPermission="
  213. `contractManagement.buyContract.buyContractInfo.view`
  214. "
  215. alt=""
  216. />
  217. <img
  218. width="17"
  219. height="16"
  220. style="vertical-align: text-top; margin: 0 6px"
  221. src="../../../public/img/bianji.png"
  222. @click="handleEdit(scope.row)"
  223. v-hasPermission="
  224. `contractManagement.buyContract.buyContractInfo.edit`
  225. "
  226. alt=""
  227. />
  228. <img
  229. width="16"
  230. height="17"
  231. style="
  232. vertical-align: text-top;
  233. position: relative;
  234. top: -1px;
  235. margin: 0 6px;
  236. "
  237. src="../../../public/img/shanchu.png"
  238. v-hasPermission="
  239. `contractManagement.buyContract.buyContractInfo.delete`
  240. "
  241. @click="handleDelete(scope.row)"
  242. alt=""
  243. />
  244. </template>
  245. </el-table-column>
  246. </el-table>
  247. <el-pagination
  248. @size-change="handleSizeChange"
  249. @current-change="handleCurrentChange"
  250. :current-page="currentPage"
  251. :page-size="deptCircularPage.pageSize"
  252. layout="total, sizes, prev, pager, next, jumper"
  253. :total="deptBudgetTotal"
  254. >
  255. </el-pagination>
  256. <!-- 附件弹框 -->
  257. <WinseaContentModal
  258. v-model="accessoryTFs"
  259. :title="$t('system.noticeCircular.information')"
  260. @on-cancel="handleClose"
  261. >
  262. <p>查看附件</p>
  263. <ws-upload
  264. ref="upload"
  265. table-name="maintain_work_order"
  266. oss-key="mainPlan"
  267. :comp-id="compId"
  268. :appendix-ids="appendixIdsAdd"
  269. :vesselId="deptBudgetList.addressUrl"
  270. :size-limit="size"
  271. @uploadSuccess="uploadSuccess"
  272. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  273. />
  274. </WinseaContentModal>
  275. </div>
  276. </template>
  277. <script>
  278. import {
  279. getList,
  280. export1,
  281. editstatus,
  282. billoperatehis,
  283. deletecontract,
  284. } from '@/model/contarct/index'
  285. import { downloadFile } from '@/utils/batchDown'
  286. import Pagination from '@/components/Pagination'
  287. import WsUpload from '@/components/WsUpload'
  288. import { dayjs, EventBus } from 'base-core-lib'
  289. export default {
  290. name: 'viewSpareMoney',
  291. components: {
  292. WsUpload,
  293. Pagination,
  294. },
  295. watch: {
  296. vesselId(val) {
  297. this.getList()
  298. },
  299. isShow(val) {
  300. this.showType = val
  301. },
  302. },
  303. data() {
  304. return {
  305. //弹出框
  306. dialogViewSpareMoney: false,
  307. dialogApproveFormVisible: false,
  308. // 船舶类型
  309. monetaryKey: null,
  310. // 表格显示数据
  311. tableDate: [],
  312. size: 10,
  313. // 是否显示
  314. showType: true,
  315. // 年
  316. year: '',
  317. deliver_type: 1,
  318. deptBudgetTotal: 0,
  319. currentPage: 1,
  320. pageSize: 10,
  321. appendixIdsAdd: '',
  322. searchType: 1,
  323. searchTypeText: '未完成',
  324. searchKeyWord: '',
  325. contractType: 2,
  326. startDate: null,
  327. endDate: null,
  328. // 提交类型
  329. submitType: true,
  330. deptCircularPage: {},
  331. date: {
  332. year: dayjs().format('YYYY'),
  333. month: dayjs().format('MM'),
  334. },
  335. contractList: [],
  336. deptBudgetList: {},
  337. historyList: [],
  338. compId: sessionStorage.getItem('ws-pf_compId'),
  339. pickerBeginDateBefore: {
  340. disabledDate: (time) => {
  341. return time.getTime() > Date.now()
  342. },
  343. },
  344. accessoryTFs: false,
  345. taskTypeList: [
  346. { value: '未完成', type: 1 },
  347. { value: '已完成', type: 2 },
  348. { value: '全部合同', type: '' },
  349. ],
  350. pickerOptions: {
  351. shortcuts: [
  352. {
  353. text: '本周',
  354. onClick(picker) {
  355. const end = new Date()
  356. const start = new Date()
  357. var thisDay = start.getDay()
  358. var thisDate = start.getDate()
  359. if (thisDay != 0) {
  360. start.setDate(thisDate - thisDay)
  361. }
  362. picker.$emit('pick', [start, end])
  363. },
  364. },
  365. {
  366. text: '本月',
  367. onClick(picker) {
  368. const end = new Date()
  369. const start = new Date()
  370. start.setDate(1)
  371. picker.$emit('pick', [start, end])
  372. },
  373. },
  374. {
  375. text: '本季度',
  376. onClick(picker) {
  377. var oDate = new Date()
  378. var thisYear = oDate.getFullYear()
  379. var thisMonth = oDate.getMonth() + 1
  380. var n = Math.ceil(thisMonth / 3) // 季度
  381. var Month = n * 3 - 1
  382. var start = new Date(thisYear, Month - 2, 1)
  383. var end = new Date()
  384. picker.$emit('pick', [start, end])
  385. },
  386. },
  387. ],
  388. },
  389. value1: '',
  390. value2: '',
  391. }
  392. },
  393. activated() {
  394. console.log(this.$permission('PERMISSIONS.BUYCONTRACTINFO_ADD'))
  395. //cg.viewBudget
  396. //cg.viewSpareMoney
  397. // this.getVesselData();
  398. this.getList()
  399. this.showType = this.isShow
  400. },
  401. methods: {
  402. dateFormat(fmt, date) {
  403. let ret
  404. const opt = {
  405. 'Y+': date.getFullYear().toString(), // 年
  406. 'm+': (date.getMonth() + 1).toString(), // 月
  407. 'd+': date.getDate().toString(), // 日
  408. 'H+': date.getHours().toString(), // 时
  409. // "M+": date.getMinutes().toString(), // 分
  410. // "S+": date.getSeconds().toString() // 秒
  411. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  412. }
  413. for (let k in opt) {
  414. ret = new RegExp('(' + k + ')').exec(fmt)
  415. if (ret) {
  416. fmt = fmt.replace(
  417. ret[1],
  418. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  419. )
  420. }
  421. }
  422. return fmt
  423. },
  424. handleClose() {
  425. this.accessoryTFs = false
  426. },
  427. handleSizeChange(val) {
  428. console.log(`每页 ${val} 条`)
  429. this.pageSize = val
  430. this.getList()
  431. },
  432. handleCurrentChange(val) {
  433. this.currentPage = val
  434. console.log(`当前页: ${val}`)
  435. this.getList()
  436. },
  437. getList() {
  438. getList({
  439. compId: sessionStorage.getItem('ws-pf_compId'),
  440. contractType: this.contractType,
  441. currentPage: this.currentPage,
  442. pageSize: this.pageSize,
  443. searchType: this.searchType,
  444. searchKeyWord: this.searchKeyWord,
  445. startDate: this.startDate,
  446. endDate: this.endDate,
  447. contrPage: this.contrPage,
  448. })
  449. .toPromise()
  450. .then((response) => {
  451. for (var i = 0; i < response.records.length; i++) {
  452. if (response.records[i].addressUrl != null) {
  453. response.records[i].addressUrlArray =
  454. response.records[i].addressUrl.split(',')
  455. } else {
  456. response.records[i].addressUrlArray = []
  457. }
  458. }
  459. this.deptCircularPage.currentPage = response.current
  460. this.deptCircularPage.pageSize = response.size
  461. this.deptBudgetTotal = response.total
  462. this.contractList = response
  463. })
  464. },
  465. // 上传附件
  466. uploadSuccess(data, files, url) {
  467. console.log(data, files, url)
  468. // this.deptBudgetList.
  469. // this.formData.append('files', files)
  470. // this.feedbackObj.uploadNameAttachment = data.appendixName
  471. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  472. // // this.newAppendixs = files
  473. // this.onChangeFlag = true
  474. },
  475. editClick(row) {
  476. var status = ''
  477. if (row.status == '待执行' || row.status == '已完成') {
  478. status = '执行中'
  479. } else if (row.status == '执行中') {
  480. status = '已完成'
  481. }
  482. this.$confirm(`是否将状态改为${status}`, '提示', {
  483. confirmButtonText: '确定',
  484. cancelButtonText: '取消',
  485. type: 'warning',
  486. })
  487. .then(() => {
  488. editstatus({ id: row.id })
  489. .toPromise()
  490. .then((response) => {
  491. this.$notify.success({
  492. title: '成功',
  493. message: '状态修改成功',
  494. })
  495. this.getList()
  496. })
  497. .catch((response) => {
  498. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  499. })
  500. })
  501. .catch(() => {
  502. return false
  503. })
  504. },
  505. selecttaskType(e) {
  506. for (var i = 0; i < this.taskTypeList.length; i++) {
  507. if (this.taskTypeList[i].value == e) {
  508. this.searchType = this.taskTypeList[i].type
  509. }
  510. }
  511. },
  512. fujian(row) {
  513. if (
  514. row.addressUrl === null ||
  515. row.addressUrl === ''
  516. ) {
  517. EventBus.$emit(
  518. 'warning',
  519. this.$t('system.noticeCircular.NoInformation')
  520. )
  521. } else {
  522. this.accessoryTFs = true
  523. }
  524. this.appendixIdss = row.addressUrlArray
  525. },
  526. handleExamine(row) {
  527. console.log(row)
  528. this.$router.push({
  529. name: 'purchaseContractExamine',
  530. query: { id: row.id, status: row.status },
  531. })
  532. },
  533. handleAdd() {
  534. this.$router.push({ path: 'purchaseContractAdd' })
  535. },
  536. handleEdit(row) {
  537. this.$router.push({
  538. name: 'purchaseContractEdit',
  539. query: { id: row.id },
  540. })
  541. },
  542. // 关闭 dialog时 处理文件url 初始化upload组件
  543. handleCloe() {
  544. this.dialogViewSpareMoney = false
  545. },
  546. history(row) {
  547. console.log(row)
  548. billoperatehis({ id: row.id })
  549. .toPromise()
  550. .then((response) => {
  551. this.historyList = response
  552. })
  553. },
  554. find() {
  555. if (this.value2) {
  556. this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
  557. this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
  558. } else {
  559. this.startDate = ''
  560. this.endDate = ''
  561. }
  562. this.currentPage = 1
  563. this.getList()
  564. },
  565. async exportlist() {
  566. const { data } = await export1(
  567. {
  568. compId: sessionStorage.getItem('ws-pf_compId'),
  569. contractType: this.contractType,
  570. currentPage: this.currentPage,
  571. pageSize: this.pageSize,
  572. searchType: this.searchType,
  573. searchKeyWord: this.searchKeyWord,
  574. startDate: this.startDate,
  575. endDate: this.endDate,
  576. },
  577. {},
  578. { responseType: 'blob' }
  579. ).toPromise()
  580. downloadFile({
  581. res: data,
  582. fileName: `${
  583. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  584. }_采购合同`,
  585. type: 'xls',
  586. })
  587. },
  588. // deletecontract(){},
  589. //删除
  590. handleDelete(row) {
  591. var text = ''
  592. if (row.deliverType == 1) {
  593. text =
  594. '删除该合同将同时永久删除合同对应的临时仓库相关数据,是否确定删除?'
  595. } else {
  596. text = '合同删除后不可恢复,是否继续删除?'
  597. }
  598. this.$confirm(text, '提示', {
  599. confirmButtonText: '确定',
  600. cancelButtonText: '取消',
  601. type: 'warning',
  602. })
  603. .then(() => {
  604. deletecontract({ id: row.id })
  605. .toPromise()
  606. .then((response) => {
  607. this.$notify.success({
  608. title: '成功',
  609. message: '删除成功',
  610. })
  611. this.getList()
  612. })
  613. .catch((response) => {})
  614. })
  615. .catch(() => {
  616. return false
  617. })
  618. },
  619. },
  620. }
  621. </script>
  622. <style lang="scss" scoped>
  623. .vertical-text-left {
  624. width: 62px;
  625. text-align: right;
  626. }
  627. .flex {
  628. display: flex;
  629. }
  630. .el-range-editor.el-input__inner {
  631. margin-left: 10px;
  632. }
  633. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  634. width: 30px;
  635. margin-left: -10px;
  636. border-top-left-radius: 0px;
  637. border-bottom-left-radius: 0px;
  638. }
  639. .el-button--primary {
  640. background-color: #5878e8;
  641. border-color: #5878e8;
  642. }
  643. .el-button--default {
  644. border: 1px solid #5473e8;
  645. color: #5473e8;
  646. }
  647. .warning {
  648. width: 100%;
  649. height: 2px;
  650. background: red;
  651. }
  652. .executory,
  653. .inExecution,
  654. .done {
  655. width: 6px;
  656. height: 6px;
  657. display: inline-block;
  658. border-radius: 50%;
  659. position: relative;
  660. top: -1px;
  661. }
  662. .executory {
  663. background: #ff9f24;
  664. }
  665. .inExecution {
  666. background: #5878e8;
  667. }
  668. .done {
  669. background: #50cad4;
  670. }
  671. .top-grade {
  672. background: linear-gradient(90deg, #5678e9, #7993f6);
  673. color: #fff;
  674. padding: 3px;
  675. border-radius: 2px;
  676. }
  677. .second-class {
  678. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  679. color: #fff;
  680. padding: 3px;
  681. border-radius: 2px;
  682. }
  683. .third-class {
  684. background: linear-gradient(90deg, #ffa735, #ffbf70);
  685. color: #fff;
  686. padding: 3px;
  687. border-radius: 2px;
  688. }
  689. .substandard {
  690. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  691. color: #fff;
  692. padding: 3px;
  693. border-radius: 2px;
  694. }
  695. .wrap {
  696. width: 400px;
  697. position: absolute;
  698. top: 131px;
  699. left: 794px;
  700. transform-origin: right center;
  701. z-index: 2005;
  702. }
  703. .vertical-line {
  704. height: 100px;
  705. border-left: 2px solid #e9ecf7;
  706. margin-left: 4px;
  707. padding: 0 3px;
  708. // border-image: -webkit-linear-gradient(#00eba7, #08b8e6) 30 30;
  709. // border-image: -moz-linear-gradient(#00eba7, #08b8e6) 30 30;
  710. // border-image: linear-gradient(#00eba7, #08b8e6) 30 30;
  711. }
  712. .el-pagination {
  713. padding: 10px 15px;
  714. margin-bottom: 0;
  715. text-align: center;
  716. }
  717. /deep/.el-pager li.active {
  718. color: #5878e8;
  719. cursor: default;
  720. }
  721. /deep/.el-pager li:hover {
  722. color: #5878e8;
  723. cursor: default;
  724. }
  725. .vertical-circle {
  726. width: 10px;
  727. height: 10px;
  728. border: 2px solid #5878e8;
  729. background-color: #ffffff;
  730. -webkit-border-radius: 100px;
  731. }
  732. .vertical-circle:first-child {
  733. color: red;
  734. }
  735. .vertical-text {
  736. margin: 0 10px;
  737. color: #8890b1;
  738. font-size: 12px;
  739. margin-top: -4px;
  740. }
  741. /deep/.el-table .el-table__header .cell,
  742. /deep/.el-table .el-table__body .cell {
  743. text-align: center;
  744. }
  745. .typeselect {
  746. width: 500px;
  747. }
  748. .padding-xs {
  749. padding: 15px;
  750. text-align: right;
  751. }
  752. .clearfix:after {
  753. content: '';
  754. display: block;
  755. clear: both;
  756. }
  757. .el-table {
  758. font-size: 16px;
  759. }
  760. .taskType {
  761. width: 100%;
  762. background-color: #fff;
  763. margin-top: 2px;
  764. margin-bottom: 10px;
  765. list-style: none;
  766. // padding-bottom: 20px;
  767. li {
  768. float: left;
  769. border: 1px solid #6ea0f3;
  770. border-radius: 5px;
  771. max-width: 190px;
  772. padding: 0 5px;
  773. text-align: center;
  774. margin: 10px 20px;
  775. cursor: pointer;
  776. font-size: 14px;
  777. p {
  778. margin: 8px 0px;
  779. span {
  780. color: #e74c3c;
  781. }
  782. }
  783. }
  784. li:hover {
  785. background-color: #e4eeff;
  786. color: #1d6ced;
  787. }
  788. }
  789. .el-date-editor--date {
  790. margin: 0 10px;
  791. }
  792. .findValue {
  793. margin: 0 10px;
  794. }
  795. /deep/.findValue .el-input__inner {
  796. border-top-right-radius: 0px;
  797. border-bottom-right-radius: 0px;
  798. }
  799. .button-container {
  800. display: flex;
  801. flex-wrap: nowrap;
  802. justify-content: space-between;
  803. align-items: center;
  804. background-color: #fff;
  805. width: 100%;
  806. height: 50px;
  807. padding: 0 10px;
  808. & > div {
  809. margin-left: 10px;
  810. display: flex;
  811. flex-wrap: nowrap;
  812. flex-direction: row;
  813. & > span {
  814. line-height: 50px;
  815. }
  816. }
  817. /deep/.auditFlow-box {
  818. position: unset;
  819. margin-left: 10px;
  820. &/deep/.auditFlow-icon {
  821. width: auto;
  822. padding-right: 30px;
  823. }
  824. &/deep/.auditFlow-main {
  825. position: absolute;
  826. }
  827. }
  828. }
  829. .box-app {
  830. display: inline-block;
  831. float: left;
  832. margin-left: 30px;
  833. line-height: 50px;
  834. }
  835. /deep/.el-dialog {
  836. .el-form-item {
  837. margin-bottom: 0 !important;
  838. .el-input--medium {
  839. textarea {
  840. min-height: 100px !important;
  841. }
  842. }
  843. }
  844. }
  845. .collapse-bottom {
  846. margin-bottom: 20px;
  847. }
  848. .input-main .textarea .el-textarea__inner {
  849. width: 100%;
  850. z-index: 1;
  851. }
  852. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  853. /* height: 82px;*/
  854. /*}*/
  855. // 控制select为只读的时候显示样式
  856. .hide-sel {
  857. .el-input__inner {
  858. border: 0px;
  859. }
  860. .el-icon-arrow-up {
  861. display: none;
  862. }
  863. .el-textarea__inner {
  864. background-color: #fff !important;
  865. border: 0;
  866. }
  867. .el-date-editor {
  868. i {
  869. display: none;
  870. }
  871. }
  872. .is-disabled {
  873. .el-input__inner:hover {
  874. background-color: #fff !important;
  875. border: 0;
  876. }
  877. color: #606266;
  878. .el-input__inner {
  879. background-color: #fff !important;
  880. border: 0;
  881. color: #606266;
  882. }
  883. .el-textarea__inner {
  884. background-color: #fff !important;
  885. border: 0;
  886. color: #606266;
  887. }
  888. }
  889. }
  890. // 控制select为只读的时候显示样式
  891. /deep/.ws-class-table-col {
  892. height: auto;
  893. padding: 0px 2px;
  894. /deep/.el-input__inner {
  895. padding: 0px 2px;
  896. }
  897. }
  898. /deep/.is-disabled {
  899. .el-input__prefix,
  900. .el-input__suffix {
  901. display: none;
  902. }
  903. .el-input__inner {
  904. background-color: #fff;
  905. border-color: #fff !important;
  906. color: #000 !important;
  907. font-size: 14px;
  908. cursor: text;
  909. padding: 0 !important;
  910. }
  911. }
  912. /deep/.typeselect .el-input__inner{
  913. color: #8890B1;
  914. }
  915. </style>