From 3612a8af9c13eba7427145d7ea15a856585b6f8a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 19 Dec 2023 20:34:23 +0800
Subject: [PATCH] 文件调整

---
 /dev/null |  192 ------------------------------------------------
 1 files changed, 0 insertions(+), 192 deletions(-)

diff --git a/src/views/grid/owners.vue b/src/views/grid/owners.vue
deleted file mode 100644
index e3613e6..0000000
--- a/src/views/grid/owners.vue
+++ /dev/null
@@ -1,192 +0,0 @@
-<!-- 走访日志 -->
-<template>
-    <basic-container>
-        <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" v-model="form"
-            :permission="permissionList" @search-change="searchChange" @search-reset="searchReset"
-            @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
-            @refresh-change="refreshChange" @on-load="onLoad">
-        </avue-crud>
-    </basic-container>
-</template>
-
-<script>
-import { getList } from "@/api/owners_committee"
-import { mapGetters } from "vuex"
-import website from '@/config/website'
-
-export default {
-    data () {
-        return {
-            form: {},
-            query: {},
-            loading: true,
-            page: {
-                pageSize: 10,
-                currentPage: 1,
-                total: 0,
-            },
-            datetime: "",
-            selectionList: [],
-            option: {
-                menu: false,
-                addBtn: false,
-                border: true,
-                index: false,
-                selection: false,
-                height: "auto",
-                calcHeight: 54,
-                dialogWidth: 950,
-                tip: false,
-                searchShow: true,
-                searchMenuSpan: 3,
-                //stripe:true,
-                viewBtn: true,
-                excelBtn: true,
-                dialogClickModal: false,
-                column: [
-                    {
-                        label: "业委会名称",
-                        labelWidth: 116,
-                        prop: "name",
-                        search: true
-                    },
-                    {
-                        label: "小区名称",
-                        prop: "areaName",
-                        search: true
-                    },
-                    {
-                        label: "开始时间",
-                        prop: "startTime",
-                        type: "date",
-                        format: "yyyy-MM-dd HH:mm:ss",
-                        valueFormat: "yyyy-MM-dd HH:mm:ss",
-                        rules: [
-                            {
-                                required: true,
-                                message: "请输入走访时间",
-                                trigger: "blur",
-                            },
-                        ],
-                    },
-                    {
-                        label: "总人数",
-                        prop: "peopleTotal",
-                    },
-                    {
-                        label: "手机号",
-                        prop: "mobile",
-                    },
-                    {
-                        label: "地址",
-                        prop: "location",
-                    },
-                    {
-                        label: "经度",
-                        prop: "longitude",
-                    },
-                    {
-                        label: "纬度",
-                        prop: "latitude",
-                    },
-                    {
-                        label: "图片",
-                        prop: "imageUrl",
-                        type: "upload",
-                        labelWidth: 120,
-                        width: 80,
-                        listType: "picture-img",
-                        action: "/api/blade-resource/oss/endpoint/put-file",
-                        propsHttp: {
-                            res: "data",
-                            name: 'name',
-                            url: "link",
-                        },
-                        span: 24,
-                    },
-
-                ],
-            },
-            data: [],
-        }
-    },
-    watch: {
-    },
-    computed: {
-        ...mapGetters(["permission", "userInfo"]),
-        permissionList () {
-            return {
-                addBtn: this.vaildData(this.permission.gridWorkLog_add, true),
-                viewBtn: this.vaildData(this.permission.gridWorkLog_view, true),
-                delBtn: this.vaildData(this.permission.gridWorkLog_delete, true),
-                editBtn: this.vaildData(this.permission.gridWorkLog_edit, true),
-            }
-        },
-        ids () {
-            let ids = []
-            this.selectionList.forEach((ele) => {
-                ids.push(ele.id)
-            })
-            return ids.join(",")
-        },
-    },
-    methods: {
-        searchReset () {
-            this.query = {}
-            this.onLoad(this.page)
-        },
-        searchChange (params, done) {
-            this.query = params
-            this.page.currentPage = 1
-            this.onLoad(this.page, params)
-            done()
-        },
-        selectionChange (list) {
-            this.selectionList = list
-        },
-        selectionClear () {
-            this.selectionList = []
-            this.$refs.crud.toggleSelection()
-        },
-
-        currentChange (currentPage) {
-            this.page.currentPage = currentPage
-        },
-        sizeChange (pageSize) {
-            this.page.pageSize = pageSize
-        },
-        refreshChange () {
-            this.onLoad(this.page, this.query)
-        },
-        onLoad (page, params = {}) {
-            this.loading = true
-
-            getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
-                const data = res.data.data
-                this.page.total = data.total
-                this.data = data.records.map(item => {
-                    if (item.imageUrl && item.imageUrl.length > 0) {
-                        var urls = []
-                        var names = item.imageUrl.split(",")
-                        names.forEach(name => {
-                            urls.push(website.minioUrl + name)
-                        })
-                        item.imageUrl = urls.join(",")
-                    }
-
-                    return item
-                })
-
-                this.loading = false
-                this.selectionClear()
-            })
-        }
-    },
-}
-</script>
-
-<style>
-.avue-upload__icon {
-    line-height: 6;
-}
-</style>

--
Gitblit v1.9.3