salesContract.vue 24 KB

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