|
@@ -212,7 +212,7 @@ export default {
|
|
|
handler: function (val, oldVal) {
|
|
handler: function (val, oldVal) {
|
|
|
this.dialogVisible = this.visible
|
|
this.dialogVisible = this.visible
|
|
|
this.isPrivateLocal = this.isPrivate
|
|
this.isPrivateLocal = this.isPrivate
|
|
|
- if (this.categoryKey === 'FILE_TYPE') {
|
|
|
|
|
|
|
+ if (this.categoryKey === 'FILE_TYPE' && this.parentData.authorityName !== undefined) {
|
|
|
this.type.authorityObject = JSON.parse(this.parentData.authorityName)
|
|
this.type.authorityObject = JSON.parse(this.parentData.authorityName)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -220,7 +220,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
parentData: {
|
|
parentData: {
|
|
|
handler: function (val, oldVal) {
|
|
handler: function (val, oldVal) {
|
|
|
- if (this.categoryKey === 'FILE_TYPE') {
|
|
|
|
|
|
|
+ if (this.categoryKey === 'FILE_TYPE' && (this.$route.name !== 'nbwj' || this.$route.name !== 'wjkzgl-ywyxjlsc') && val.authorityName !== undefined) {
|
|
|
this.getRadioOptions()
|
|
this.getRadioOptions()
|
|
|
this.type.authorityObject = JSON.parse(val.authorityName)
|
|
this.type.authorityObject = JSON.parse(val.authorityName)
|
|
|
}
|
|
}
|