上饶市警务平台后台管理前端
zhongrj
2024-04-19 cc67e8fbd36176640f7eea10b6d62ae2030130ae
日子查询修改,社区,人员,安保活动修改
5 files modified
18061 ■■■■■ changed files
package-lock.json 18033 ●●●●● patch | view | raw | blame | history
src/api/logs.js 9 ●●●●● patch | view | raw | blame | history
src/views/community/community.vue 2 ●●●●● patch | view | raw | blame | history
src/views/security/security.vue 13 ●●●●● patch | view | raw | blame | history
src/views/villagePersonInfo/villagePersonInfo.vue 4 ●●●● patch | view | raw | blame | history
package-lock.json
Diff too large
src/api/logs.js
@@ -1,32 +1,35 @@
import request from '@/router/axios';
export const getUsualList = (current, size) => {
export const getUsualList = (current, size,params) => {
  return request({
    url: '/api/blade-log/usual/list',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}
export const getApiList = (current, size) => {
export const getApiList = (current, size,params) => {
  return request({
    url: '/api/blade-log/api/list',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}
export const getErrorList = (current, size) => {
export const getErrorList = (current, size,params) => {
  return request({
    url: '/api/blade-log/error/list',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
src/views/community/community.vue
@@ -210,11 +210,9 @@
            {
              label: "创建时间",
              prop: "createTime",
              type: "input",
              addDisplay: false,
              editDisplay: false,
              viewDisplay: false,
              hide: true,
            },
            {
              label: "修改人",
src/views/security/security.vue
@@ -136,6 +136,11 @@
                            this.placeBox = !this.placeBox
                        },
                        overHidden: true,
                        rules: [{
                            required: true,
                            message: "请选择活动地点",
                            trigger: "blur"
                        }],
                    },
                    {
                        label: "经度",
@@ -363,14 +368,6 @@
        },
        rowUpdate (row, index, done, loading) {
            console.log('row', row)
            if (!row.activityArea) {
                this.$message.warning("请绘制活动区域")
                loading()
                return
            }
            if (!row.activityArea.startsWith("'LINESTRING")) {
                row.activityArea = "'LINESTRING(" + row.activityArea + ")'"
            }
            row.position = row.longitude + " " + row.latitude
            update(row).then(() => {
                this.onLoad(this.page)
src/views/villagePersonInfo/villagePersonInfo.vue
@@ -195,6 +195,10 @@
              prop: "buildId",
              type: "input",
            },
            {
              label: "创建时间",
              prop: "createTime",
            },
          ]
        },
        data: []