collectionContract.vue 26 KB

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