Commit 2aa179a9 by yuzhenWang

修改预约暂存

parent 56adb469
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
</div> </div>
</template> </template>
<script setup name="FnaEdit"> <script setup name="FnaEdit">
import { onUnmounted } from 'vue'
import AppointmentEdit from '@/views/sign/appointment/appointmentEdit' import AppointmentEdit from '@/views/sign/appointment/appointmentEdit'
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
import useDictStore from '@/store/modules/dict' import useDictStore from '@/store/modules/dict'
...@@ -372,7 +373,9 @@ const handleBack = () => { ...@@ -372,7 +373,9 @@ const handleBack = () => {
} }
if (route.query.type == 'add') { if (route.query.type == 'add') {
getAddInfo() console.log('add router', router)
// getAddInfo()
} else if (route.query.type == 'edit') { } else if (route.query.type == 'edit') {
setTimeout(() => { setTimeout(() => {
getProcessInfo(route.query.fnaBizId) getProcessInfo(route.query.fnaBizId)
......
...@@ -58,7 +58,11 @@ ...@@ -58,7 +58,11 @@
<el-button type="success" :icon="Check" @click="handleSubmit('submit')" <el-button type="success" :icon="Check" @click="handleSubmit('submit')"
>提交</el-button >提交</el-button
> >
<el-button type="primary" plain v-if="showStorage" @click="handleSubmit('storage')" <el-button
type="primary"
plain
v-if="!idsObj.appointmentBizId"
@click="handleSubmit('storage')"
>暂存</el-button >暂存</el-button
> >
</div> </div>
...@@ -665,7 +669,6 @@ const handleSubmit = type => { ...@@ -665,7 +669,6 @@ const handleSubmit = type => {
) { ) {
submitAppointmentObj.value[key2] = appointmentSummeryInfo.value[key1] submitAppointmentObj.value[key2] = appointmentSummeryInfo.value[key1]
} }
// if()
if ( if (
key2 == 'apiPolicyholderInfoDto' && key2 == 'apiPolicyholderInfoDto' &&
Object.keys(submitAppointmentObj.value[key2]).length !== 0 Object.keys(submitAppointmentObj.value[key2]).length !== 0
......
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