From 3d340acc7da65b3b11cf1358f0fd0de23bcfa2e4 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 27 Feb 2026 11:08:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
applications/task-work-order/src/views/orderView/orderManage/inspectionReport/index.vue | 2
applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue | 4 +-
applications/task-work-order/src/views/orderView/organizational/userMange/index.vue | 2
applications/task-work-order/src/views/orderView/organizational/roleMange/index.vue | 8 ++-
uniapps/work-app/src/hooks/useGlobalWS.js | 16 ++-----
applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue | 7 +++
uniapps/work-app/src/subPackages/voiceCallDetail/index.vue | 9 ++++
applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue | 4 +-
applications/task-work-order/src/views/basicManage/maintainRecord/index.vue | 2
applications/task-work-order/src/views/orderView/orderManage/operatingIncome/index.vue | 3 +
applications/task-work-order/src/page/lock/index.vue | 1
applications/task-work-order/src/styles/common/cockpit.scss | 14 ++++++
applications/task-work-order/src/page/index/top/index.vue | 1
applications/task-work-order/src/views/orderView/appConfiguration/process/index.vue | 2
14 files changed, 51 insertions(+), 24 deletions(-)
diff --git a/applications/task-work-order/src/page/index/top/index.vue b/applications/task-work-order/src/page/index/top/index.vue
index 4995ac0..4c5794d 100644
--- a/applications/task-work-order/src/page/index/top/index.vue
+++ b/applications/task-work-order/src/page/index/top/index.vue
@@ -82,6 +82,7 @@
methods: {
logout () {
this.$confirm(this.$t('logoutTip'), this.$t('提示'), {
+ customClass: 'gd-confirm-custom',
confirmButtonText: this.$t('submitText'),
cancelButtonText: this.$t('cancelText'),
type: 'warning',
diff --git a/applications/task-work-order/src/page/lock/index.vue b/applications/task-work-order/src/page/lock/index.vue
index 2215769..1bb977e 100644
--- a/applications/task-work-order/src/page/lock/index.vue
+++ b/applications/task-work-order/src/page/lock/index.vue
@@ -67,6 +67,7 @@
},
handleLogout() {
this.$confirm('是否退出系统, 是否继续?', '提示', {
+ customClass: 'gd-confirm-custom',
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index 536845e..3300516 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -945,12 +945,24 @@
padding-bottom: 20px;
.el-button {
- min-width: 88px;
+ padding: 4px 16px;
+ color: #383874;
border: none;
+ height: 32px;
+ }
+
+ .el-button:first-child {
+ color: #FFFFFF;
}
.el-button.is-disabled,
.el-button.is-disabled:hover {
+ background: #ECECF4;
+ border: none;
+ }
+
+ .el-button:first-child.is-disabled,
+ .el-button:first-child.is-disabled:hover {
background: #4C34FF;
border: none;
}
diff --git a/applications/task-work-order/src/views/basicManage/maintainRecord/index.vue b/applications/task-work-order/src/views/basicManage/maintainRecord/index.vue
index 24eb857..55ba0d7 100644
--- a/applications/task-work-order/src/views/basicManage/maintainRecord/index.vue
+++ b/applications/task-work-order/src/views/basicManage/maintainRecord/index.vue
@@ -28,7 +28,7 @@
<div class="gd-table-container" v-loading="loading">
<div class="gd-table-toolbar">
<el-button :icon="Plus" color="#4C34FF" type="primary" @click="openForm('add')">新增</el-button>
- <el-button :icon="Delete" color="#4C34FF" :disabled="!selectedIds.length"
+ <el-button :icon="Delete" color="#ECECF4" :disabled="!selectedIds.length"
@click="handleDelete()">删除</el-button>
</div>
diff --git a/applications/task-work-order/src/views/orderView/appConfiguration/process/index.vue b/applications/task-work-order/src/views/orderView/appConfiguration/process/index.vue
index bc6708c..2688099 100644
--- a/applications/task-work-order/src/views/orderView/appConfiguration/process/index.vue
+++ b/applications/task-work-order/src/views/orderView/appConfiguration/process/index.vue
@@ -34,7 +34,7 @@
</el-button>
<el-button
:icon="Delete"
-
+ color="#ECECF4"
@click="handleBatchDelete"
>
删除
diff --git a/applications/task-work-order/src/views/orderView/orderManage/inspectionReport/index.vue b/applications/task-work-order/src/views/orderView/orderManage/inspectionReport/index.vue
index b7504c5..b91c32b 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/inspectionReport/index.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/inspectionReport/index.vue
@@ -39,7 +39,7 @@
<div class="gd-table-container" v-loading="loading">
<div class="gd-table-toolbar">
<el-button :icon="Download" color="#4C34FF" type="primary" @click="handleDownload">文档下载</el-button>
- <el-button :icon="Upload" color="#4C34FF" type="primary" @click="handleUpload">文档上传</el-button>
+ <el-button :icon="Upload" color="#ECECF4" type="primary" @click="handleUpload">文档上传</el-button>
</div>
<div class="gd-table-content gd-table-content-bg">
diff --git a/applications/task-work-order/src/views/orderView/orderManage/operatingIncome/index.vue b/applications/task-work-order/src/views/orderView/orderManage/operatingIncome/index.vue
index 25717ee..95dd3b5 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/operatingIncome/index.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/operatingIncome/index.vue
@@ -4,7 +4,7 @@
<div class="gd-table-container" v-loading="loading">
<div class="gd-table-toolbar">
<el-button :icon="Plus" color="#4C34FF" type="primary" @click="handleAdd">新增</el-button>
- <el-button :icon="Delete" color="#4C34FF" :disabled="!selectedIds.length" @click="handleDelete()">删除</el-button>
+ <el-button :icon="Delete" color="#ECECF4" :disabled="!selectedIds.length" @click="handleDelete()">删除</el-button>
</div>
<div class="gd-table-content gd-table-content-bg">
@@ -80,6 +80,7 @@
</basic-container>
</template>
<script setup>
+import { Delete, Plus } from '@element-plus/icons-vue'
import { ElMessage, ElMessageBox, ElLoading } from 'element-plus'
import { operatingIncomePage, operatingIncomeUpdate, operatingIncomeAdd, operatingIncomeBatchDelete } from './operatingIncomeApi'
diff --git a/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue b/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
index b5c8899..06ed06b 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
@@ -721,11 +721,18 @@
width: 350px;
display: flex;
flex-direction: column;
+
.title {
font-weight: 500;
font-size: 14px;
color: #272e37;
}
+
+ ::v-deep(.el-table) {
+ tr th {
+ font-weight: normal;
+ }
+ }
}
.processBox {
diff --git a/applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue b/applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue
index bd87925..560035b 100644
--- a/applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue
+++ b/applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue
@@ -41,8 +41,8 @@
<div class="gd-table-container" v-loading="loading">
<div class="gd-table-toolbar">
<el-button :icon="Plus" color="#4C34FF" type="primary" @click="openForm('add')">新增机构</el-button>
- <el-button :icon="Upload" @click="handleImport">机构导入</el-button>
- <el-button :icon="Download" :loading="exportLoading" :disabled="exportLoading" @click="handleExport">机构导出</el-button>
+ <el-button :icon="Upload" color="#ECECF4" @click="handleImport">机构导入</el-button>
+ <el-button :icon="Download" color="#ECECF4" :loading="exportLoading" :disabled="exportLoading" @click="handleExport">机构导出</el-button>
</div>
<div class="gd-table-content gd-table-content-bg">
diff --git a/applications/task-work-order/src/views/orderView/organizational/roleMange/index.vue b/applications/task-work-order/src/views/orderView/organizational/roleMange/index.vue
index d7a4925..c77cf0d 100644
--- a/applications/task-work-order/src/views/orderView/organizational/roleMange/index.vue
+++ b/applications/task-work-order/src/views/orderView/organizational/roleMange/index.vue
@@ -30,10 +30,12 @@
<div class="gd-table-container" v-loading="loading" element-loading-background="rgba(5, 5, 15, 0.6)">
<div class="gd-table-toolbar">
<el-button :icon="Plus" color="#4C34FF" type="primary" @click="handleAdd">新增</el-button>
- <el-button :icon="Delete" :disabled="!selectedIds.length" @click="handleDelete()">
+ <el-button :icon="Delete" color="#ECECF4" :disabled="!selectedIds.length" @click="handleDelete()">
删除
</el-button>
<el-button
+ :icon="Setting"
+ color="#ECECF4"
:disabled="selectedIds.length !== 1"
v-if="permission.orderRole_set"
@click="handleRole"
@@ -75,7 +77,7 @@
</template>
<script setup>
-import { Delete, Plus, RefreshRight, Search } from '@element-plus/icons-vue'
+import { Delete, Plus, Setting, RefreshRight, Search } from '@element-plus/icons-vue'
import { computed, onMounted, ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { getRoleListNew as getRolePage, remove } from '@/api/system/role'
@@ -153,7 +155,7 @@
const tips = row ? '该条' : '选中的项'
await ElMessageBox.confirm(`确认删除${tips}吗?`, '提示', {
type: 'warning',
- customClass: 'command-page-view-message-box',
+ customClass: 'gd-confirm-custom',
confirmButtonClass: 'command-message-box-confirm',
cancelButtonClass: 'command-message-box-cancel',
})
diff --git a/applications/task-work-order/src/views/orderView/organizational/userMange/index.vue b/applications/task-work-order/src/views/orderView/organizational/userMange/index.vue
index e98fbd8..6ab2f4b 100644
--- a/applications/task-work-order/src/views/orderView/organizational/userMange/index.vue
+++ b/applications/task-work-order/src/views/orderView/organizational/userMange/index.vue
@@ -175,7 +175,7 @@
const tips = row ? '该条' : '选中的项'
await ElMessageBox.confirm(`确认删除${tips}吗?`, '提示', {
type: 'warning',
- customClass: 'command-page-view-message-box',
+ customClass: 'gd-confirm-custom',
confirmButtonClass: 'command-message-box-confirm',
cancelButtonClass: 'command-message-box-cancel',
})
diff --git a/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue b/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
index 457c74f..0c6495d 100644
--- a/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
+++ b/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
@@ -40,8 +40,8 @@
<div class="gd-table-container" v-loading="loading">
<div class="gd-table-toolbar">
<el-button :icon="Plus" color="#4C34FF" type="primary" @click="openForm('add')">新增区划</el-button>
- <el-button :icon="Upload" @click="handleImport">区划导入</el-button>
- <el-button :icon="Download" :loading="exportLoading" :disabled="exportLoading" @click="handleExport">区划导出</el-button>
+ <el-button :icon="Upload" color="#ECECF4" @click="handleImport">区划导入</el-button>
+ <el-button :icon="Download" color="#ECECF4" :loading="exportLoading" :disabled="exportLoading" @click="handleExport">区划导出</el-button>
</div>
<div class="gd-table-content gd-table-content-bg">
diff --git a/uniapps/work-app/src/hooks/useGlobalWS.js b/uniapps/work-app/src/hooks/useGlobalWS.js
index 892c22e..bdc3c91 100644
--- a/uniapps/work-app/src/hooks/useGlobalWS.js
+++ b/uniapps/work-app/src/hooks/useGlobalWS.js
@@ -35,6 +35,7 @@
// 消息处理
function messageHandler(payload) {
+
// 先尝试直接处理消息(适用于mobile-web-view的voiceCallDetail页面的消息格式)
const t = (payload.type || '').toString()
callStatus.value = t
@@ -42,7 +43,7 @@
if (t === 'call') {
console.log('📞 全局收到来电 call,来自', payload.from)
// 触发震动
- triggerVibration();
+ // triggerVibration();
// 构建来电参数
const callParams = {
peerUid: payload.from,
@@ -57,13 +58,12 @@
// #endif
// 转义参数以便在URL中传递
const encodedParams = encodeURIComponent(JSON.stringify(callParams));
-
try {
// 优先使用uni-app的导航API(适用于同应用内跳转)
if (typeof uni !== 'undefined' && uni.navigateTo) {
- uni.navigateTo({
- url: `/subPackages/voiceCallDetail/index?voiceparams=${encodedParams}`,
- });
+ uni.navigateTo({
+ url: `/subPackages/voiceCallDetail/index?voiceparams=${encodedParams}`,
+ });
} else {
console.error('无法跳转到语音通话页面:当前环境不支持导航');
}
@@ -71,12 +71,6 @@
console.error('跳转到语音通话页面失败:', error);
}
return
- }
- // 通话接听或结束时,取消来电通知
- if (t === 'accept' || t === 'reject' || t === 'hangup' || t === 'cancel') {
- // #ifdef APP-PLUS
- cancelIncomingCallNotification()
- // #endif
}
}
diff --git a/uniapps/work-app/src/subPackages/voiceCallDetail/index.vue b/uniapps/work-app/src/subPackages/voiceCallDetail/index.vue
index a1a3606..83a7dbd 100644
--- a/uniapps/work-app/src/subPackages/voiceCallDetail/index.vue
+++ b/uniapps/work-app/src/subPackages/voiceCallDetail/index.vue
@@ -11,6 +11,8 @@
import { useUserStore } from "@/store/index.js"
import { getWebViewUrl } from "@/utils/index.js";
import { onLoad } from "@dcloudio/uni-app";
+import {cancelIncomingCallNotification } from '@/uni_modules/lgh-dialog'
+
const userStore = useUserStore()
const userParams = userStore?.userInfo ? JSON.stringify(userStore.userInfo) : '{}'
const sWebViewRef = ref(null);
@@ -84,6 +86,13 @@
}
}
+// 监听离开
+onUnload(() => {
+ // #ifdef APP-PLUS
+ cancelIncomingCallNotification()
+ // #endif
+})
+
</script>
<style lang="scss" scoped>
--
Gitblit v1.9.3