|
@@ -68,6 +68,34 @@ export default defineComponent({
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ const dohs = () => {
|
|
|
|
+ try {
|
|
|
|
+ var DH_BaseClient = uni.requireNativePlugin('DH-RHTX-BaseClient');
|
|
|
|
+ var DH_UcsClient = uni.requireNativePlugin('DH-RHTX-UcsClient');
|
|
|
|
+
|
|
|
|
+ DH_UcsClient.init();
|
|
|
|
+ DH_BaseClient.login(
|
|
|
|
+ 'huashe3',
|
|
|
|
+ 'huashe123',
|
|
|
|
+ '10.55.134.3',
|
|
|
|
+ '8320',
|
|
|
|
+ function (e) {
|
|
|
|
+ console.log('SDK日志:', JSON.stringify(e));
|
|
|
|
+ var aLogin = e.result;
|
|
|
|
+ if (aLogin) {
|
|
|
|
+ DH_UcsClient.gotoHomePage();
|
|
|
|
+ } else {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ } catch (E) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
const planOptions = computed(
|
|
const planOptions = computed(
|
|
() =>
|
|
() =>
|
|
Object.keys(store.incidentDetail?.baseTask ?? {})
|
|
Object.keys(store.incidentDetail?.baseTask ?? {})
|
|
@@ -241,7 +269,9 @@ export default defineComponent({
|
|
title="融合通信"
|
|
title="融合通信"
|
|
name="融合通信"
|
|
name="融合通信"
|
|
v-slots={{ icon: <img class="icon-i" src={icon_communication} /> }}>
|
|
v-slots={{ icon: <img class="icon-i" src={icon_communication} /> }}>
|
|
- 123
|
|
|
|
|
|
+ <div onClick={() => {
|
|
|
|
+ dohs();
|
|
|
|
+ }}>协同会商</div>
|
|
</CollapseItem>
|
|
</CollapseItem>
|
|
</Collapse>
|
|
</Collapse>
|
|
</div>
|
|
</div>
|