0906
This commit is contained in:
@ -79,3 +79,26 @@ export const landTransferLedgerCount = (id: string | number | Array<string | num
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
export const addSonLandTransferLedger = (data) => {
|
||||
return request({
|
||||
url: '/land/landTransferLedger/children/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
export const listSonLandTransferLedger = (query) => {
|
||||
return request({
|
||||
url: '/land/landTransferLedger/children/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
// api/yourApiModule.js
|
||||
export const listallCountValue = (projectId) => {
|
||||
return request({
|
||||
url: '/land/landTransferLedger/allCountValue/' + projectId,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
@ -4,6 +4,11 @@ export interface LandTransferLedgerVO {
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 父级ID
|
||||
*/
|
||||
parentId: string | number;
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
@ -83,7 +88,6 @@ export interface LandTransferLedgerVO {
|
||||
* 下一步策略
|
||||
*/
|
||||
nextStrategy: string;
|
||||
|
||||
}
|
||||
|
||||
export interface LandTransferLedgerForm extends BaseEntity {
|
||||
@ -92,6 +96,11 @@ export interface LandTransferLedgerForm extends BaseEntity {
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 父级ID
|
||||
*/
|
||||
parentId: string | number;
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
@ -171,11 +180,9 @@ export interface LandTransferLedgerForm extends BaseEntity {
|
||||
* 下一步策略
|
||||
*/
|
||||
nextStrategy?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface LandTransferLedgerQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
@ -256,11 +263,8 @@ export interface LandTransferLedgerQuery extends PageQuery {
|
||||
*/
|
||||
nextStrategy?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -42,11 +42,6 @@
|
||||
<el-button type="primary" plain @click="handleViewAll" v-hasPermi="['system:equipment:view']">{{ viewAllButtonText }}</el-button>
|
||||
</el-col>
|
||||
|
||||
<!-- 新增:跳转空页面按钮 -->
|
||||
<el-col :span="2">
|
||||
<el-button type="primary" plain icon="international" @click="handleGoToEmptyPage"> GPS定位 </el-button>
|
||||
</el-col>
|
||||
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
</template>
|
||||
@ -68,17 +63,7 @@
|
||||
</el-table-column>
|
||||
|
||||
<!-- 设备名称列 -->
|
||||
<el-table-column label="设备名称" align="center">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
type="text"
|
||||
@click="handleOpenHistoryUser(scope.row.clientId, scope.row.userId)"
|
||||
style="padding: 0; color: #409eff; cursor: pointer"
|
||||
>
|
||||
{{ scope.row.deviceName || '-' }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
||||
|
||||
<el-table-column label="远程连接地址" align="center" prop="remoteAddressStr" />
|
||||
<el-table-column label="连接创建时间" align="center">
|
||||
@ -110,6 +95,13 @@
|
||||
>
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
<!-- 新增:跳转空页面按钮 -->
|
||||
<el-tooltip content="足迹" placement="top">
|
||||
<el-button link type="primary" icon="Location" @click="handleGoToEmptyPage(scope.row.userId)"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="历史记录" placement="top">
|
||||
<el-button link type="primary" icon="Clock" @click="handleOpenHistoryUser(scope.row.clientId, scope.row.userId)"> </el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -240,7 +232,7 @@ const projectList = ref<any[]>([]);
|
||||
const projectLoading = ref(false);
|
||||
const userLoading = ref(false);
|
||||
const viewAllButtonText = computed(() => {
|
||||
return queryParams.value.type === 1 ? '查看未绑定设备' : '查看已绑定设备';
|
||||
return queryParams.value.type === 1 ? '查看未绑定项目设备' : '查看已绑定项目设备';
|
||||
});
|
||||
|
||||
// 对话框相关
|
||||
@ -473,7 +465,7 @@ const handleViewAll = () => {
|
||||
getList();
|
||||
};
|
||||
|
||||
const handleGoToEmptyPage = () => {
|
||||
const handleGoToEmptyPage = (userId: any) => {
|
||||
router.push({
|
||||
path: './equipmentGPS'
|
||||
});
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user