storageContract.vue 26 KB

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