vue2-client 1.4.40 → 1.4.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -72,8 +72,8 @@ export default {
|
|
|
72
72
|
computed: {
|
|
73
73
|
// 过滤出用于新增/修改场景的表单项
|
|
74
74
|
realJsonData: function () {
|
|
75
|
-
return this.jsonData.filter(
|
|
76
|
-
return item.addOrEdit && item.addOrEdit !== 'no' && item.addOrEdit !== 'silenceAdd' && item.addOrEdit !== 'version'
|
|
75
|
+
return this.jsonData.filter((item) => {
|
|
76
|
+
return item.addOrEdit && item.addOrEdit !== 'no' && item.addOrEdit !== 'silenceAdd' && item.addOrEdit !== 'version' && !this.itemDisabled(item)
|
|
77
77
|
})
|
|
78
78
|
},
|
|
79
79
|
// 过滤出用于静默新增场景的表单项
|
|
@@ -149,6 +149,7 @@ export default {
|
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
computed: {
|
|
152
|
+
...mapState('account', { currUser: 'user' }),
|
|
152
153
|
...mapState('setting', ['isMobile']),
|
|
153
154
|
businessTitle () {
|
|
154
155
|
return this.businessType + this.title
|
|
@@ -302,7 +303,8 @@ export default {
|
|
|
302
303
|
const requestParameters = {
|
|
303
304
|
queryParamsName: this.queryParamsName,
|
|
304
305
|
form: {},
|
|
305
|
-
businessType: this.businessType
|
|
306
|
+
businessType: this.businessType,
|
|
307
|
+
operator: this.currUser.name
|
|
306
308
|
}
|
|
307
309
|
if (this.businessType === '修改') {
|
|
308
310
|
// 将更新需要的主键值加入到表单中
|