zrj
2024-06-07 37bdbfe57736dda2b2ee368f90ac7e27f26bacda
src/views/cGovernance/gridPatrolRecord.vue
@@ -28,7 +28,7 @@
</template>
<script>
import { getList, remove, update, add, getGridPatrolRecord } from "@/api/grid/gridPatrolRecord"
import { getList, remove, update, add, getGridPatrolRecord } from "@/ssoapi/grid/gridPatrolRecord"
import { mapGetters } from "vuex"
import website from '@/config/website'
@@ -46,14 +46,17 @@
            datetime: "",
            selectionList: [],
            option: {
                labelWidth: 96,
                searchLabelWidth: 96,
                searchShow: true,
                searchMenuSpan: 3,
                menuWidth: 210,
                height: "auto",
                calcHeight: 54,
                dialogWidth: 950,
                tip: false,
                searchShow: true,
                searchMenuSpan: 3,
                menuWidth: 350,
                border: false,
                border: true,
                //stripe:true,
                index: true,
                viewBtn: true,
@@ -68,6 +71,7 @@
                        row: true,
                        searchSpan: 4,
                        search: true,
                        searchLabelWidth: 76,
                        rules: [
                            {
                                required: true,
@@ -102,6 +106,7 @@
                    },
                    {
                        width: 96,
                        slot: true,
                        addDisplay: false,
                        editDisplay: false,
@@ -111,6 +116,7 @@
                    },
                    {
                        width: 96,
                        slot: true,
                        addDisplay: false,
                        editDisplay: false,
@@ -125,7 +131,7 @@
                        prop: "url",
                        type: "upload",
                        listType: "picture-img",
                        action: "/api/blade-resource/oss/endpoint/put-file",
                        action: "/ssoapi/blade-resource/oss/endpoint/put-file",
                        propsHttp: {
                            res: "data",
                            name: 'name',
@@ -134,9 +140,9 @@
                        span: 24,
                    },
                    {
                        width: 144,
                        label: "巡查时间",
                        prop: "patrolTime",
                        width: 160,
                        type: "date",
                        format: "yyyy-MM-dd HH:mm:ss",
                        valueFormat: "yyyy-MM-dd HH:mm:ss",
@@ -386,6 +392,10 @@
                })
                this.loading = false
                this.selectionClear()
            }).catch(err => {
                setTimeout(() => {
                    this.loading = false
                }, 1000)
            })
        }
    },