|
|
@@ -1102,17 +1102,17 @@ |
|
|
|
<van-goods-action style="z-index: 999;"> |
|
|
|
<van-goods-action-icon icon="label-o" text="附件" @click="openAttachment" color="#1D6FE9" /> |
|
|
|
<template v-if="formVisible.editVisible"> |
|
|
|
<van-goods-action-button type="primary" text="保存" @click="onSubmit('add')" :disabled="!formEnabled.baseApplyEnabled" v-if="formEnabled.baseApplyEnabled"/> |
|
|
|
<van-goods-action-button type="primary" :text="formEnabled.baseApplyEnabled ? '保存并提交' : '提交'" @click="onSubmit(formEnabled.baseApplyEnabled ? 'save_and_submit' : 'submit')" :disabled="!formEnabled.submitEnabled"/> |
|
|
|
<van-goods-action-button type="info" text="保存" @click="onSubmit('add')" :disabled="!formEnabled.baseApplyEnabled" v-if="formEnabled.baseApplyEnabled"/> |
|
|
|
<van-goods-action-button type="info" :text="formEnabled.baseApplyEnabled ? '保存并提交' : '提交'" @click="onSubmit(formEnabled.baseApplyEnabled ? 'save_and_submit' : 'submit')" :disabled="!formEnabled.submitEnabled"/> |
|
|
|
</template> |
|
|
|
<template v-else-if="formEnabled.landscopeEnabled"> |
|
|
|
<van-goods-action-button type="primary" text="提交开工" @click="onSubmit('start_and_submit')"/> |
|
|
|
<van-goods-action-button type="info" text="提交开工" @click="onSubmit('start_and_submit')"/> |
|
|
|
</template> |
|
|
|
<template v-else-if="formEnabled.acceptingEnabled"> |
|
|
|
<van-goods-action-button type="primary" text="提交验收" @click="onSubmit('end')"/> |
|
|
|
<van-goods-action-button type="info" text="提交验收" @click="onSubmit('end')"/> |
|
|
|
</template> |
|
|
|
<template v-else-if="formVisible.auditVisible"> |
|
|
|
<van-goods-action-button type="primary" text="同意" @click="onSubmit('agree')"/> |
|
|
|
<van-goods-action-button type="info" text="同意" @click="onSubmit('agree')"/> |
|
|
|
<van-goods-action-button type="danger" text="驳回" @click="onSubmit('reject')"/> |
|
|
|
</template> |
|
|
|
</van-goods-action> |
|
|
@@ -3561,4 +3561,13 @@ export default { |
|
|
|
.van-goods-action { |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
.van-goods-action-button--first { |
|
|
|
border-radius: 0.053333rem; |
|
|
|
} |
|
|
|
.van-goods-action-button--last { |
|
|
|
border-radius: 0.053333rem; |
|
|
|
} |
|
|
|
.van-goods-action-button { |
|
|
|
margin-left: 0.1rem; |
|
|
|
} |
|
|
|
</style> |