riku
2023-11-10 2a53d3e6774678eeebf2b0f028c6aec2c70a4774
2023.11.10
已修改6个文件
已添加1个文件
269 ■■■■■ 文件已修改
src/api/index.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/core/SiderMenu.vue 188 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/composables/formConfirm.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/fytz/enforce-case/EnforceCase.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/notice/NoticeManage.vue 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vite.config.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -2,10 +2,10 @@
import { ElMessage } from 'element-plus';
const ip1 = 'http://47.100.191.150:9005/';
// const ip1 = 'http://192.168.1.12:8080/';
// const ip1 = 'http://192.168.1.9:8080/';
// const ip2 = 'http://47.100.191.150:9006/';
// const ip2 = 'http://192.168.1.6:8080/';
const ip2 = 'https://fyami.com.cn/';
const ip2 = 'http://192.168.1.8:8080/';
// const ip2 = 'https://fyami.com.cn/';
//飞羽监管
const $fysp = axios.create({
src/components/core/SiderMenu.vue
@@ -55,70 +55,70 @@
              icon: 'Search',
              name: '问题审核',
            },
            {
              path: '/changecheck',
              icon: 'Search',
              name: '整改审核',
            },
            // {
            //   path: '/changecheck',
            //   icon: 'Search',
            //   name: '整改审核',
            // },
          ],
        },
        {
          path: '/ledger',
          icon: 'Search',
          name: '台账审核',
        },
        {
          icon: 'Search',
          name: '业务分析',
          children: [
            {
              path: '/analysis/profollow',
              icon: 'Search',
              name: '问题动态跟踪',
            },
            {
              path: '/analysis/proanalysis',
              icon: 'Search',
              name: '问题整改分析',
            },
            {
              path: '/analysis/standardjudge',
              icon: 'Search',
              name: '规范性评估',
            },
          ],
        },
        {
          path: '/dailyreport',
          icon: 'Search',
          name: '日报管理',
        },
        {
          icon: 'Search',
          name: '场景报告',
          children: [
            {
              path: '/scenereport/construction',
              icon: 'Search',
              name: '工地',
            },
            {
              path: '/scenereport/wharf',
              icon: 'Search',
              name: '码头',
            },
            {
              path: '/scenereport/mixing',
              icon: 'Search',
              name: '搅拌站',
            },
            {
              path: '/scenereport/storage',
              icon: 'Search',
              name: '堆场',
            },
          ],
        },
        // {
        //   path: '/ledger',
        //   icon: 'Search',
        //   name: '台账审核',
        // },
        // {
        //   icon: 'Search',
        //   name: '业务分析',
        //   children: [
        //     {
        //       path: '/analysis/profollow',
        //       icon: 'Search',
        //       name: '问题动态跟踪',
        //     },
        //     {
        //       path: '/analysis/proanalysis',
        //       icon: 'Search',
        //       name: '问题整改分析',
        //     },
        //     {
        //       path: '/analysis/standardjudge',
        //       icon: 'Search',
        //       name: '规范性评估',
        //     },
        //   ],
        // },
        // {
        //   path: '/dailyreport',
        //   icon: 'Search',
        //   name: '日报管理',
        // },
        // {
        //   icon: 'Search',
        //   name: '场景报告',
        //   children: [
        //     {
        //       path: '/scenereport/construction',
        //       icon: 'Search',
        //       name: '工地',
        //     },
        //     {
        //       path: '/scenereport/wharf',
        //       icon: 'Search',
        //       name: '码头',
        //     },
        //     {
        //       path: '/scenereport/mixing',
        //       icon: 'Search',
        //       name: '搅拌站',
        //     },
        //     {
        //       path: '/scenereport/storage',
        //       icon: 'Search',
        //       name: '堆场',
        //     },
        //   ],
        // },
        {
          path: '/notice',
          icon: 'Search',
@@ -132,10 +132,10 @@
              group: true,
              name: '飞羽监管',
              children: [
                {
                  path: '/fysp/userInfo',
                  name: '账户信息',
                },
                // {
                //   path: '/fysp/userInfo',
                //   name: '账户信息',
                // },
                {
                  path: '/fysp/sceneInfo',
                  name: '场景信息',
@@ -155,14 +155,60 @@
          ],
        },
        {
          path: '/scenereport/storage',
          icon: 'Search',
          name: '排污抽运',
          name: '业务分析',
          children: [
            {
              group: true,
              name: '飞羽监管',
              children: [
                {
                  path: '/fysp/userInfo',
                  name: '账户信息',
                },
                {
                  path: '/fysp/sceneInfo',
                  name: '场景信息',
                },
              ],
            },
            {
              group: true,
              name: '飞羽环境',
              children: [
                // {
                //   path: '/fytz/userInfo',
                //   name: '账户信息',
                // },
              ],
            },
          ],
        },
        // {
        //   path: '/scenereport/storage',
        //   icon: 'Search',
        //   name: '排污抽运',
        // },
        // {
        //   path: '/common/userMatch',
        //   icon: 'Connection',
        //   name: '账户匹配',
        // },
        {
          path: '/common/userMatch',
          icon: 'Connection',
          name: '账户匹配',
          icon: 'Search',
          name: '资源管理',
          children: [
            {
              path: '/fytz/enforceCase',
              icon: 'Search',
              name: '督察案例',
            },
            // {
            //   path: '/changecheck',
            //   icon: 'Search',
            //   name: '整改审核',
            // },
          ],
        },
      ],
    };
