Commit 3d658b59 by 胡悦

fix(wageAppeal): 修复工资申诉页面图片路径和计数初始化问题

修复工资申诉页面中空状态图片的路径错误,将相对路径改为正确引用
将currentCount的初始值从0改为空字符串,避免与父组件数据绑定冲突
移除AttendanceRecord组件中count的冗余赋值逻辑,确保数据流清晰
1 parent 31a7abfb
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
"name" : "展业助手", "name" : "展业助手",
"appid" : "__UNI__D3BD3DF", "appid" : "__UNI__D3BD3DF",
"description" : "", "description" : "",
"versionName" : "2.21.1", "versionName" : "2.21.2",
"versionCode" : 2211, "versionCode" : 2212,
"transformPx" : false, "transformPx" : false,
"sassImplementationName" : "node-sass", "sassImplementationName" : "node-sass",
/* 5+App特有相关 */ /* 5+App特有相关 */
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
} }
const currentType = typeMap[appealType] const currentType = typeMap[appealType]
if (currentType) { if (currentType) {
this.count = currentType.count // this.count = currentType.count
if (currentType.modify) this.formData.modifyCount = currentType.modify if (currentType.modify) this.formData.modifyCount = currentType.modify
} }
if (remark) this.formData.remark = remark if (remark) this.formData.remark = remark
...@@ -152,8 +152,9 @@ export default { ...@@ -152,8 +152,9 @@ export default {
}, },
currentCount: { currentCount: {
handler(val) { handler(val) {
if (val) this.count = val this.count = val
} },
deep: true
} }
}, },
methods: { methods: {
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</view> </view>
</view> </view>
<view v-if="replyList.length === 0" class="empty-text"> <view v-if="replyList.length === 0" class="empty-text">
<image class="empty-image" src="@/assets/images/common/nothing.webp"></image> <image class="empty-image" src="../../../assets/images/common/nothing.webp"></image>
<view>暂无记录</view> <view>暂无记录</view>
</view> </view>
</view> </view>
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
}, },
replyList: [], replyList: [],
popType: '', popType: '',
currentCount: 0, currentCount: '',
lastRecord: {} lastRecord: {}
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!