schangxiang@126.com
7 天以前 a6aaad96f92dbf9c6ae2c81072509981cc97e6d7
消警处理
已修改5个文件
11 ■■■■ 文件已修改
yiqi_pda/api/api.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/api/home/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/config/modules/ajax.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/pages/home/modules/warnItem.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/api/api.js
@@ -1,7 +1,7 @@
// 同时发送异步请求的次数,防止一次点击有多次请求
let ajaxTime = 0;
export const baseUrl = 'http://localhost:7788'
//export const baseUrl = 'http://10.135.75.70:7788' //生产用
//export const baseUrl = 'http://10.135.75.70:7788' //生产用(正式PDA用)
//export const baseUrl = 'http://192.168.216.203:7788' //测试用
// 公共的request方法
yiqi_pda/api/home/index.js
@@ -12,7 +12,7 @@
//关闭设备报警信息
export function closeEquipmentAlert(data) {
    return request({
        url: '/api/UpdateAlertStatus',
        url: '/api/pdaservice/UpdateAlertStatus',
        method: 'post',
        data
    })
yiqi_pda/config/modules/ajax.js
@@ -1,7 +1,7 @@
export default {
    errMsg:'网络错误!',
    host:{  //接口调用的域名设置
        //'default':'http://10.135.75.70:7788',//生产用
        //'default':'http://10.135.75.70:7788',//生产用(正式PDA用)
        //'default':'http://192.168.216.203:7788', //生产环境地址
        'default':'http://localhost:7788',
        'mock':'http://localhost:3012'
yiqi_pda/manifest.json
@@ -2,7 +2,7 @@
    "name" : "连杆线数采",
    "appid" : "__UNI__F24DEB0",
    "description" : "一汽连杆",
    "versionName" : "2.0.22",
    "versionName" : "2.0.23",
    "versionCode" : 6,
    "transformPx" : false,
    /* 5+App特有相关 */
yiqi_pda/pages/home/modules/warnItem.vue
@@ -34,7 +34,7 @@
            </view>
            <view class="right_button">
                <!-- <u-button type="warning" class="right_button_item" @click="closeWarning" :disabled="!item[warnArr[alertType - 0].prop]">关闭</u-button> -->
                <!-- <u-button type="warning" class="right_button_item" @click="closeWarning">关闭</u-button> -->
                <u-button type="warning" class="right_button_item" @click="closeWarning">关闭</u-button>
            </view>
        </view>
    </view>
@@ -84,6 +84,7 @@
            //关闭报警
            closeWarning() {
                const param = {
                    v_get_equipment_alert_id:this.item.id,//增加id传值 【Editby shaocx,2025-12-03】
                    equipmentId: this.item.equipmentId,
                    alertType: this.alertType
                }