New Gallery: create directory if doesn't exist!#120
This commit is contained in:
@@ -79,7 +79,7 @@ export default class CGridTableRec extends Vue {
|
||||
}
|
||||
|
||||
public selItem(item, col: IColGridTable) {
|
||||
console.log('selItem', item)
|
||||
// console.log('selItem', item)
|
||||
this.rowsel = item
|
||||
this.idsel = item._id
|
||||
this.colsel = col
|
||||
|
||||
@@ -67,7 +67,7 @@ export default class CMyPopupEdit extends Vue {
|
||||
|
||||
public SaveValueInt(newVal, valinitial) {
|
||||
|
||||
console.log('SaveValueInt', newVal)
|
||||
// console.log('SaveValueInt', newVal)
|
||||
|
||||
// Update value in table memory
|
||||
if (this.subfield !== '') {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<q-list class="rounded-borders text-primary">
|
||||
<template v-for="(parent, index) in getmenu">
|
||||
<!--<div class="q-list-header">{{replaceUnderlineToSpace(index)}}</div>-->
|
||||
<div v-for="myitemmenu in static_data.routes">
|
||||
<div v-for="myitemmenu in static_data.routes" v-if="myitemmenu.active">
|
||||
<div v-if="!!myitemmenu.routes2 && myitemmenu.inmenu && tools.visumenu(myitemmenu)">
|
||||
<q-expansion-item
|
||||
:header-inset-level="myitemmenu.level_parent"
|
||||
|
||||
@@ -170,6 +170,7 @@ export interface IMenuList {
|
||||
}
|
||||
|
||||
export interface IListRoutes {
|
||||
active?: boolean
|
||||
path: string
|
||||
name: string
|
||||
materialIcon?: string
|
||||
|
||||
@@ -705,7 +705,7 @@ namespace Actions {
|
||||
}
|
||||
|
||||
async function saveFieldValue(context, mydata: IDataPass) {
|
||||
console.log('saveFieldValue', mydata)
|
||||
// console.log('saveFieldValue', mydata)
|
||||
|
||||
return await Api.SendReq(`/chval`, 'PATCH', { data: mydata })
|
||||
.then((res) => {
|
||||
@@ -830,6 +830,7 @@ namespace Actions {
|
||||
for (const page of state.mypage) {
|
||||
if (page.active) {
|
||||
arrpagesroute.push({
|
||||
active: true,
|
||||
path: '/' + page.path,
|
||||
name: undefined,
|
||||
text: page.title,
|
||||
@@ -844,6 +845,7 @@ namespace Actions {
|
||||
}
|
||||
|
||||
const last = {
|
||||
active: true,
|
||||
path: '*',
|
||||
materialIcon: 'fas fa-calendar-plus',
|
||||
name: 'otherpages.error404def',
|
||||
|
||||
@@ -371,11 +371,9 @@ export const fieldsTable = {
|
||||
return ''
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
// IColGridTable
|
||||
colTableUsers: [
|
||||
// AddCol({ name: '_id', label_trans: 'reg.id' }),
|
||||
AddCol({ name: 'username', label_trans: 'reg.username' }),
|
||||
AddCol({ name: 'name', label_trans: 'reg.name' }),
|
||||
AddCol({ name: 'surname', label_trans: 'reg.surname' }),
|
||||
@@ -383,8 +381,10 @@ export const fieldsTable = {
|
||||
AddCol({ name: 'cell', label_trans: 'reg.cell' }),
|
||||
AddCol({ name: 'profile.img', field: 'profile', subfield: 'img', label_trans: 'reg.img', sortable: false }),
|
||||
AddCol({ name: 'date_reg', label_trans: 'reg.date_reg', fieldtype: tools.FieldType.date }),
|
||||
// AddCol({ name: 'idapp', label_trans: 'reg.idapp', fieldtype: tools.FieldType.string }),
|
||||
AddCol({ name: 'perm', label_trans: 'reg.perm', fieldtype: tools.FieldType.binary, jointable: 'permissions' }),
|
||||
AddCol(DeleteRec)
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec)
|
||||
],
|
||||
|
||||
tablesList: [
|
||||
|
||||
Reference in New Issue
Block a user