n20-common-lib 2.8.0 → 2.8.2
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
|
@@ -48,8 +48,10 @@
|
|
|
48
48
|
>
|
|
49
49
|
<span class="worker-icon n20-icon-user"></span>{{ item.assignee }}
|
|
50
50
|
</div>
|
|
51
|
+
<div v-if="item.result !==1">{{ item.appOrPc ==="1"? 'PC端审批':'App端审批'}}</div>
|
|
51
52
|
</div>
|
|
52
53
|
</div>
|
|
54
|
+
|
|
53
55
|
<div v-if="item.ccUserName" class="n20-description-c m-t">{{ '抄送人:' | $lc }}{{ item.ccUserName }}</div>
|
|
54
56
|
<div v-if="item.addTaskName" class="n20-description-c m-t">
|
|
55
57
|
{{ '加签审批人:' | $lc }}{{ item.addTaskName }}
|
|
@@ -297,7 +299,7 @@ export default {
|
|
|
297
299
|
},
|
|
298
300
|
async created() {
|
|
299
301
|
if (this.procInstId) {
|
|
300
|
-
const data =await this.getProcInstData(this.procInstId)
|
|
302
|
+
const data =await this.getProcInstData('580fc97d76024fc8a6faadba5c1456e9'||this.procInstId)
|
|
301
303
|
this.approvalData.push(...data)
|
|
302
304
|
}
|
|
303
305
|
},
|
|
@@ -332,7 +334,8 @@ export default {
|
|
|
332
334
|
ccUserName: item.ccUserName, // 抄送人
|
|
333
335
|
addTaskName: item.addTaskName, // 加签审批人
|
|
334
336
|
memberName: item.memberName, // 审批人单位
|
|
335
|
-
subProcInitId:item.subProcInitId // 子流程id
|
|
337
|
+
subProcInitId:item.subProcInitId, // 子流程id
|
|
338
|
+
appOrPc:item.appOrPc // 终端标识 1 PC 2 APP
|
|
336
339
|
}
|
|
337
340
|
let resultName = item.optResult || ''
|
|
338
341
|
resultName = resultName.split('-')
|
package/src/index.js
CHANGED
|
@@ -135,6 +135,9 @@ import { convert } from './utils/amountInWords.js'
|
|
|
135
135
|
/** 国际化 */
|
|
136
136
|
import i18n, { $l } from './utils/i18n'
|
|
137
137
|
|
|
138
|
+
/** 全局指令 */
|
|
139
|
+
import fitlers from './fitlers'
|
|
140
|
+
|
|
138
141
|
/** 修正ElementUI的问题 */
|
|
139
142
|
import repairEl from './utils/repairElementUI'
|
|
140
143
|
|
|
@@ -234,6 +237,11 @@ const install = function (Vue, opts = { prefix: 'Cl', i18nConfig: {} }) {
|
|
|
234
237
|
Vue.component(name, component)
|
|
235
238
|
})
|
|
236
239
|
|
|
240
|
+
|
|
241
|
+
Object.keys(fitlers).forEach((key) => {
|
|
242
|
+
Vue.filter(key+'Format', fitlers[key])
|
|
243
|
+
})
|
|
244
|
+
|
|
237
245
|
Vue.use(HoverTooltip)
|
|
238
246
|
Vue.use(TitleDirective)
|
|
239
247
|
Vue.use(VDrag)
|
|
@@ -136,8 +136,8 @@ export async function getCertInfo(dn) {
|
|
|
136
136
|
IWSASkfGetCertList(
|
|
137
137
|
process.env.VUE_APP_NetSign_ARG || window.VUE_APP_NetSign_ARG || 'ShuttleCsp11_3000GM.dll',
|
|
138
138
|
(CertListData, errorCode) => {
|
|
139
|
-
if (errorCode
|
|
140
|
-
Message.error(codeDate[errorCode])
|
|
139
|
+
if (errorCode) {
|
|
140
|
+
Message.error(codeDate[errorCode] || errorCode)
|
|
141
141
|
reject()
|
|
142
142
|
} else {
|
|
143
143
|
const checkRes = verifyDn(CertListData, dn)
|