storageContract.vue 26 KB

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