build_app
This commit is contained in:
parent
7e08e828af
commit
3f9bd405aa
@ -75,6 +75,9 @@ addCustomMenu( "Todoitem","Todoitem", "Transcations");
|
|||||||
addCustomMenu( "Todoitem","Todoitem", "Transcations");
|
addCustomMenu( "Todoitem","Todoitem", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
|
addCustomMenu( "Todoitem","Todoitem", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
addCustomMenu( "Note","Note", "Transcations");
|
addCustomMenu( "Note","Note", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@ import com.realnet.WhoColumn.Entity.Extension;
|
|||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
private String task;
|
private String name;
|
||||||
|
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,7 @@ public Todoitem getdetailsbyId(Integer id) {
|
|||||||
|
|
||||||
public Todoitem update(Todoitem data,Integer id) {
|
public Todoitem update(Todoitem data,Integer id) {
|
||||||
Todoitem old = Repository.findById(id).get();
|
Todoitem old = Repository.findById(id).get();
|
||||||
old.setTask(data.getTask());
|
old.setName(data.getName());
|
||||||
|
|
||||||
old.setDescription(data.getDescription());
|
old.setDescription(data.getDescription());
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
CREATE TABLE app-d.Todoitem(id BIGINT NOT NULL AUTO_INCREMENT, task VARCHAR(400), duedate Date, description VARCHAR(400), completed bit(1), PRIMARY KEY (id));
|
CREATE TABLE app-d.Todoitem(id BIGINT NOT NULL AUTO_INCREMENT, duedate Date, name VARCHAR(400), description VARCHAR(400), completed bit(1), PRIMARY KEY (id));
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<div *ngIf="error;else loadingSpinner">{{error}}</div>
|
<div *ngIf="error;else loadingSpinner">{{error}}</div>
|
||||||
</clr-dg-placeholder>
|
</clr-dg-placeholder>
|
||||||
|
|
||||||
<clr-dg-column [clrDgField]="'task'"> <ng-container *clrDgHideableColumn="{hidden: false}"> task
|
<clr-dg-column [clrDgField]="'name'"> <ng-container *clrDgHideableColumn="{hidden: false}"> name
|
||||||
</ng-container></clr-dg-column>
|
</ng-container></clr-dg-column>
|
||||||
|
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
<clr-dg-row *clrDgItems="let user of product" [clrDgItem]="user">
|
<clr-dg-row *clrDgItems="let user of product" [clrDgItem]="user">
|
||||||
|
|
||||||
<clr-dg-cell>{{user.task }}</clr-dg-cell>
|
<clr-dg-cell>{{user.name }}</clr-dg-cell>
|
||||||
|
|
||||||
|
|
||||||
<clr-dg-cell>{{user.description }}</clr-dg-cell>
|
<clr-dg-cell>{{user.description }}</clr-dg-cell>
|
||||||
@ -236,8 +236,8 @@
|
|||||||
<form >
|
<form >
|
||||||
<div class="clr-row">
|
<div class="clr-row">
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
<label>task</label>
|
<label>name</label>
|
||||||
<input class="clr-input" type="text" [(ngModel)]="rowSelected.task" name="task" />
|
<input class="clr-input" type="text" [(ngModel)]="rowSelected.name" name="name" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
@ -330,8 +330,8 @@
|
|||||||
<div class="clr-row" style="height: fit-content;">
|
<div class="clr-row" style="height: fit-content;">
|
||||||
|
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
<label> task</label>
|
<label> name</label>
|
||||||
<input class="clr-input" type="text" formControlName="task" />
|
<input class="clr-input" type="text" formControlName="name" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
|
|||||||
@ -64,7 +64,7 @@ private userInfoService:UserInfoService,
|
|||||||
this.userrole=this.userInfoService.getRoles();
|
this.userrole=this.userInfoService.getRoles();
|
||||||
this.getData();
|
this.getData();
|
||||||
this.entryForm = this._fb.group({
|
this.entryForm = this._fb.group({
|
||||||
task : [null],
|
name : [null],
|
||||||
|
|
||||||
description : [null],
|
description : [null],
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
import { TodoitemComponent } from './BuilderComponents/app-b/Todoitem/Todoitem.component';
|
import { TodoitemComponent } from './BuilderComponents/app-b/Todoitem/Todoitem.component';
|
||||||
|
|
||||||
|
|
||||||
@ -271,6 +272,8 @@ const routes: Routes = [
|
|||||||
// buildercomponents
|
// buildercomponents
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{path:'Todoitem',component:TodoitemComponent},
|
{path:'Todoitem',component:TodoitemComponent},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
import { TodoitemComponent } from './BuilderComponents/app-b/Todoitem/Todoitem.component';
|
import { TodoitemComponent } from './BuilderComponents/app-b/Todoitem/Todoitem.component';
|
||||||
|
|
||||||
|
|
||||||
@ -144,6 +145,8 @@ import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'
|
|||||||
// buildercomponents
|
// buildercomponents
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TodoitemComponent,
|
TodoitemComponent,
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -226,4 +226,9 @@
|
|||||||
"MENU_ACTION_LINK": "Menu Action Link",
|
"MENU_ACTION_LINK": "Menu Action Link",
|
||||||
"STATUS": "Status",
|
"STATUS": "Status",
|
||||||
"SUB_MENU": "Sub Menu",
|
"SUB_MENU": "Sub Menu",
|
||||||
|
"Todoitem": "Todoitem",
|
||||||
|
"dueDate": "dueDate",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"completed": "completed"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user