|
|
@@ -621,22 +621,14 @@ export default {
|
|
|
},
|
|
|
beforeOpen(done, type) {
|
|
|
if (['edit'].includes(type)) {
|
|
|
- if (!['15368241401', '13908866201'].includes(this.user.info.account)) {
|
|
|
- this.$confirm('暂未授权使用', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.$router.push({
|
|
|
- path: '/home/details',
|
|
|
- query: {
|
|
|
- id: this.form.id,
|
|
|
- type: '0',
|
|
|
- ownerId: this.form.createUser
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ 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',
|