mooho-base-admin-plus 2.10.1 → 2.10.2
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/package.json
CHANGED
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
</div>
|
|
187
187
|
</template>
|
|
188
188
|
<script>
|
|
189
|
+
import router from '../../router';
|
|
189
190
|
import modelApi from '../../api/model';
|
|
190
191
|
import applicationApi from '../../api/application';
|
|
191
192
|
import processInstApi from '../../api/processInst';
|
|
@@ -228,6 +229,11 @@
|
|
|
228
229
|
},
|
|
229
230
|
computed: {},
|
|
230
231
|
async mounted() {
|
|
232
|
+
console.log('router.currentRoute.value.fullPath', router.currentRoute.value.fullPath);
|
|
233
|
+
console.log('this.userPermissions', this.userPermissions);
|
|
234
|
+
console.log("url + '$' + key", router.currentRoute.value.fullPath.substr(1).split('?')[0] + '$' + 'create');
|
|
235
|
+
console.log("this.userPermissions[url + '$' + key]", this.userPermissions[router.currentRoute.value.fullPath.substr(1).split('?')[0] + '$' + 'create']);
|
|
236
|
+
|
|
231
237
|
if (this.$route.meta.data.id) {
|
|
232
238
|
let res = await this.loadPage(this.$route.meta.data.id);
|
|
233
239
|
this.page = res.customPage;
|
|
@@ -264,7 +270,7 @@
|
|
|
264
270
|
|
|
265
271
|
setTimeout(() => {
|
|
266
272
|
if (!this.allow('all')) {
|
|
267
|
-
this.filterData['createUserID'] = this.info.id;
|
|
273
|
+
this.$refs.table.filterData['createUserID'] = this.info.id;
|
|
268
274
|
}
|
|
269
275
|
|
|
270
276
|
this.$refs.table.init(this.page.tableViewCode, () => {
|