Browse Source

问题处理字段类型调整

master
peng.peng 2 years ago
parent
commit
8f936618b5
  1. 2
      api/app/lib/models/patrol_record_issue_handle.js
  2. 2
      script/1.0.3/schema/8.create_patrol_record_issue_handle.sql
  3. 4
      web/client/src/utils/webapi.js

2
api/app/lib/models/patrol_record_issue_handle.js

@ -62,7 +62,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
repairAsk: { repairAsk: {
type: DataTypes.INTEGER, type: DataTypes.STRING,
allowNull: true, allowNull: true,
defaultValue: null, defaultValue: null,
comment: "维修要求", comment: "维修要求",

2
script/1.0.3/schema/8.create_patrol_record_issue_handle.sql

@ -9,7 +9,7 @@ create table patrol_record_issue_handle
repair_unit varchar(255), repair_unit varchar(255),
start_time timestamp(6) with time zone, start_time timestamp(6) with time zone,
end_time timestamp(6) with time zone, end_time timestamp(6) with time zone,
repair_ask integer, repair_ask varchar(255),
check_person jsonb, check_person jsonb,
state integer, state integer,
approve_person jsonb, approve_person jsonb,

4
web/client/src/utils/webapi.js

@ -59,6 +59,8 @@ export const ApiTable = {
addCheckTask: '/addcheckTask', addCheckTask: '/addcheckTask',
editCheckTask: '/editcheckTask', editCheckTask: '/editcheckTask',
delCheckTask: '/delcheckTask/:id', delCheckTask: '/delcheckTask/:id',
addPatrolRecordIssueHandle: 'patrolRecord/issue/handle',
modifyPatrolRecordIssueHandle: 'patrolRecord/issue/handle/{id}',
//协调申请 //协调申请
getCoordinateList: 'risk/coordinate', getCoordinateList: 'risk/coordinate',
@ -115,7 +117,7 @@ export const ApiTable = {
position: 'position', position: 'position',
delPosition: 'delPosition/{id}', delPosition: 'delPosition/{id}',
qrCodeShow: 'qrCodeShow', qrCodeShow: 'qrCodeShow',
q:'q', q: 'q',
//视频接入配置 //视频接入配置
siteList: 'siteList', siteList: 'siteList',

Loading…
Cancel
Save