明树Git Lab

Commit 2117d1dd authored by zfp1's avatar zfp1

update

parent 3bac3f4a
Pipeline #109233 passed with stage
in 4 seconds
...@@ -56,7 +56,13 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', { ...@@ -56,7 +56,13 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
type: DataTypes.STRING, type: DataTypes.STRING,
comment: "下年项目阶段", comment: "下年项目阶段",
}, },
nd: {
type: DataTypes.DATE,
get() {
const rawValue = this.getDataValue('nd');
return rawValue ? moment(rawValue).format('YYYY') : '';
}
},
projectGdxxs: { projectGdxxs: {
type: DataTypes.JSON, type: DataTypes.JSON,
...@@ -97,10 +103,10 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', { ...@@ -97,10 +103,10 @@ const TzJsqtzhs = sequelize.define('TzJsqtzhs', {
}, },
tzhsjc: {type: DataTypes.JSON, comment: "投资回收决策"}, tzhsjc: { type: DataTypes.JSON, comment: "投资回收决策" },
tzhsjh: {type: DataTypes.JSON, comment: "投资回收计划----合并到上一个进去了"}, tzhsjh: { type: DataTypes.JSON, comment: "投资回收计划----合并到上一个进去了" },
tzhswcqkndgx: {type: DataTypes.JSON, comment: "投资回收完成情况年度更新"}, tzhswcqkndgx: { type: DataTypes.JSON, comment: "投资回收完成情况年度更新" },
tzhswcqkydgx: {type: DataTypes.JSON, comment: "投资回收完成情况月度更新"}, tzhswcqkydgx: { type: DataTypes.JSON, comment: "投资回收完成情况月度更新" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment