n20-common-lib 2.7.26 → 2.7.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.7.26",
3
+ "version": "2.7.28",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -231,19 +231,19 @@
231
231
  </template>
232
232
 
233
233
  <script>
234
- import { $lc } from '../../utils/i18n/index'
235
- import axios from '../../utils/axios'
236
- import { linkGo, linkPush } from '../../utils/urlToGo'
237
234
  import getJsonc from '../../assets/getJsonc.js'
238
235
  import { closeTagsForBackPage } from '../../plugins/CompatibleOld'
236
+ import axios from '../../utils/axios'
237
+ import { $lc } from '../../utils/i18n/index'
238
+ import { linkGo, linkPush } from '../../utils/urlToGo'
239
239
  import ClDialog from '../Dialog'
240
240
  import ClUpload from '../Upload'
241
+ import dCloumn from './getDCloumn'
241
242
  import CarboncopyProp from './setCarboncopyProp.vue'
242
243
  import RejectToProp from './setRejectToProp.vue'
243
244
  import ShowAppOpi from './showAppOpi.vue'
244
245
  import ShowOtherAtt from './showOtherAttr.vue'
245
246
  import { toExaminePath } from './specialHandle'
246
- import dCloumn from './getDCloumn'
247
247
  const prefixCls = 'n20-approval-Button'
248
248
  // window._approvalExtend = { 'addtask.chdUserInfo.extend': {}, 'appOpi.queryAppOpiAndUser.exist': undefined, 'card.countermand.suggestion': false }
249
249
  if (!window._approvalExtend) window._approvalExtend = {}
@@ -633,7 +633,14 @@ export default {
633
633
  if (this.addTaskList.length > 0 && !this.addTaskType) {
634
634
  return this.addErrFn()
635
635
  }
636
- const { code, data } = await this.$axios.post(`/bems/activiti/admin/todo/checkFlowNew`, this.getParam())
636
+ let { isCheck } = this.$route.query
637
+ let params = {
638
+ plainText: '',
639
+ signText: '',
640
+ isCheck,
641
+ auditAdvanceDtos: this.getParam()
642
+ }
643
+ const { code, data } = await this.$axios.post(`/bems/activiti/admin/todo/checkFlowNew`)
637
644
  if (code === 200) {
638
645
  this.promptType = data.promptType
639
646
  switch (data.promptType) {
@@ -533,13 +533,13 @@ export default {
533
533
  if (type === 'preview') {
534
534
  // 预览
535
535
  return {
536
- url: `/onlinePreview?beid=${row[this.keys.url]}`,
536
+ url: `/onlinePreview?beid=${row[this.keys.rowKey]}`,
537
537
  name: row[this.keys.name] + '.html',
538
538
  sameOrg: this.seeTypes.test(row[this.keys.name])
539
539
  }
540
540
  } else {
541
541
  // 下载
542
- let blob = await axios.get(`/neams/eamsbaserecord/download/${row[this.keys.url]}`, null, {
542
+ let blob = await axios.get(`/neams/eamsbaserecord/download/${row[this.keys.rowKey]}`, null, {
543
543
  responseType: 'blob'
544
544
  })
545
545
  let name = row[this.keys.name] || blob.name
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file