Compare commits

...

20 Commits

Author SHA1 Message Date
82ba645a60 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 2m39s
2025-08-26 13:10:28 +08:00
c8dc5619ce 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-26 13:06:34 +08:00
1da056779d 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 56s
2025-08-26 12:52:10 +08:00
f431bfb325 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 55s
2025-08-26 12:48:28 +08:00
80d2781c5a 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 57s
2025-08-26 12:38:18 +08:00
d0f666b72a 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-26 12:34:01 +08:00
96c2093004 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 3s
2025-08-26 12:28:26 +08:00
a306981a08 发布生产
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-26 12:27:25 +08:00
393855028a 发布生产
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Has been cancelled
2025-08-26 12:24:30 +08:00
0173799313 更新 .gitea/workflows/master.yml
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 2s
2025-08-26 12:23:13 +08:00
61a41a636c 发布生产
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 2s
2025-08-26 12:18:43 +08:00
412667f966 发布生产
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 3s
2025-08-26 12:08:07 +08:00
f6bd77456c 发布生产
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 1m2s
2025-08-26 12:06:47 +08:00
264053bd7e 新增大图预览
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 1m0s
2025-08-25 13:47:11 +08:00
9f37ef8252 更新 .gitea/workflows/master.yml
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 26s
2025-08-24 19:29:20 +08:00
ca2cbf6467 更新 .gitea/workflows/master.yml
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 2s
2025-08-24 19:25:50 +08:00
6a22bd4cca 更新 .gitea/workflows/master.yml
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Failing after 1m30s
2025-08-24 19:22:21 +08:00
f4456dc86d cicd
Some checks are pending
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Waiting to run
2025-08-24 19:21:38 +08:00
09eb3e089b cicd 2025-08-24 19:20:31 +08:00
a02da12c32 修改打包 2025-08-24 18:59:51 +08:00
21 changed files with 118 additions and 24 deletions

79
.gitea/workflows/dev.yml Normal file
View File

