吉安感知网项目-前端
shuishen
2026-02-04 696e449051bbe37e0320c329e4b7f30ff7af0e8b
Merge branch 'master' of http://139.196.74.78:10010/r/jagzwxm/ja_web
4 files modified
27 ■■■■ changed files
applications/task-work-order/src/api/zkxt/index.js 8 ●●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue 2 ●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/flyingHand/index.vue 16 ●●●● patch | view | raw | blame | history
uniapps/work-wx/src/pages/login/index.vue 1 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/api/zkxt/index.js
@@ -28,6 +28,14 @@
    })
}
// 获取飞手详情
export const deviceFlyerDetailApi = (id) => {
    return request({
        url: `/webservice/webservice/deviceFlyer/queryById/${id}`,
        method: 'get',
    })
}
// 获取航线列表
export const airlineListApi = (data) => {
    return request({
applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue
@@ -269,7 +269,7 @@
        { required: true, message: '请输入', trigger: 'blur' }
    ],
    flyerPhone: [
        { required: false, message: '请输入', trigger: 'blur' },
        { required: true, message: '请输入', trigger: 'blur' },
        { pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号', trigger: 'blur' }
    ],
    flightHours: [
applications/task-work-order/src/views/orderView/flyingHand/index.vue
@@ -113,7 +113,7 @@
import { getDictionaryByCode } from '@/api/system/dictbiz'
import { getDictLabel } from '@ztzf/utils'
import { getFlyingHandPage, removeFlyingHand } from './flyingHandApi'
import { deviceFlyerApi } from '@/api/zkxt'
import { deviceFlyerApi,deviceFlyerDetailApi } from '@/api/zkxt'
import FlyingHandDialog from './FlyingHandDialog.vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { prod } from 'mathjs'
@@ -178,8 +178,18 @@
// 查看飞手
function viewFlyingHand(row) {
    dialogType.value = 'view'
    flyingHandData.value = { ...row }
    dialogVisible.value = true
    if (row.flyerId) {
        deviceFlyerDetailApi(row.flyerId).then(res => {
            flyingHandData.value = { ...row }
            flyingHandData.value.licenseFrontFileUrl = res.data.data.licenseFrontFileUrl
            flyingHandData.value.licenseBackFileUrl = res.data.data.licenseBackFileUrl
            flyingHandData.value.certification = [res.data.data.licenseFrontFileUrl, res.data.data.licenseBackFileUrl]
            dialogVisible.value = true
        })
    } else {
        flyingHandData.value = { ...row }
        dialogVisible.value = true
    }
}
// 编辑飞手
uniapps/work-wx/src/pages/login/index.vue
@@ -159,7 +159,6 @@
// 从本地存储加载记住的密码
onMounted(() => {
  const savedUserInfo = uni.getStorageSync("rememberedUser");
  console.log("记住密码", savedUserInfo);
  if (savedUserInfo) {
    loginForm.value.username = savedUserInfo.username;
    loginForm.value.password = savedUserInfo.password;