已添加1个文件
已修改5个文件
55 ■■■■■ 文件已修改
src/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages.json 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/inspectionUpload/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/login.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/static/YGYS.png 补丁 | 查看 | 原始文档 | blame | 历史
src/config.js
@@ -9,7 +9,7 @@
     // 应用版本
     version: "1.1.0",
     // 应用logo
     logo: "/static/app-logo.png",
     logo: "/static/YGCY.png",
     // 官方网站
     site_url: "http://ruoyi.vip",
     // 政策协议
src/manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "信息管理",
    "appid" : "__UNI__099A590",
    "appid" : "__UNI__1F1A548",
    "description" : "",
    "versionName" : "1.0.0",
    "versionCode" : "100",
src/pages.json
@@ -40,19 +40,19 @@
      }
    },
    {
      "path": "pages/index",
      "path": "pages/works",
      "style": {
        "navigationBarTitleText": "首页",
        "navigationStyle": "custom"
      }
    },
    {
      "path": "pages/works",
      "style": {
        "navigationBarTitleText": "工作台",
        "navigationStyle": "custom"
      }
    },
//    {
//      "path": "pages/works",
//      "style": {
//        "navigationBarTitleText": "工作台",
//        "navigationStyle": "custom"
//      }
//    },
    {
      "path": "pages/login",
      "style": {
@@ -1293,17 +1293,17 @@
    "backgroundColor": "#ffffff",
    "list": [
      {
        "pagePath": "pages/index",
        "pagePath": "pages/works",
        "iconPath": "static/images/tabbar/home.png",
        "selectedIconPath": "static/images/tabbar/homeBlue.png",
        "text": "首页"
      },
      {
        "pagePath": "pages/works",
        "iconPath": "static/images/tabbar/work.png",
        "selectedIconPath": "static/images/tabbar/workBlue.png",
        "text": "工作台"
      },
//      {
//        "pagePath": "pages/works",
//        "iconPath": "static/images/tabbar/work.png",
//        "selectedIconPath": "static/images/tabbar/workBlue.png",
//        "text": "工作台"
//      },
      {
        "pagePath": "pages/message",
        "iconPath": "static/images/tabbar/new.png",
src/pages/inspectionUpload/index.vue
@@ -16,7 +16,7 @@
              <text class="task-location">{{ item.inspectionLocation }}</text>
            </view>
            <view class="task-actions">
              <u-button type="primary"
              <!-- <u-button type="primary"
                        size="small"
                        @click.stop="startScanForTask(item)"
                        :customStyle="{
@@ -26,6 +26,17 @@
                marginRight: '8px'
              }">
                扫码上传
              </u-button> -->
              <u-button type="primary"
                        size="small"
                        @click.stop="startUploadForTask(item)"
                        :customStyle="{
                borderRadius: '15px',
                height: '30px',
                fontSize: '12px',
                marginRight: '8px'
              }">
                图片上传
              </u-button>
              <u-button type="success"
                        size="small"
@@ -855,6 +866,12 @@
    }
  };
  // 图片上传(可选择图片上传或者是相机拍照)
  const startUploadForTask = async (task, type) => {
    // 直接打开上传弹窗
    openUploadDialog(task);
  };
  // 查看附件
  const viewAttachments = async task => {
    try {
src/pages/login.vue
@@ -178,7 +178,7 @@
      sendClientIdToServer();
      // 启动定时获取未读消息数量的定时器
      startNoticeCountTimer(userId);
      uni.switchTab({ url: "/pages/index" });
      uni.switchTab({ url: "/pages/works" });
    });
  }
src/static/YGYS.png