周沫沫历险记
2 years ago
6 changed files with 221 additions and 64 deletions
@ -0,0 +1,61 @@ |
|||
/* eslint-disable*/ |
|||
|
|||
'use strict'; |
|||
|
|||
module.exports = dc => { |
|||
const DataTypes = dc.ORM; |
|||
const sequelize = dc.orm; |
|||
const TrainingInformationLevel = sequelize.define("trainingInformationLevel", { |
|||
id: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: true, |
|||
field: "id", |
|||
autoIncrement: true |
|||
}, |
|||
type: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "type", |
|||
autoIncrement: false |
|||
}, |
|||
departmentname: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "departmentname", |
|||
autoIncrement: false |
|||
}, |
|||
traindate: { |
|||
type: DataTypes.DATE, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "traindate", |
|||
autoIncrement: false |
|||
}, |
|||
origin: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "origin", |
|||
autoIncrement: false |
|||
} |
|||
}, { |
|||
tableName: "training_information_level", |
|||
comment: "", |
|||
indexes: [] |
|||
}); |
|||
dc.models.TrainingInformationLevel = TrainingInformationLevel; |
|||
return TrainingInformationLevel; |
|||
}; |
@ -0,0 +1,115 @@ |
|||
/* eslint-disable*/ |
|||
|
|||
'use strict'; |
|||
|
|||
module.exports = dc => { |
|||
const DataTypes = dc.ORM; |
|||
const sequelize = dc.orm; |
|||
const TrainingInformationRecord = sequelize.define("trainingInformationRecord", { |
|||
id: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: true, |
|||
field: "id", |
|||
autoIncrement: true |
|||
}, |
|||
type: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "type", |
|||
autoIncrement: false |
|||
}, |
|||
departmentname: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "departmentname", |
|||
autoIncrement: false |
|||
}, |
|||
traindate: { |
|||
type: DataTypes.DATE, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "traindate", |
|||
autoIncrement: false |
|||
}, |
|||
filetype: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "filetype", |
|||
autoIncrement: false |
|||
}, |
|||
filename: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "filename", |
|||
autoIncrement: false |
|||
}, |
|||
filesize: { |
|||
type: DataTypes.STRING, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "filesize", |
|||
autoIncrement: false |
|||
}, |
|||
updatedate: { |
|||
type: DataTypes.DATE, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "updatedate", |
|||
autoIncrement: false |
|||
}, |
|||
attachpath: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "attachpath", |
|||
autoIncrement: false |
|||
}, |
|||
origin: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "origin", |
|||
autoIncrement: false |
|||
}, |
|||
traininginformationlevelid: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "traininginformationlevelid", |
|||
autoIncrement: false |
|||
} |
|||
}, { |
|||
tableName: "training_information_record", |
|||
comment: "", |
|||
indexes: [] |
|||
}); |
|||
dc.models.TrainingInformationRecord = TrainingInformationRecord; |
|||
return TrainingInformationRecord; |
|||
}; |
@ -1,32 +1,51 @@ |
|||
.semi-table{ |
|||
.semi-table-row:first-child{ |
|||
.semi-table-row-head{ |
|||
.semi-table { |
|||
.semi-table-row:first-child { |
|||
.semi-table-row-head { |
|||
background: #F2F3F5; |
|||
color: #4A4A4A; |
|||
font-size: 14px; |
|||
} |
|||
} |
|||
} |
|||
.resourceRepository{ |
|||
|
|||
.resourceRepository { |
|||
margin-top: 20px; |
|||
.left{ |
|||
.semi-input-wrapper{ |
|||
|
|||
.left { |
|||
.semi-input-wrapper { |
|||
width: 260px; |
|||
} |
|||
.semi-tree-wrapper{ |
|||
|
|||
.semi-tree-wrapper { |
|||
margin-top: 20px; |
|||
} |
|||
|
|||
.tree-icon { |
|||
padding-left: 6px; |
|||
opacity: 0; |
|||
|
|||
.semi-icon { |
|||
padding-left: 6px; |
|||
} |
|||
} |
|||
|
|||
.tree-icon:hover { |
|||
opacity: 1; |
|||
} |
|||
} |
|||
.right{ |
|||
.path-lable{ |
|||
|
|||
.right { |
|||
.path-lable { |
|||
margin-bottom: 20px; |
|||
} |
|||
.semi-input-wrapper{ |
|||
|
|||
.semi-input-wrapper { |
|||
margin-bottom: 20px; |
|||
} |
|||
} |
|||
.semi-button{ |
|||
|
|||
.semi-button { |
|||
margin-bottom: 20px; |
|||
} |
|||
|
|||
} |
|||
} |
Loading…
Reference in new issue