src/composables/formConfirm.js
@@ -52,7 +52,7 @@
    formObj,
    (nv, ov) => {
      if (!isReset && nv != ov) {
        formObjClone = useCloned(formObj, { manual: true });
        formObjClone = useCloned(nv, { manual: true });
      }
      if (!isReset && nv === ov) {
        edit.value = true;
src/router/index.js
@@ -123,6 +123,12 @@
    component: () => import('@/views/fytz/user/UserEdit.vue'),
    meta: { transition: 'slide-left' },
  },
  {
    //环保督察案例
    name: 'enforceCase',
    path: '/fytz/enforceCase',
    component: () => import('@/views/fytz/enforce-case/EnforceCase.vue'),
  },
  /**********************************通用模块***********************************************/
  {
src/views/fytz/enforce-case/EnforceCase.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
<template>
  <div>LedgerManage</div>
</template>
<script>
export default {
  name: 'LedgerManage',
};
</script>
src/views/notice/NoticeManage.vue
@@ -118,18 +118,18 @@
    />
    <el-table-column width="160" prop="ecCreator" label="创建人" />
    <!-- <el-table-column prop="ecPicurl" label="图片" /> -->
    <!-- <el-table-column prop="ecReceiverid" label="签收人" /> -->
    <el-table-column prop="ecReceiverid" label="签收人" />
  </el-table>
  <!-- <el-affix :offset="0" position="bottom"> -->
    <el-pagination
      class="el-pagination"
      v-model:current-page="currentPage"
      v-model:page-size="pageSize"
      :page-sizes="[10, 20, 50, 100]"
      :background="true"
      layout="total, sizes, prev, pager, next, jumper"
      :total="total"
    />
  <el-pagination
    class="el-pagination"
    v-model:current-page="currentPage"
    v-model:page-size="pageSize"
    :page-sizes="[10, 20, 50, 100]"
    :background="true"
    layout="total, sizes, prev, pager, next, jumper"
    :total="total"
  />
  <!-- </el-affix> -->
  <CompNoticeAddDrawer
    v-model:drawer="drawer"
@@ -173,12 +173,12 @@
    // }
    currentPage(nValue, oValue) {
      if (nValue != oValue) {
        this.onNoticeType()
        this.onNoticeType();
      }
    },
    pageSize(nValue, oValue) {
      if (nValue != oValue) {
        this.onNoticeType()
        this.onNoticeType();
      }
    },
  },
@@ -204,13 +204,13 @@
          type: noticeType,
          subtype: noticeSubType,
          page: this.currentPage,
          perPage: this.pageSize
          perPage: this.pageSize,
        })
        .then((res) => {
          if (res.success) {
            this.tableData = res.data;
            this.currentPage = res.head.page
            this.total = res.head.totalCount
            this.currentPage = res.head.page;
            this.total = res.head.totalCount;
          }
        })
        .finally(() => {
@@ -219,15 +219,21 @@
      // noticeApi.getNotification().then()
    },
    districtFormatter(row) {
      let district = '未设置';
      this.districts.forEach((d) => {
        if (d.value == row.ecExtension1) {
          district = d.label;
          return;
        }
      });
      if (row.ecExtension1 == null) {
      let district = '';
      if (row.ecExtension1 == null || row.ecExtension1 == '0;') {
        district = '全部';
      } else if (row.ecExtension1 == '-1') {
        district = '未设置';
      } else {
        row.ecExtension1.split(';').forEach((t) => {
          this.districts.forEach((d) => {
            if (t == d.value) {
              district += d.label + '、';
              return;
            }
          });
        });
        district = district.slice(0, district.length - 1)
      }
      return district;
    },
@@ -246,6 +252,7 @@
            }
          });
        });
        scene = scene.slice(0, scene.length - 1)
      }
      return scene;
    },
vite.config.js
@@ -23,7 +23,7 @@
      include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
      resolvers: [
        ElementPlusResolver({
          importStyle: 'sass'
          importStyle: 'sass',
        }),
      ],
      dts: 'src/components.d.ts',
@@ -71,4 +71,7 @@
      },
    },
  },
  server: {
    host: '0.0.0.0',
  },
});