fix(542): 修复添加页面接口参数和布局
- 在 AppDeathManage 和 AppOutManage 的 add.vue 文件中,为 ai-eartag-remote 组件添加 class="row",优化布局 - 在 AppOutManage 的 add.vue 文件中,修正出栏接口参数 outTime 之前错误使用 deathTime - 在 AiEartagRemote 组件中,简化 API 请求参数结构
This commit is contained in:
@@ -14,7 +14,7 @@ export default {
|
||||
methods: {
|
||||
getText(biochipEarNumber) {
|
||||
this.info = {}
|
||||
return this.instance.post("/api/breed/earTag/page", {params: {biochipEarNumber, pageSize: 10, pageNum: 1}}).then(res => {
|
||||
return this.instance.post("/api/breed/earTag/page", {biochipEarNumber, pageSize: 10, pageNum: 1}).then(res => {
|
||||
if (res?.data?.records) {
|
||||
this.info = res.data.records[0]
|
||||
this.$emit('enter', this.info)
|
||||
|
||||
Reference in New Issue
Block a user