futuresPurchaseContract.vue 24 KB

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