吉安感知网项目-前端
张含笑
2026-01-23 6919666f20069013c04a734d891058d209c5af7d
feat:工单更新
2 files modified
16 ■■■■ changed files
uniapps/work-app/src/api/work/index1.js 2 ●●● patch | view | raw | blame | history
uniapps/work-app/src/subPackages/workDetail/index.vue 14 ●●●● patch | view | raw | blame | history
uniapps/work-app/src/api/work/index1.js
@@ -51,7 +51,7 @@
// 退回工单
export const backGdApi = (data) => {
  return request({
    url: '/drone-gd/workOrder/gdClueEvent/reject',
    url: '/drone-gd/workOrder/gdClueEvent/handle',
    method: 'post',
    data,
  })
uniapps/work-app/src/subPackages/workDetail/index.vue
@@ -153,7 +153,7 @@
// 退回
const rejectTicket = () => {
  const id = workDetailData.value.id
  backGdApi({eventId : id,eventStutas:'0'}).then(res => {
  backGdApi({eventId : id,eventStatus:'0'}).then(res => {
    uni.showToast({
      title: '退回成功',
      icon: 'success',
@@ -164,7 +164,7 @@
// 确认工单
const confirmTheTicket = () => {
  const id = workDetailData.value.id
  backGdApi({eventId : id,eventStutas:'1'}).then(res => {
  backGdApi({eventId : id,eventStatus:'1'}).then(res => {
    uni.showToast({
      title: '确认成功',
      icon: 'success',
@@ -293,13 +293,13 @@
<style lang="scss" scoped>
.workDetailContainer {
  // 添加导航栏高度的padding-top,避免内容被遮挡
  padding-top: 44px;
  padding-top: 88rpx;
  // 分享按钮样式
  .share-btn {
    color: #1D6FE9;
    font-size: 14px;
    padding: 0 10px;
    line-height: 44px;
    img {
      width: 40rpx;
      height: 40rpx;
    }
  }
  .detailTop {
    .image-container {