audit-summarry-from.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. <template>
  2. <span>
  3. <sd-webflow
  4. ref="docform"
  5. :key="key"
  6. :validate-form="validForm"
  7. :removed-tabs="['sdRelatedDoc']"
  8. @actionBtnClick="actionBtnClick"
  9. >
  10. <template v-slot:form="{ model, fields, FlowData }">
  11. <table v-if="initData(model)">
  12. <colgroup>
  13. <col style="width: 15%;"/>
  14. <col style="width: 35%;"/>
  15. <col style="width: 15%;"/>
  16. <col style="width: 35%;"/>
  17. </colgroup>
  18. <tr v-show="false">
  19. <!-- 标题 -->
  20. <sd-form-item-td name="title" :colspan="3"/>
  21. </tr>
  22. <tr>
  23. <td colspan="4" style="border:none">
  24. <audit-advanced-group
  25. :expand="expandJ"
  26. :expand-str="'expandJ'"
  27. :group-label="'风险审计信息'"
  28. @changedClick="changedClick"
  29. />
  30. </td>
  31. </tr>
  32. <tr v-show="expandJ">
  33. <!-- 业务编码 -->
  34. <sd-form-item-td name="businessCode" :input-props="{ disabled: true }"/>
  35. <!-- 事件标签 -->
  36. <sd-form-item-td
  37. name="eventTagName"
  38. label="事件标签分类"
  39. :input-props="{ disabled: true }"
  40. />
  41. </tr>
  42. <!-- 模型编码 -->
  43. <!-- 模型名称 -->
  44. <tr v-show="expandJ">
  45. <sd-form-item-td name="batchName" :input-props="{ disabled: true }"/>
  46. <sd-form-item-td name="batchCode" :input-props="{ disabled: true }"/>
  47. </tr>
  48. <tr v-show="expandJ">
  49. <!-- 模型类型 -->
  50. <sd-form-item-td name="modelTypeName" :input-props="{ disabled: true }"/>
  51. <!-- 整改人 -->
  52. <sd-form-item-td name="viewAccount" :input-props="{ disabled: true }"/>
  53. </tr>
  54. <!-- 非问题 -->
  55. <tr v-show="expandJ">
  56. <sd-form-item-td
  57. label="非问题标签"
  58. name="nonQuestionTag"
  59. :colspan="3"
  60. :input-props="{ disabled: true }"
  61. />
  62. </tr>
  63. <tr v-show="expandJ">
  64. <sd-form-item-td
  65. label="非问题说明"
  66. name="nonQuestionDesc"
  67. :colspan="3"
  68. :input-props="{ disabled: true }"
  69. />
  70. </tr>
  71. <tr v-show="expandJ">
  72. <!-- 关注风险 -->
  73. <sd-form-item-td
  74. label="关注风险"
  75. name="risk"
  76. :colspan="3"
  77. :input-props="{ disabled: true }"
  78. />
  79. </tr>
  80. <tr v-if="isViewType">
  81. <td
  82. v-if="getClassdata(model, fields)"
  83. :colspan="4"
  84. style="line-height:40px;border:none1;"
  85. :class="$style.maintaintable"
  86. >
  87. <audit-advanced-group
  88. :expand="expandY"
  89. :expand-str="'expandY'"
  90. :group-label="'审计明细信息'"
  91. @changedClick="changedClick"
  92. >
  93. <template>
  94. <sd-table
  95. v-show="expandY"
  96. ref="classtable"
  97. :row-key="(record, index) => index"
  98. :loading="false"
  99. class="maintaintable"
  100. :columns="childMXColumns"
  101. :data-source="classdata"
  102. :pagination="false"
  103. >
  104. <div slot="attachment" slot-scope="text, record">
  105. <span :class="$style.exportClickBtn" @click="exportClick(record)">{{
  106. record.fileName
  107. }}</span>
  108. </div>
  109. <div slot="questionNature" slot-scope="text, record">
  110. <a-cascader :options="questionNatureList" v-model="record.questionNature" change-on-select placeholder="请选择问题性质" @change="saveForm" />
  111. <!-- <a-select-->
  112. <!-- v-model="record.questionNature"-->
  113. <!-- placeholder="请选择问题性质"-->
  114. <!-- allow-clear-->
  115. <!-- @change="saveForm"-->
  116. <!-- >-->
  117. <!-- <a-select-option value="有业务无制度">有业务无制度</a-select-option>-->
  118. <!-- <a-select-option value="有制度难执行">有制度难执行</a-select-option>-->
  119. <!-- <a-select-option value="有制度未遵循">有制度未遵循</a-select-option>-->
  120. <!-- <a-select-option value="制度太宽泛缺乏操作细则"-->
  121. <!-- >制度太宽泛缺乏操作细则</a-select-option-->
  122. <!-- >-->
  123. <!-- <a-select-option value="制度过时不具备可操作性"-->
  124. <!-- >制度过时不具备可操作性</a-select-option-->
  125. <!-- >-->
  126. <!-- <a-select-option value="制度脱离实际难落地实施"-->
  127. <!-- >制度脱离实际难落地实施</a-select-option-->
  128. <!-- >-->
  129. <!-- <a-select-option value="特殊事项已经线下审批"-->
  130. <!-- >特殊事项已经线下审批</a-select-option-->
  131. <!-- >-->
  132. <!-- <a-select-option value="事项紧急重目标轻合规"-->
  133. <!-- >事项紧急重目标轻合规</a-select-option-->
  134. <!-- >-->
  135. <!-- <a-select-option value="制度理解存在人为偏差"-->
  136. <!-- >制度理解存在人为偏差</a-select-option-->
  137. <!-- >-->
  138. <!-- <a-select-option value="工作疏忽未按制度行事"-->
  139. <!-- >工作疏忽未按制度行事</a-select-option-->
  140. <!-- >-->
  141. <!-- <a-select-option value="人为规避制度管控要求"-->
  142. <!-- >人为规避制度管控要求</a-select-option-->
  143. <!-- >-->
  144. <!-- </a-select>-->
  145. </div>
  146. <!-- <div slot="personResponsible" slot-scope="text, record">
  147. <span :class="$style.exportClickBtn" @click="selectUserClick">{{
  148. record.personResponsible || '请选择'
  149. }}</span>
  150. </div> -->
  151. </sd-table>
  152. </template>
  153. </audit-advanced-group>
  154. <div v-show="false">
  155. <sd-dep-picker
  156. ref="pRelSelect"
  157. v-model="mainSendPersonal"
  158. :single="true"
  159. :read-only="false"
  160. @change="changep"
  161. />
  162. </div>
  163. </td>
  164. </tr>
  165. </table>
  166. <template v-if="!isViewType">
  167. <tr>
  168. <td colspan="4" style="border:none">
  169. <audit-advanced-group
  170. :expand="expandDesc"
  171. :expand-str="'expandDesc'"
  172. :group-label="'说明'"
  173. @changedClick="changedClick"
  174. />
  175. </td>
  176. </tr>
  177. <table v-if="expandDesc">
  178. <sd-form-item-td name="reformDesc" :colspan="4" label="说明">
  179. <a-textarea v-model="model.reformDesc" placeholder="请填写说明" :rows="3"/>
  180. </sd-form-item-td>
  181. </table>
  182. <!-- 整改说明 -->
  183. <tr>
  184. <td colspan="4" style="border:none">
  185. <audit-advanced-group
  186. :expand="expandFiles"
  187. :expand-str="'expandFiles'"
  188. :group-label="'附件'"
  189. @changedClick="changedClick"
  190. />
  191. </td>
  192. </tr>
  193. <table v-if="expandFiles">
  194. <a-form-model-item label="">
  195. <div :class="$style.upload">
  196. <a-upload-dragger
  197. :class="$style.uploadData"
  198. name="RectificationFile"
  199. :file-list="fileListTemp"
  200. :accept="actualAccept"
  201. :multiple="true"
  202. :custom-request="(file) => customRequest(file, 0)"
  203. @change="handleChange"
  204. >
  205. <p class="ant-upload-drag-icon"><a-icon type="inbox"/></p>
  206. <p class="ant-upload-text">请上传整改附件</p>
  207. </a-upload-dragger>
  208. <div :class="$style.uploadList">
  209. <li v-for="(item, i) in fileList" :key="i">
  210. <span>{{ item.name }}</span>
  211. <!-- 删除 -->
  212. <a-icon type="delete" style="cursor: pointer;" @click="deleteFile(i)"/>
  213. </li>
  214. </div>
  215. </div>
  216. </a-form-model-item>
  217. </table>
  218. </template>
  219. <!-- 整改说明 -->
  220. </template>
  221. </sd-webflow>
  222. </span>
  223. </template>
  224. <script>
  225. import {Modal, Message} from 'ant-design-vue'
  226. import auditAdvancedGroup from '../../components/audit-advanced-group.vue'
  227. import auditAdvancedGroupMixins from '../../components/audit-advanced-group-mixins'
  228. import components from './_import-components/audit-summarry-from-import'
  229. import download from '@/common/services/download'
  230. import {getUserInfo} from '@/common/store-mixin'
  231. import moment from 'moment/moment'
  232. import AuditRiskbraryService from './riskLibrary'
  233. import {sdLocalStorage} from '@/common/services/storage-service'
  234. import axios from '@/common/services/axios-instance'
  235. // import
  236. export default {
  237. name: 'AuditSummarryFrom',
  238. metaInfo: {
  239. title: '风险问题审计',
  240. },
  241. components: {
  242. ...components,
  243. auditAdvancedGroup,
  244. },
  245. mixins: [auditAdvancedGroupMixins],
  246. data() {
  247. return {
  248. key: 0,
  249. // 控制是否展开
  250. expandY: true,
  251. expandJ: true,
  252. expandDesc: true,
  253. expandFiles: true,
  254. mainSendPersonal: [],
  255. fileList: [],
  256. fileListTemp: [],
  257. userInfo: getUserInfo(),
  258. childMXColumns: [
  259. {
  260. title: '序号',
  261. dataIndex: 'sortNum',
  262. customRender: (text, record, index) => `${index + 1}`,
  263. width: '80px',
  264. },
  265. // {
  266. // title: '批次号',
  267. // dataIndex: 'batchCode',
  268. // },
  269. // {
  270. // title: '批次名称',
  271. // dataIndex: 'batchName',
  272. // },
  273. {
  274. // 模型名称
  275. title: '模型名称',
  276. dataIndex: 'batchName',
  277. },
  278. {
  279. // 模型编号
  280. title: '模型编号',
  281. dataIndex: 'batchCode',
  282. },
  283. {
  284. title: '整改说明',
  285. dataIndex: 'reformDesc',
  286. },
  287. {
  288. title: '附件',
  289. dataIndex: 'attachment',
  290. scopedSlots: {customRender: 'attachment'},
  291. },
  292. // {
  293. // title: '问题性质',
  294. // dataIndex: 'questionNature',
  295. // width: '250px',
  296. // scopedSlots: { customRender: 'questionNature' },
  297. // },
  298. // {
  299. // title: '问题责任人',
  300. // dataIndex: 'personResponsible',
  301. // scopedSlots: { customRender: 'personResponsible' },
  302. // },
  303. ],
  304. classIndexData: [],
  305. maintaindata: [],
  306. flag: true,
  307. modelFlag: true,
  308. classtable: false,
  309. // 分类列表
  310. classdata: [],
  311. // 基础数据
  312. baseData: {},
  313. isViewType: true,
  314. infoProperties: {},
  315. attachments: [],
  316. lockId: '',
  317. flagIs: true,
  318. initType: false,
  319. questionNatureList: [
  320. {
  321. label: '有业务无制度',
  322. value: '有业务无制度',
  323. children: [
  324. ]
  325. },
  326. {
  327. label: '有制度难执行',
  328. value: '有制度难执行',
  329. children: [
  330. {
  331. label: '制度太宽泛缺乏操作细则',
  332. value: '制度太宽泛缺乏操作细则'
  333. },
  334. {
  335. label: '制度过时不具备可操作性',
  336. value: '制度过时不具备可操作性'
  337. },
  338. {
  339. label: '制度脱离实际难落地实施',
  340. value: '制度脱离实际难落地实施'
  341. },
  342. ]
  343. },
  344. {
  345. label: '有制度未遵循',
  346. value: '有制度未遵循',
  347. children: [{
  348. label:'特殊事项已经线下审批',
  349. value: '特殊事项已经线下审批'
  350. },{
  351. label:'事项紧急重目标轻合规',
  352. value: '事项紧急重目标轻合规'
  353. },{
  354. label:'制度理解存在人为偏差',
  355. value: '制度理解存在人为偏差'
  356. },{
  357. label:'工作疏忽未按制度行事',
  358. value: '工作疏忽未按制度行事'
  359. },{
  360. label:'人为规避制度管控要求',
  361. value: '人为规避制度管控要求'
  362. }]
  363. }
  364. ]
  365. }
  366. },
  367. computed: {
  368. actualAccept() {
  369. // 优先使用前端配置的类型限制,如未配置,则使用后端支持的类型
  370. return (
  371. this.accept || JSON.parse(sdLocalStorage.getItem('commonConfig') || '{}').attachType || ''
  372. )
  373. },
  374. },
  375. watch: {
  376. classdata() {
  377. this.saveForm()
  378. },
  379. },
  380. created() {
  381. const lock = sdLocalStorage.getItem(`Lock${this.webflow?.FlowData?.instId}`)
  382. this.lockId = (lock && JSON.parse(lock).sessionId) || ''
  383. },
  384. mounted() {
  385. this.initModelData()
  386. },
  387. methods: {
  388. initModelData() {
  389. if (!this.$route.query.extParams) return
  390. this.isViewType = false
  391. this.flagIs = false
  392. this.baseData = JSON.parse(this.$route.query.extParams)
  393. Object.keys(this.baseData).forEach((key) => {
  394. // 如果值是字符 null 则转换为null
  395. if (this.baseData[key] === 'null') {
  396. this.baseData[key] = null
  397. }
  398. this.$refs.docform.setFieldValue(key, this.baseData[key])
  399. })
  400. // todo 问题整改人
  401. },
  402. // 附件自定义上传
  403. customRequest(data, catnum = 0, item) {
  404. if (data.file.size === 0) {
  405. Message.warn(`不能上传大小为0的文件`)
  406. return
  407. }
  408. const file = {
  409. FileName: data.file.name,
  410. Completed: 0,
  411. CatNum: catnum,
  412. }
  413. this.attachments = [...this.attachments]
  414. const strTime = moment().format('YYYY-MM-DD HH:mm:ss')
  415. const formData = new FormData()
  416. formData.append('file', data.file)
  417. formData.append('FileName', data.file.name)
  418. formData.append('lockId', this.lockId)
  419. formData.append('groupId', this.groupId)
  420. Object.keys(this.infoProperties).forEach((key) => {
  421. formData.append(key, this.infoProperties[key])
  422. })
  423. formData.append(
  424. 'querystring',
  425. `<file_unid></file_unid><file_name>${data.file.name}</file_name><file_size>${data.file.size}</file_size><completed>1</completed><file_create>${strTime}</file_create><file_update>${strTime}</file_update><file_editmodel>0</file_editmodel><file_lockuser>0</file_lockuser><CreateInfo>${this.userInfo.account} ${strTime}</CreateInfo><filetype></filetype><user_name>${this.userInfo.account}</user_name><UpdateInfo>${this.userInfo.account}于${strTime}创建.</UpdateInfo><TaodaInfo></TaodaInfo><CatNum>${catnum}</CatNum><Ext></Ext>`
  426. )
  427. const url = 'api/xcoa-mobile/v1/iam-attachment-extend/attachments-upload/indi'
  428. axios
  429. .post(url, formData, {
  430. headers: {
  431. 'Content-Type': 'multipart/form-data',
  432. },
  433. })
  434. .then((_) => {
  435. if (_.data.startsWith('false')) {
  436. Message.error(`${data.file.name} 上传失败`)
  437. } else {
  438. this.fileList.push({
  439. name: data.file.name,
  440. url: _.data,
  441. })
  442. const attachment = this.fileList.map((item) => item.url).join(',')
  443. const nameList = this.fileList.map((item) => item.name).join(',')
  444. this.$refs.docform.setFieldValue('attachment', attachment)
  445. this.$refs.docform.setFieldValue('fileName', nameList)
  446. data.onSuccess(_, data.file)
  447. }
  448. })
  449. .catch((e) => {
  450. Message.error(`${data.file.name} 上传失败`)
  451. throw e
  452. })
  453. },
  454. // 附件上传
  455. handleChange(info) {
  456. const status = info.file.status
  457. if (status === 'done') {
  458. Message.success(`${info.file.name} 上传成功.`)
  459. } else if (status === 'error') {
  460. Message.error(`${info.file.name} 上传失败.`)
  461. }
  462. },
  463. // <!-- 删除已上传附件 -->
  464. deleteFile(index) {
  465. this.fileList.splice(index, 1)
  466. const attachment = this.fileList.map((item) => item.url).join(',')
  467. const nameList = this.fileList.map((item) => item.name).join(',')
  468. this.$refs.docform.setFieldValue('attachment', attachment)
  469. this.$refs.docform.setFieldValue('fileName', nameList)
  470. },
  471. saveForm() {
  472. return new Promise((resolve) => {
  473. if (this.isViewType) {
  474. this.$refs.docform.setFieldValue('questionNature', this.classdata[0].questionNature.join('|'))
  475. const account = getUserInfo().name
  476. const strTime = moment().format('YYYY-MM-DD')
  477. // 第一次
  478. if (!this.initType) {
  479. // 没有初审人,设置初审人
  480. if (!this.classdata[0].checker) {
  481. this.$refs.docform.setFieldValue('checker', account)
  482. this.$refs.docform.setFieldValue('checkDate', strTime)
  483. }
  484. // 有初审人并且没有终审人
  485. if (this.classdata[0].checker && !this.classdata[0].reviewer) {
  486. this.$refs.docform.setFieldValue('reviewer', account)
  487. this.$refs.docform.setFieldValue('reviewDate', strTime)
  488. }
  489. }
  490. }
  491. if (!this.isViewType) {
  492. const strTime = moment().format('YYYY-MM-DD')
  493. this.$refs.docform.setFieldValue('reformDate', strTime)
  494. this.$refs.docform.setFieldValue('title', getUserInfo().name + '风险审核')
  495. }
  496. resolve(true)
  497. })
  498. },
  499. validForm(e) {
  500. return Promise.resolve(true)
  501. },
  502. actionBtnClick(evt, {button, FlowData}) {
  503. if (button.buttonId === 'G_1_FXWTSJ.4') {
  504. if (
  505. !this.classdata[0]?.questionNature &&
  506. this.isViewType &&
  507. !this.classdata[0]?.nonQuestionDesc
  508. ) {
  509. evt.preventDefault()
  510. return Modal.warning({
  511. title: '提示',
  512. content: '请选择需要问题性质!',
  513. })
  514. }
  515. }
  516. if (button.fakeId === 'save' || button.fakeId === 'workflow-push') {
  517. // 保存前先校验计划是否已经存在
  518. evt.waitUntil(
  519. new Promise((resolve, reject) => {
  520. this.saveForm(button.buttonId).then((res) => {
  521. if (!res) {
  522. evt.preventDefault()
  523. }
  524. resolve()
  525. })
  526. })
  527. )
  528. }
  529. },
  530. initData(model) {
  531. // 如果整改人是自己则可以上传
  532. if (model.viewAccount === getUserInfo().name) {
  533. this.isViewType = false
  534. if (model.attachment && this.flagIs) {
  535. const attachmentList = model.attachment.split(',')
  536. const fileNameList = model.fileName.split(',')
  537. this.fileList = []
  538. for (let i = 0; i < attachmentList.length; i++) {
  539. this.fileList.push({
  540. name: fileNameList[i],
  541. url: attachmentList[i],
  542. })
  543. }
  544. this.flagIs = false
  545. }
  546. }
  547. return true
  548. },
  549. getClassdata(model, fields) {
  550. if (this.flag) {
  551. this.classdata = [
  552. {
  553. batchCode: fields.batchCode.value,
  554. batchName: fields.batchName.value,
  555. reformDesc: fields.reformDesc.value,
  556. attachment: fields.attachment.value,
  557. fileName: fields.fileName.value,
  558. questionNature: fields.questionNature.value || undefined,
  559. // personResponsible: fields.personResponsible.value,
  560. checker: fields.checker.value,
  561. checkDate: fields.checkDate.value,
  562. reviewer: fields.reviewer.value,
  563. reviewDate: fields.reviewDate.value,
  564. viewAccount: fields.viewAccount.value,
  565. nonQuestionDesc: fields.nonQuestionDesc.value,
  566. },
  567. ]
  568. // 如果 非问题标签内有值则不显示
  569. if (
  570. !this.classdata[0].nonQuestionDesc &&
  571. !this.childMXColumns.find((item) => item.title === '问题性质')
  572. ) {
  573. this.childMXColumns.push({
  574. title: '问题性质',
  575. dataIndex: 'questionNature',
  576. width: '250px',
  577. scopedSlots: {customRender: 'questionNature'},
  578. })
  579. }
  580. if (!this.classdata[0].viewAccount) {
  581. this.initType = true
  582. this.$nextTick(() => {
  583. this.$refs.docform.setFieldValue('viewAccount', getUserInfo().name)
  584. })
  585. }
  586. this.flag = false
  587. }
  588. return true
  589. },
  590. // 下载
  591. exportClick(row) {
  592. const attachmentList = row.attachment.split(',')
  593. const fileNameList = row.fileName.split(',')
  594. for (let i = 0; i < attachmentList.length; i++) {
  595. const spliceIndex = attachmentList[i].lastIndexOf('|')
  596. const destStep = attachmentList[i].substring(spliceIndex + 1, attachmentList[i].length)
  597. download(
  598. 'api/framework/v1/task-form-process/download-attachments/' + destStep,
  599. fileNameList[i]
  600. )
  601. }
  602. },
  603. selectUserClick() {
  604. setTimeout(() => {
  605. this.$refs.pRelSelect.openPicker()
  606. }, 0)
  607. },
  608. changep(values) {
  609. this.saveForm()
  610. },
  611. },
  612. }
  613. </script>
  614. <style module lang="scss">
  615. @use '@/common/design' as *;
  616. @import '@/webflow/sd-flow-form.scss';
  617. .btnselect {
  618. position: relative;
  619. top: 2px;
  620. right: 80px;
  621. float: right;
  622. .batchselect {
  623. z-index: 100;
  624. margin-left: 10px;
  625. }
  626. }
  627. .btnselectmaintain {
  628. position: relative;
  629. float: right;
  630. .batchselect {
  631. z-index: 100;
  632. margin-right: -10px;
  633. margin-left: 10px;
  634. }
  635. }
  636. .maintaintable {
  637. :global(.ant-table-thead > tr > th) {
  638. border-right: none;
  639. }
  640. :global(.ant-table-bordered.ant-table-empty .ant-table-placeholder) {
  641. border: none;
  642. }
  643. :global(.ant-table-body table) {
  644. // border-left:none;
  645. border: none;
  646. }
  647. }
  648. .exportClickBtn {
  649. color: #1890ff;
  650. cursor: pointer;
  651. }
  652. .upload {
  653. display: flex;
  654. .upload-list {
  655. width: calc(30% - 10px);
  656. margin-left: 10px;
  657. li {
  658. display: flex;
  659. align-items: center;
  660. justify-content: space-between;
  661. width: 100%;
  662. height: 30px;
  663. padding: 0 10px;
  664. margin-bottom: 10px;
  665. line-height: 30px;
  666. border-radius: 4px;
  667. span {
  668. display: inline-block;
  669. width: 80%;
  670. overflow: hidden;
  671. text-overflow: ellipsis;
  672. white-space: nowrap;
  673. }
  674. }
  675. }
  676. .upload-data {
  677. width: 70%;
  678. }
  679. }
  680. </style>