Commit 8f642f8e by liimin

feat(接待中心): 新增接待记录列表接口并优化显示逻辑

- 在reception.js中添加getList方法用于分页获取接待记录
- 重构RecordList.vue中的数据显示逻辑,简化模板结构
- 更新字段映射关系,使用新接口返回的数据格式
- 优化网络请求处理,添加缓存回退机制
- 移除不必要的轮询代码
1 parent 36bc1f12
...@@ -3,4 +3,7 @@ module.exports = { ...@@ -3,4 +3,7 @@ module.exports = {
save (data) { save (data) {
return http.shukeRequest('linkwe-gateway/reception/reception/save', data, 'POST',true) return http.shukeRequest('linkwe-gateway/reception/reception/save', data, 'POST',true)
}, },
getList (data) {
return http.shukeRequest('linkwe-gateway/reception/reception/page', data, 'POST',false)
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
this._pumpTimer = null this._pumpTimer = null
this._pumpRunning = false this._pumpRunning = false
// 开始轮询 // 开始轮询
this.startPolling() // this.startPolling()
} catch (error) { } catch (error) {
this.reportError(`【上传管理Uploader】初始化失败 error:${error.message}`, error.message) this.reportError(`【上传管理Uploader】初始化失败 error:${error.message}`, error.message)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!