parent
522fd3ba5f
commit
138d256ad0
@ -1,8 +1,8 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = 若依管理系统
|
VITE_APP_TITLE = 徐汇园林
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
VITE_APP_ENV = 'development'
|
VITE_APP_ENV = 'development'
|
||||||
|
|
||||||
# 若依管理系统/开发环境
|
# 徐汇园林/开发环境
|
||||||
VITE_APP_BASE_API = '/dev-api'
|
VITE_APP_BASE_API = '/dev-api'
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = 若依管理系统
|
VITE_APP_TITLE = 徐汇园林
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
VITE_APP_ENV = 'production'
|
VITE_APP_ENV = 'production'
|
||||||
|
|
||||||
# 若依管理系统/生产环境
|
# 徐汇园林/生产环境
|
||||||
VITE_APP_BASE_API = '/prod-api'
|
VITE_APP_BASE_API = '/prod-api'
|
||||||
|
|
||||||
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = 若依管理系统
|
VITE_APP_TITLE = 徐汇园林
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
VITE_APP_ENV = 'staging'
|
VITE_APP_ENV = 'staging'
|
||||||
|
|
||||||
# 若依管理系统/生产环境
|
# 徐汇园林/生产环境
|
||||||
VITE_APP_BASE_API = '/stage-api'
|
VITE_APP_BASE_API = '/stage-api'
|
||||||
|
|
||||||
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||||
|
@ -0,0 +1,382 @@
|
|||||||
|
{
|
||||||
|
"type": "FeatureCollection",
|
||||||
|
"name": "22222",
|
||||||
|
"crs": {
|
||||||
|
"type": "name",
|
||||||
|
"properties": {
|
||||||
|
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"features": [
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"adcode": 310104,
|
||||||
|
"name": "徐汇区",
|
||||||
|
"center": [
|
||||||
|
121.43752,
|
||||||
|
31.179973
|
||||||
|
],
|
||||||
|
"centroid": [
|
||||||
|
121.439405,
|
||||||
|
31.162992
|
||||||
|
],
|
||||||
|
"childrenNum": 0,
|
||||||
|
"level": "district",
|
||||||
|
"acroutes": [
|
||||||
|
100000,
|
||||||
|
310000
|
||||||
|
],
|
||||||
|
"id": 1,
|
||||||
|
"_errors": "自相交",
|
||||||
|
"layer": "已修正几何图形",
|
||||||
|
"path": "MultiPolygon?crs=EPSG:4326&field=id:long(10,0)&field=_errors:string(255,0)&uid={86b3cc2c-b3f2-4bbf-ba31-54d52035a13a}"
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "MultiPolygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
[
|
||||||
|
121.437002,
|
||||||
|
31.203328
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.437927,
|
||||||
|
31.203972
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.437775,
|
||||||
|
31.204304
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.437329,
|
||||||
|
31.205655
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436146,
|
||||||
|
31.208366
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435864,
|
||||||
|
31.208831
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435697,
|
||||||
|
31.209689
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435489,
|
||||||
|
31.210302
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435236,
|
||||||
|
31.210786
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435229,
|
||||||
|
31.211145
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436409,
|
||||||
|
31.21117
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.437454,
|
||||||
|
31.21153
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.437835,
|
||||||
|
31.211785
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.438737,
|
||||||
|
31.212628
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.439148,
|
||||||
|
31.213157
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.439463,
|
||||||
|
31.214483
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.439898,
|
||||||
|
31.214556
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.444506,
|
||||||
|
31.215506
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.446559,
|
||||||
|
31.215743
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.447999,
|
||||||
|
31.216023
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.449544,
|
||||||
|
31.216474
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.451526,
|
||||||
|
31.217181
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.452316,
|
||||||
|
31.217496
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.454984,
|
||||||
|
31.219196
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.455922,
|
||||||
|
31.219758
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.457686,
|
||||||
|
31.220193
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.457819,
|
||||||
|
31.220004
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.458326,
|
||||||
|
31.218504
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.458302,
|
||||||
|
31.218387
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.459216,
|
||||||
|
31.216558
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.459424,
|
||||||
|
31.215919
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.460701,
|
||||||
|
31.213484
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.461248,
|
||||||
|
31.211642
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.461549,
|
||||||
|
31.210193
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.461883,
|
||||||
|
31.207558
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.462061,
|
||||||
|
31.206661
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.46201372121179,
|
||||||
|
31.20652605845865
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.462008132954537,
|
||||||
|
31.206524135227259
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.460235342187502,
|
||||||
|
31.205822316122141
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.460698929119317,
|
||||||
|
31.20396367592328
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.460767608664781,
|
||||||
|
31.203646033025549
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.460870627982956,
|
||||||
|
31.203019332173277
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.46093930752842,
|
||||||
|
31.202663057031234
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.460025011079495,
|
||||||
|
31.20245272592328
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.459419772585179,
|
||||||
|
31.202285319531235
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.45881882656245,
|
||||||
|
31.202079280894871
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.457771463494282,
|
||||||
|
31.201783100355097
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.457316461505656,
|
||||||
|
31.201667203622144
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.456865751988602,
|
||||||
|
31.201559891832371
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.456423627414736,
|
||||||
|
31.201405362855098
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.455801219034058,
|
||||||
|
31.201164984446006
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.453654983238579,
|
||||||
|
31.200473896519874
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.45342748224428,
|
||||||
|
31.200422386860787
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.452966041548251,
|
||||||
|
31.200242103053967
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.452472407315298,
|
||||||
|
31.200076842897719
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.449587866406191,
|
||||||
|
31.199025187357936
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.449051307457324,
|
||||||
|
31.198799832599413
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.448579135582321,
|
||||||
|
31.198602378906234
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.447969604616418,
|
||||||
|
31.198336245667598
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.445975751562443,
|
||||||
|
31.197469166406233
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.44434246612208,
|
||||||
|
31.196722276349419
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.443900341548215,
|
||||||
|
31.196460435582374
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.442630843075165,
|
||||||
|
31.195697448757087
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.44161138107232,
|
||||||
|
31.195086844673284
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.441458998330845,
|
||||||
|
31.195295029545441
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.440817273828003,
|
||||||
|
31.195799394957373
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.4402549600496,
|
||||||
|
31.196232934588057
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.43986541825268,
|
||||||
|
31.196624622620728
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.439491973224264,
|
||||||
|
31.197010945063909
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.439043409942997,
|
||||||
|
31.19744663093039
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.438588407954356,
|
||||||
|
31.197955288813912
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.438447829509713,
|
||||||
|
31.198155961860785
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.438228913458573,
|
||||||
|
31.198672131569591
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436957268749765,
|
||||||
|
31.198339465021295
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436772692471337,
|
||||||
|
31.198888901384933
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436742645170199,
|
||||||
|
31.199032699183228
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436562361363386,
|
||||||
|
31.199779589240048
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436347737783834,
|
||||||
|
31.200672423330957
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.436231841050869,
|
||||||
|
31.201097378018456
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.43609233572414,
|
||||||
|
31.201387119850839
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435862688494026,
|
||||||
|
31.201739102521294
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435369054261074,
|
||||||
|
31.202267076526976
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.435324767953475,
|
||||||
|
31.202319990037346
|
||||||
|
],
|
||||||
|
[
|
||||||
|
121.437002,
|
||||||
|
31.203328
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询参数列表
|
||||||
|
export function getyjList(query) {
|
||||||
|
return request({
|
||||||
|
url: '/bYjgd/page',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
After Width: | Height: | Size: 6.0 KiB |
@ -0,0 +1,63 @@
|
|||||||
|
<template>
|
||||||
|
<div class="table-operation">
|
||||||
|
<div class="table-operation-box">
|
||||||
|
<div class="operation-header">
|
||||||
|
<el-button type="primary" v-if="showSub" @click="clickSub()"
|
||||||
|
>提 交</el-button
|
||||||
|
>
|
||||||
|
<el-button @click="handlerBack()">返 回</el-button>
|
||||||
|
</div>
|
||||||
|
<div class="operation-panel">
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
const router = useRouter();
|
||||||
|
const emits = defineEmits(["handlerSub"]);
|
||||||
|
|
||||||
|
const props = defineProps({
|
||||||
|
showSub: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
const handlerBack = () => {
|
||||||
|
router.back();
|
||||||
|
};
|
||||||
|
const clickSub = () => {
|
||||||
|
emits("handlerSub");
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.table-operation {
|
||||||
|
padding: 20px 16px;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #f5f8fd;
|
||||||
|
|
||||||
|
.table-operation-box {
|
||||||
|
height: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: 0px 4px 4px 0px rgba(168, 196, 237, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.operation-header {
|
||||||
|
padding: 0 10px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
gap: 10px;
|
||||||
|
height: 50px;
|
||||||
|
border-bottom: 1px solid #e5eaf3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.operation-panel {
|
||||||
|
height: calc(100% - 50px);
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -0,0 +1,83 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<div class="filtrate-row">
|
||||||
|
<slot name="search"></slot>
|
||||||
|
</div>
|
||||||
|
<div class="table-list">
|
||||||
|
<div class="table-operation">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
v-show="options.add"
|
||||||
|
icon="Plus"
|
||||||
|
@click="clickAdd()"
|
||||||
|
>录入</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
v-show="options.export"
|
||||||
|
icon="Download"
|
||||||
|
@click="clickExport()"
|
||||||
|
>导出</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="table-el">
|
||||||
|
<slot name="table"></slot>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
const props = defineProps({
|
||||||
|
options: {
|
||||||
|
type: Object,
|
||||||
|
default: {
|
||||||
|
add: true, //录入
|
||||||
|
export: true, //导出
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
const emits = defineEmits(["handlerAdd", "handlerExport"]);
|
||||||
|
|
||||||
|
const clickAdd = () => {
|
||||||
|
emits("handlerAdd");
|
||||||
|
};
|
||||||
|
const clickExport = () => {
|
||||||
|
emits("handlerExport");
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.app-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 18px;
|
||||||
|
& > div {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 20px 16px;
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: 0px 4px 4px 0px rgba(168, 196, 237, 0.25);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.filtrate-row {
|
||||||
|
height: 134px;
|
||||||
|
}
|
||||||
|
.table-operation {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
.table-list {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow: hidden;
|
||||||
|
gap: 25px;
|
||||||
|
.table-el {
|
||||||
|
flex: 1;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -0,0 +1,12 @@
|
|||||||
|
<template>
|
||||||
|
<tableOperation @handlerSub="handlerSub"></tableOperation>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
/**
|
||||||
|
* 提交
|
||||||
|
*/
|
||||||
|
const handlerSub = () => {};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped></style>
|
@ -1,19 +1,186 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<tablePage @handlerAdd="handlerAdd()" @handlerExport="handlerExport()">
|
||||||
<el-button type="primary" @click="handlerInfo()">详情</el-button>
|
<template #search >
|
||||||
</div>
|
<el-form
|
||||||
|
:model="queryParams"
|
||||||
|
ref="queryRef"
|
||||||
|
:inline="true"
|
||||||
|
label-width="68px"
|
||||||
|
class="search-form"
|
||||||
|
>
|
||||||
|
<el-form-item label="工单地址" prop="gdms">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.gdms"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工单类型" prop="gdType">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.gdType"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工单等级" prop="gdLevel">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.gdLevel"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工单状态" prop="status">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.status"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="录入时间" prop="userName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.userName"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item>
|
||||||
|
<el-button type="primary" icon="Search" @click="handleQuery"
|
||||||
|
>搜索</el-button
|
||||||
|
>
|
||||||
|
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</template>
|
||||||
|
<template #table>
|
||||||
|
<el-table
|
||||||
|
v-loading="loading"
|
||||||
|
:data="list"
|
||||||
|
height="100%"
|
||||||
|
:header-cell-style="proxy.getTableHeaderStyle"
|
||||||
|
>
|
||||||
|
<el-table-column type="selection" width="50" align="center" />
|
||||||
|
<el-table-column
|
||||||
|
label="用户编号"
|
||||||
|
align="center"
|
||||||
|
key="userId"
|
||||||
|
prop="userId"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="响应标题"
|
||||||
|
align="center"
|
||||||
|
key="userId"
|
||||||
|
prop="userId"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="响应等级"
|
||||||
|
align="center"
|
||||||
|
key="userId"
|
||||||
|
prop="userId"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="响应部门"
|
||||||
|
align="center"
|
||||||
|
key="userId"
|
||||||
|
prop="userId"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="响应时间"
|
||||||
|
align="center"
|
||||||
|
key="userId"
|
||||||
|
prop="userId"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="响应状态"
|
||||||
|
align="center"
|
||||||
|
key="userId"
|
||||||
|
prop="userId"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="操作"
|
||||||
|
align="center"
|
||||||
|
width="150"
|
||||||
|
class-name="small-padding fixed-width"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</template>
|
||||||
|
</tablePage>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
const { proxy } = getCurrentInstance()
|
import { getyjList } from "@/api/emergency-rescue";
|
||||||
const router = useRouter();
|
import { onMounted } from "vue";
|
||||||
|
const { proxy } = getCurrentInstance();
|
||||||
|
// const { gdlx, gdlevel } = proxy.useDict("gdlx", "gdlevel")
|
||||||
|
const loading = ref(false);
|
||||||
|
const list = ref([]);
|
||||||
|
const total = ref(0);
|
||||||
|
const router = useRouter();
|
||||||
|
const data = reactive({
|
||||||
|
form: {},
|
||||||
|
queryParams: {
|
||||||
|
gdms:undefined,
|
||||||
|
gdType:undefined,
|
||||||
|
gdLevel:undefined,
|
||||||
|
status:undefined,
|
||||||
|
current: 1,
|
||||||
|
size: 10,
|
||||||
|
},
|
||||||
|
rules: {},
|
||||||
|
});
|
||||||
|
|
||||||
|
const { queryParams, form, rules } = toRefs(data);
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
getList();
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取列表数据
|
||||||
|
*/
|
||||||
|
const getList = async () => {
|
||||||
|
loading.value = true;
|
||||||
|
const res = await getyjList(queryParams.value);
|
||||||
|
console.log(res)
|
||||||
|
loading.value = false;
|
||||||
|
list.value = res.data.records;
|
||||||
|
total.value = res.data.total;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 搜索
|
||||||
|
*/
|
||||||
|
const handleQuery = () => {
|
||||||
|
queryParams.value.pageNum = 1;
|
||||||
|
};
|
||||||
|
|
||||||
const handlerInfo =()=>{
|
/**
|
||||||
proxy.setActiveMenu()
|
* 重置查询条件
|
||||||
router.push({path:'/emergency-rescue/workInfo-info'})
|
*/
|
||||||
|
const resetQuery = () => {
|
||||||
|
proxy.resetForm("queryRef");
|
||||||
|
handleQuery();
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增
|
||||||
|
*/
|
||||||
|
const handlerAdd =()=>{
|
||||||
|
proxy.setActiveMenu();
|
||||||
|
router.push({ path: "/emergency-rescue/workOrder-operation" });
|
||||||
}
|
}
|
||||||
</script>
|
/**
|
||||||
|
* 导出
|
||||||
|
*/
|
||||||
|
const handlerExport=()=>{
|
||||||
|
|
||||||
<style scoped>
|
}
|
||||||
|
|
||||||
|
const handlerInfo = () => {
|
||||||
|
proxy.setActiveMenu();
|
||||||
|
router.push({ path: "/emergency-rescue/workInfo-info" });
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
</style>
|
<style lang="scss" scoped></style>
|
||||||
|
Loading…
Reference in new issue