新增钉钉 Stream SDK 依赖,支持无 HTTP 上下文的后台线程显式传入 token 进行审批回调。同时,完善了 MES 审批台账功能,新增审批记录同步、批量发起审批时的门禁与台账写入逻辑,增强了系统的审批流管理能力。
This commit is contained in:
@@ -64,6 +64,19 @@ export const thirdAppFormSchema: FormSchema[] = [
|
||||
unCheckedValue: 0
|
||||
},
|
||||
defaultValue: 1
|
||||
},{
|
||||
label: 'Stream事件推送',
|
||||
field: 'streamEnabled',
|
||||
component: 'Switch',
|
||||
ifShow: ({ values }) => values.thirdType === 'dingtalk',
|
||||
componentProps: {
|
||||
checkedChildren: '已启用',
|
||||
checkedValue: 1,
|
||||
unCheckedChildren: '未启用',
|
||||
unCheckedValue: 0,
|
||||
},
|
||||
helpMessage: '开启后,此应用的 AppKey/AppSecret 将用于接收钉钉 Stream 事件推送(审批结果等)。同一企业只需开启一个',
|
||||
defaultValue: 0,
|
||||
},{
|
||||
label: '租户id',
|
||||
field: 'tenantId',
|
||||
|
||||
@@ -45,6 +45,14 @@
|
||||
<a-input-password v-model:value="appConfigData.clientSecret" readonly />
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-flow">
|
||||
<div class="base-title">Stream推送</div>
|
||||
<div class="base-message" style="display:flex;align-items:center;height:50px;">
|
||||
<a-tag :color="appConfigData.streamEnabled === 1 ? 'green' : 'default'">
|
||||
{{ appConfigData.streamEnabled === 1 ? '已设为Stream主配置' : '未启用' }}
|
||||
</a-tag>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 20px; width: 100%; text-align: right">
|
||||
<a-button @click="dingEditClick">编辑</a-button>
|
||||
<a-button v-if="appConfigData.id" @click="cancelBindClick" danger style="margin-left: 10px">取消绑定</a-button>
|
||||
|
||||
Reference in New Issue
Block a user