|
|
@@ -410,10 +410,15 @@ export default {
|
|
|
},
|
|
|
beforeOpen (done, type) {
|
|
|
if (['edit'].includes(type)) {
|
|
|
- this.$router.push({
|
|
|
- path: '/home/details',
|
|
|
- query: { id: this.form.id, type: '0', ownerId: this.form.createUser }
|
|
|
+ this.$confirm('暂未授权使用', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
})
|
|
|
+ // this.$router.push({
|
|
|
+ // path: '/home/details',
|
|
|
+ // query: { id: this.form.id, type: '0', ownerId: this.form.createUser }
|
|
|
+ // })
|
|
|
} else if (type === 'view') {
|
|
|
this.$router.push({
|
|
|
path: '/home/pro_detail',
|