@@ -0,0 +1,79 @@
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches:
- prod
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu64
steps:
- name: 拉取代码
uses: http://git.missmoc.top/mocheng/checkout@v4
with:
fetch-depth: 0
# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 16
# cache: 'npm'
- name: Install dependencies
run: |
npm install
# 安装HBuilderX命令行工具
npm install -g hbuilderx-cli
# - name: Build H5 project
# run: |
# # 执行HBuild项目构建
# npm run build
- name: Cloud package (Android)
run: |
# 使用HBuilderX CLI进行云打包
hbuilderx package \
--project . \
--platform android \
--appid ${{ secrets.HBUILDER_APPID }} \
--username ${{ secrets.HBUILDERX_USERNAME }} \
--password ${{ secrets.HBUILDERX_PASSWORD }} \
--output ./dist
env:
HBUILDER_CLOUD_PACKAGE: true
- name: Prepare release assets
run: |
# 重命名APK文件以便于识别版本
mv ./dist/*.apk ./dist/app-release-${{ github.sha }}.apk
# 对于iOS根据实际打包输出调整
if [ -f ./dist/*.ipa ]; then
mv ./dist/*.ipa ./dist/app-release-${{ github.sha }}.ipa
fi
- name: Create Gitea Release
if: startsWith(github.ref, 'refs/tags/')
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body: |
自动构建版本 ${{ github.ref_name }}
提交哈希: ${{ github.sha }}
draft: false
prerelease: false
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
- name: Upload Android Asset
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/app-release-${{ github.sha }}.apk
asset_name: app-android-${{ github.ref_name }}.apk
asset_content_type: application/vnd.android.package-archive
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}

View File

@@ -1,7 +1,7 @@
{
"name" : "数字南川",
"appid" : "__UNI__3570A56",
"description" : "aidex敏捷开发平台",
"appid" : "__UNI__7AF1078",
"description" : "",
"versionName" : "1.8.4",
"versionCode" : "100",
"transformPx" : false,
@@ -26,7 +26,9 @@
"nvueCompiler" : "uni-app",
"compilerVersion" : 3,
"modules" : {
"Payment" : {}
"Payment" : {},
"Camera" : {},
"Barcode" : {}
},
"distribute" : {
"android" : {
@@ -55,7 +57,9 @@
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
},
"ios" : {},
"ios" : {
"dSYMs" : false
},
"sdkConfigs" : {
"ad" : {},
"payment" : {
@@ -103,7 +107,7 @@
}
},
"splashscreen" : {
"androidStyle" : "default",
"androidStyle" : "common",
"android" : {
"hdpi" : "E:/vueworkspace/aidex-m2m/src/assets/logo.png",
"xhdpi" : "E:/vueworkspace/aidex-m2m/src/assets/logo.png",

View File

@@ -40,7 +40,7 @@
<view class="warn-info">预警位置{{ item.deviceGroupName }}</view>
<view class="warn-info">预警时间{{ item.reportTime }}</view>
<view class="warn-info">预警设备{{ item.deviceName }}</view>
<view v-if="[20, 30, 31, 32].includes(item.state)" class="warn-eval-wrap" @click.stop="goDetail(item)">
<view v-if="[20, 30, 31, 32].includes(item.state)" class="warn-eval-wrap">
<view class="warn-eval-btn">去处理</view>
</view>
</view>
@@ -141,17 +141,17 @@
this.tabLoaded[idx] = true;
this.loading = false;
},
goDetail(item) {
const itemStr = encodeURIComponent(JSON.stringify(item));
uni.navigateTo({
url: "/pages/sys/workbench/earlyWarning/warnDetail?item=" + itemStr,
});
},
goDetail2(item) {
const itemStr = encodeURIComponent(JSON.stringify(item));
uni.navigateTo({
url: "/pages/sys/workbench/earlyWarning/warnDetail?item=" + itemStr + "&pageType=detail",
});
goDetail2(item) {
const itemStr = encodeURIComponent(JSON.stringify(item));
if([20, 30, 31, 32].includes(item.state)){
uni.navigateTo({
url: "/pages/sys/workbench/earlyWarning/warnDetail?item=" + itemStr,
});
}else{
uni.navigateTo({
url: "/pages/sys/workbench/earlyWarning/warnDetail?item=" + itemStr + "&pageType=detail",
});
}
},
goStatistics() {
uni.navigateTo({

View File

@@ -29,10 +29,17 @@
<view class="detail-value remark"><text>备注</text>{{ detail.remark }}</view>
<view class="detail-value"><text class="detail-key">工单图片</text></view>
<view class="image-list" v-if="orderImgUrls.length > 0">
<u-image v-for="(imgUrl, index) in orderImgUrls" :key="index" :src="imgUrl"
width="200rpx" height="200rpx" border-radius="10rpx"
<u-image
v-for="(imgUrl, index) in orderImgUrls"
:key="index"
:src="imgUrl"
width="200rpx"
height="200rpx"
border-radius="10rpx"
@click="previewImage(orderImgUrls, index)"
style="margin-right: 20rpx; margin-bottom: 20rpx;"></u-image>
style="margin-right: 20rpx; margin-bottom: 20rpx;"
mode="aspectFill"
></u-image>
</view>
</view>
@@ -123,10 +130,14 @@
},
previewImage(urls, index) {
// 使用uView的图片预览组件
this.$u.previewImage({
urls: urls.filter(url => url.trim() !== ''),
current: index
});
// 过滤掉空值
const validUrls = urls.filter(url => url && url.trim() !== '')
uni.previewImage({
urls: validUrls,
current: validUrls[index], // current 必须是 url而不是索引
indicator: 'number', // 显示数字指示器
backgroundColor: '#000'
})
},
async onConfirm(selected) {
let params = this.detail

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 705 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB