|
@@ -18,7 +18,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- <!-- <pagination v-if="params.total" :total="params.total" v-model:page="params.pageNum" v-model:limit="params.pageSize" @pagination="getList()" /> -->
|
|
|
+ <pagination v-if="params.total" :total="params.total" v-model:page="params.pageNum" v-model:limit="params.pageSize" @pagination="getList()" />
|
|
|
<bindDeviceForm ref="editFormRef" :hasBindKeys="hasBindKeys" @get-list="getList(1)"></bindDeviceForm>
|
|
|
</el-dialog>
|
|
|
</template>
|
|
@@ -31,7 +31,7 @@ import bindDeviceForm from './bindDeviceForm.vue';
|
|
|
import { useSearch } from '/@/hooks/useCommon';
|
|
|
import { ElMessage } from 'element-plus';
|
|
|
|
|
|
-const { params, tableData, getList, loading } = useSearch<any[]>(api.template.getBindDevices, '', { code: '' });
|
|
|
+const { params, tableData, getList, loading } = useSearch<any[]>(api.template.getBindDevicesForPage, 'Data', { code: '' });
|
|
|
const { t } = useI18n();
|
|
|
|
|
|
const isShowDialog = ref(false);
|