diff --git a/src/api/enforce.js b/src/api/enforce.js index 625944d..c8d0704 100644 --- a/src/api/enforce.js +++ b/src/api/enforce.js @@ -30,6 +30,8 @@ export const addEnforcementInspectionProgram = (params, success, error) =>_post( //保存执法信息登记 export const addEnforcementRegistration = (params, success, error) => _post("/code/registration/add",params,success,error) +export const editEnforcementRegistration = (params, success, error) => _post("/code/registration/edit",params,success,error) +export const getRegByUserIdAndZero = (id, success, error) => _get("/code/registration/getByUserIdAndZero",null,success,error) //查询历史检查信息 export const queryRegistrationList = (params, success, error) => _get("/code/registration/queryList",params,success,error) diff --git a/src/components/header-nav/index.vue b/src/components/header-nav/index.vue index 6597685..b7677d7 100644 --- a/src/components/header-nav/index.vue +++ b/src/components/header-nav/index.vue @@ -15,7 +15,7 @@ diff --git a/src/views/administrative/appointment.vue b/src/views/administrative/appointment.vue index 5fbe713..bd67e7c 100644 --- a/src/views/administrative/appointment.vue +++ b/src/views/administrative/appointment.vue @@ -2,7 +2,7 @@
- +
@@ -92,7 +92,8 @@
- 提交 + 保存 + 提交
@@ -285,10 +286,15 @@ const dataFillIn = () => { const tmpSave = () => { showSuccessToast('临时保存'); + console.log(submitData) addEnterpriseLawEnforcement(submitData,success =>{ //跳转企业二维码地址 if(success.success){ showSuccessToast('保存成功'); + router.push( + { + path: "/appointmentList" + }); } },error=>{ console.log("保存失败") diff --git a/src/views/enforce/sign.vue b/src/views/enforce/sign.vue index 8a95c84..a94b7f3 100644 --- a/src/views/enforce/sign.vue +++ b/src/views/enforce/sign.vue @@ -127,7 +127,7 @@ - 保存 + 保存 提交 @@ -158,7 +158,7 @@