diff --git a/api/app/lib/models/project.js b/api/app/lib/models/project.js index 0a7c047d..8ae65cf0 100644 --- a/api/app/lib/models/project.js +++ b/api/app/lib/models/project.js @@ -47,7 +47,7 @@ module.exports = dc => { type: DataTypes.STRING, allowNull: true, defaultValue: null, - comment: "建设单位", + comment: "业主单位", primaryKey: false, field: "build_unit", autoIncrement: false @@ -101,7 +101,7 @@ module.exports = dc => { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: null, - comment: null, + comment: "是否已完成", primaryKey: false, field: "done", autoIncrement: false @@ -137,7 +137,7 @@ module.exports = dc => { type: DataTypes.STRING, allowNull: true, defaultValue: null, - comment: "质量检测单位", + comment: "质量监督单位", primaryKey: false, field: "qutity_unit", autoIncrement: false diff --git a/scripts/1.2.3/schema/7.update_project.sql b/scripts/1.2.3/schema/7.update_project.sql index 4894cdf1..f4433418 100644 --- a/scripts/1.2.3/schema/7.update_project.sql +++ b/scripts/1.2.3/schema/7.update_project.sql @@ -1,8 +1,8 @@ -COMMENT ON COLUMN project.build_unit COMMENT IS '业主单位'; -COMMENT ON COLUMN project.qutity_unit COMMENT IS '质量监督单位'; -COMMENT ON COLUMN project.done COMMENT IS '是否已完成'; +COMMENT ON COLUMN project.build_unit IS '业主单位'; +COMMENT ON COLUMN project.qutity_unit IS '质量监督单位'; +COMMENT ON COLUMN project.done IS '是否已完成'; diff --git a/web/client/src/sections/fillion/components/patrolTable.js b/web/client/src/sections/fillion/components/patrolTable.js index 7b99eb9c..36d8b928 100644 --- a/web/client/src/sections/fillion/components/patrolTable.js +++ b/web/client/src/sections/fillion/components/patrolTable.js @@ -64,8 +64,6 @@ const DetailForm = (props) => {
{obj.key} { - - obj.name != 'scenePic' && obj.name != 'handlePic' ? { return
+ }) : data.handlePic && data.handlePic instanceof Array ? data.handlePic.map(imgSrc => { + return
+ +
}) : '暂无图片' + + + }