项目文档菜单与列表是否适用字段联动
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0e0b5c2c4c
commit
c46ca18a42
|
@ -278,6 +278,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
<el-switch
|
||||
:disabled="!scope.row.TrialFileRecord"
|
||||
v-if="isManage && !viewStatus && hasEdit"
|
||||
v-model="scope.row.IsAuthorizedView"
|
||||
@change="(val) => auth(false, scope.row, val)"
|
||||
|
@ -769,7 +770,7 @@ export default {
|
|||
},
|
||||
immediate: true,
|
||||
},
|
||||
rowData: {
|
||||
'rowData.IsEnable': {
|
||||
handler() {
|
||||
this.DATA = Object.assign({}, this.rowData)
|
||||
},
|
||||
|
|
|
@ -273,6 +273,12 @@ export default {
|
|||
this.loading = true
|
||||
let res = await setAuthorizedView(data)
|
||||
this.loading = false
|
||||
if (res.IsSuccess) {
|
||||
this.$emit('update:rowData', {})
|
||||
this.$nextTick(() => {
|
||||
this.$emit('update:rowData', item)
|
||||
})
|
||||
}
|
||||
} catch (err) {
|
||||
this.loading = false
|
||||
item.IsEnable = !item.IsEnable
|
||||
|
|
|
@ -766,7 +766,7 @@ export default {
|
|||
},
|
||||
immediate: true,
|
||||
},
|
||||
rowData: {
|
||||
'rowData.IsEnable': {
|
||||
handler() {
|
||||
this.DATA = Object.assign({}, this.rowData)
|
||||
},
|
||||
|
|
|
@ -722,7 +722,7 @@ export default {
|
|||
},
|
||||
immediate: true,
|
||||
},
|
||||
rowData: {
|
||||
'rowData.IsEnable': {
|
||||
handler() {
|
||||
this.DATA = Object.assign({}, this.rowData)
|
||||
},
|
||||
|
|
|
@ -865,7 +865,7 @@ export default {
|
|||
},
|
||||
immediate: true,
|
||||
},
|
||||
rowData: {
|
||||
'rowData.IsEnable': {
|
||||
handler() {
|
||||
this.DATA = Object.assign({}, this.rowData)
|
||||
},
|
||||
|
|
|
@ -198,6 +198,7 @@
|
|||
</box-content>
|
||||
</template>
|
||||
<script>
|
||||
const otherId = 'ef84e9cb-f1a6-49d7-b6da-34be2c12abd5'
|
||||
import { getTrialDoctorList } from '@/api/dictionary'
|
||||
import Pagination from '@/components/Pagination'
|
||||
import BoxContent from '@/components/BoxContent'
|
||||
|
@ -238,6 +239,7 @@ export default {
|
|||
reviewerId: null,
|
||||
isAll: false,
|
||||
preview_visible: false,
|
||||
otherId,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue