feat:土壤分类部分接口对接
This commit is contained in:
parent
035ecef88d
commit
8412ba4bf8
@ -89,7 +89,6 @@ export default function useSoilTypeHook() {
|
|||||||
data.value = res.data.records;
|
data.value = res.data.records;
|
||||||
pageData.value.total = res.data.total;
|
pageData.value.total = res.data.total;
|
||||||
}
|
}
|
||||||
console.log('get --- ', res);
|
|
||||||
}
|
}
|
||||||
async function handleStatusChange(row, index) {
|
async function handleStatusChange(row, index) {
|
||||||
await editSoilType(row, index);
|
await editSoilType(row, index);
|
||||||
@ -138,7 +137,6 @@ export default function useSoilTypeHook() {
|
|||||||
soilType: row.soilType,
|
soilType: row.soilType,
|
||||||
status: row.status === '0' ? '1' : '0',
|
status: row.status === '0' ? '1' : '0',
|
||||||
});
|
});
|
||||||
console.log('res ------', res);
|
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user