修正ts类型

This commit is contained in:
Zy
2026-05-13 15:28:25 +08:00
parent 1b738c0f4d
commit a1750bc67b
114 changed files with 2346 additions and 613 deletions

View File

@@ -73,7 +73,7 @@
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getlist" />
</div>
</div>
</div>
@@ -93,7 +93,7 @@ const router = useRouter();
const route = useRoute();
const form = ref({
id: null,
categoryId: '', // 分类id、
categoryName: '', // 分类id、
deviceName: '', // 设备名称
deviceCode: '', // 编号
deviceModel: '', // 型号
@@ -121,7 +121,7 @@ function init() {
getDevice(userid.value).then(async (res) => {
form.value = {
id: res.data.id,
categoryId: res.data.categoryId,
categoryName: res.data.categoryName,
deviceName: res.data.deviceName,
deviceCode: res.data.deviceCode,
deviceModel: res.data.deviceModel,