Skip to content

Commit

Permalink
1.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Jan 14, 2021
1 parent aab0fe1 commit aed3986
Show file tree
Hide file tree
Showing 18 changed files with 260 additions and 206 deletions.
72 changes: 36 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "@steedos/app-project-management",
"version": "1.23.0-alpha.16",
"description": "",
"main": "index.js",
"scripts": {
"debug": "nodemon server.js",
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"private": false,
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@steedos/accounts": "^1.23.0-alpha.16",
"@steedos/steedos-plugin-workflow": "^2.0.8",
"@steedos/word-template": "^1.23.0-alpha.16",
"dotenv-flow": "^3.1.0",
"nodemon": "^1.19.1",
"steedos-server": "^1.23.0-alpha.16"
},
"homepage": "https://developer.steedos.com",
"resolutions": {
"**/lodash": "^4.17.15",
"**/handlebars": "^4.3.0",
"**/debug": "^3.1.0",
"**/hoek": "^5.0.3",
"**/cryptiles": "^4.1.2",
"**/bcrypt": "3.0.6",
"**/samlp": "3.4.1",
"**/xmldom": "0.2.1",
"**/tslib": "1.11.2",
"**/fibers": "^4.0.3"
}
"name": "@steedos/app-project-management",
"version": "1.23.0",
"description": "",
"main": "index.js",
"scripts": {
"debug": "nodemon server.js",
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"private": false,
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@steedos/accounts": "^1.23.0-alpha.16",
"@steedos/steedos-plugin-workflow": "^2.0.8",
"@steedos/word-template": "^1.23.0-alpha.16",
"dotenv-flow": "^3.1.0",
"nodemon": "^1.19.1",
"steedos-server": "^1.23.0-alpha.16"
},
"homepage": "https://developer.steedos.com",
"resolutions": {
"**/lodash": "^4.17.15",
"**/handlebars": "^4.3.0",
"**/debug": "^3.1.0",
"**/hoek": "^5.0.3",
"**/cryptiles": "^4.1.2",
"**/bcrypt": "3.0.6",
"**/samlp": "3.4.1",
"**/xmldom": "0.2.1",
"**/tslib": "1.11.2",
"**/fibers": "^4.0.3"
}
}
19 changes: 19 additions & 0 deletions public/demos/jquery/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Project Tasks</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/20.2.4/css/dx.common.css" />
<link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/20.2.4/css/dx.light.css" />
<script src="https://cdn3.devexpress.com/jslib/20.2.4/js/dx.all.js"></script>
<script src="index.js"></script>
</head>
<body class="dx-viewport">
<div class="demo-container">
<div id="gridContainer"></div>
</div>
</body>
</html>
43 changes: 43 additions & 0 deletions public/demos/jquery/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
$(function(){

$("#gridContainer").dxDataGrid({
showBorders: true,
dataSource: {
store: {
type: "odata",
version: 4,
url: "/api/v4/project_task__c"
},
select: [
"name",
"project__c",
"assignees__c",
"due_date__c",
"priority__c",
"completed__c",
"state__c",
"owner"
],
},
columns: [
{
dataField: "name",
width: 250
},
"project__c",
"assignees__c",
"due_date__c",
"priority__c",
"completed__c",
"state__c",
"owner"
],
editing: {
mode: 'row',
allowUpdating: true,
allowAdding: true,
allowDeleting: true,
confirmDelete: true
}
});
});
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: account__c
defaultValue: null
description: null
filterable: true
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 客户
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: contract__c
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 合同
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: count_milestones__c
data_type: number
defaultValue: null
description: null
filterable: false
group: null
hidden: true
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 里程碑总数
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: count_milestones_ok__c
data_type: number
defaultValue: null
description: null
filterable: false
group: null
hidden: true
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 里程碑完成数
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: deadline__c
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 截止日期
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: description__c
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: true
label: 简述
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: internal__c
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 内部项目
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: kickoff__c
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 启动日期
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: name
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: true
inlineHelpText: null
is_name: false
is_wide: false
label: 名称
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: open_issues__c
data_type: number
defaultValue: null
description: null
filterable: false
group: 任务与问题
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 待解决问题
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: open_tasks__c
data_type: number
defaultValue: null
description: null
filterable: false
group: 任务与问题
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 待完成任务
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: pencent_milestones__c
data_type: number
defaultValue: null
description: null
filterable: false
formula: count_milestones_ok__c / count_milestones__c
formula_blank_value: zeroes
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 里程碑完成
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: project_program__c
defaultValue: null
description: null
filterable: false
filtersFunction: null
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 项目集
omit: false
optionsFunction: null
readonly: false
reference_to: project_program__c
required: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: status__c
defaultValue: null
description: null
filterable: false
group: null
hidden: false
index: false
inlineHelpText: null
is_name: false
is_wide: false
label: 项目状态
Expand Down
Loading

0 comments on commit aed3986

Please sign in to comment.