Commit 2aa179a9 by yuzhenWang

修改预约暂存

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