更新细节
This commit is contained in:
parent
524749f36f
commit
6d5610db5e
|
@ -2,8 +2,8 @@ const config = {
|
|||
terminal: 1, //终端
|
||||
title: '后台管理系统', //网站默认标题
|
||||
version: '1.6.0', //版本号
|
||||
baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ''}/`, //请求接口域名
|
||||
// baseUrl: 'http://127.0.0.1:30005/',
|
||||
// baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ''}/`, //请求接口域名
|
||||
baseUrl: 'http://127.0.0.1:30005/',
|
||||
urlPrefix: 'adminapi', //请求默认前缀
|
||||
timeout: 10 * 1000 //请求超时时长
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<el-table-column label="剩余面积" prop="residual_area" show-overflow-tooltip />
|
||||
<el-table-column label="土地负责人" prop="master_name" show-overflow-tooltip />
|
||||
<el-table-column label="负责人电话" prop="master_phone" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="400" align="center" fixed="right">
|
||||
<el-table-column label="操作" width="360" align="center" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button
|
||||
v-perms="['land.land/edit']"
|
||||
|
@ -64,14 +64,14 @@
|
|||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
v-perms="['land.land/bind']"
|
||||
type="primary"
|
||||
link
|
||||
@click="handleBind(row)"
|
||||
>
|
||||
绑定产品
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
<el-button
|
||||
v-perms="['land.product/lists']"
|
||||
type="primary"
|
||||
|
@ -85,7 +85,7 @@
|
|||
}
|
||||
}"
|
||||
>
|
||||
产品信息
|
||||
产品管理
|
||||
</router-link>
|
||||
</el-button>
|
||||
<el-button type="primary" link @click="handleDetail(row)"
|
||||
|
|
|
@ -123,7 +123,7 @@ const queryLand = async (query: string) => {
|
|||
loading.value = false
|
||||
if (landList.count > 0) {
|
||||
landOptions.value = landList.lists.map((land: any) => {
|
||||
return { value: `${land.id}`, label: `ID: ${land.id} / 土地名称: ${land.title}` }
|
||||
return { value: `${land.id}`, label: `ID: ${land.id} / 名称: ${land.title}` }
|
||||
})
|
||||
} else {
|
||||
landOptions.value = []
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<span>{{ row.create_time ? timeFormat(row.create_time, 'yyyy-mm-dd hh:MM:ss') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="260" align="center" fixed="right">
|
||||
<el-table-column label="操作" width="220" align="center" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button
|
||||
v-perms="['land.product/edit']"
|
||||
|
@ -94,14 +94,14 @@
|
|||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
v-perms="['land.product/bind']"
|
||||
type="primary"
|
||||
link
|
||||
@click="handleBind(row)"
|
||||
>
|
||||
绑定设备
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
<el-button v-perms="['device.device/lists']" type="primary" link >
|
||||
<router-link
|
||||
:to="{
|
||||
|
@ -111,7 +111,7 @@
|
|||
}
|
||||
}"
|
||||
>
|
||||
设备信息
|
||||
设备管理
|
||||
</router-link>
|
||||
</el-button>
|
||||
<el-button
|
||||
|
|
Loading…
Reference in New Issue