salesContract.vue 25 KB

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