|
|
@@ -59,8 +59,8 @@ function submit() {
|
|
|
<view class="drawer-head"><text>{{ title }}</text><text class="close" @tap="!submitting && $emit('update:modelValue', false)">×</text></view>
|
|
|
<scroll-view class="drawer-body" scroll-y>
|
|
|
<template v-if="action === 'PUBLISH'">
|
|
|
- <view class="field"><text class="label"><b>*</b>处置人</text><picker :range="handlerLabels" :value="handlerIndex + 1" :disabled="!handlers.length" @change="selectIndex($event, 'handler')"><view class="select">{{ handlerLabels[handlerIndex + 1] }}<text>⌄</text></view></picker><text v-if="!handlers.length" class="tip">暂无符合条件且拥有预警处置权限的人员</text></view>
|
|
|
- <view class="field"><text class="label"><b>*</b>核验人</text><picker :range="reviewerLabels" :value="reviewerIndex + 1" :disabled="!reviewers.length" @change="selectIndex($event, 'reviewer')"><view class="select">{{ reviewerLabels[reviewerIndex + 1] }}<text>⌄</text></view></picker><text v-if="!reviewers.length" class="tip">暂无符合条件且拥有预警核验权限的人员</text></view>
|
|
|
+ <view class="field"><text class="label"><text class="required-mark">*</text>处置人</text><picker :range="handlerLabels" :value="handlerIndex + 1" :disabled="!handlers.length" @change="selectIndex($event, 'handler')"><view class="select">{{ handlerLabels[handlerIndex + 1] }}<text>⌄</text></view></picker><text v-if="!handlers.length" class="tip">暂无符合条件且拥有预警处置权限的人员</text></view>
|
|
|
+ <view class="field"><text class="label"><text class="required-mark">*</text>核验人</text><picker :range="reviewerLabels" :value="reviewerIndex + 1" :disabled="!reviewers.length" @change="selectIndex($event, 'reviewer')"><view class="select">{{ reviewerLabels[reviewerIndex + 1] }}<text>⌄</text></view></picker><text v-if="!reviewers.length" class="tip">暂无符合条件且拥有预警核验权限的人员</text></view>
|
|
|
</template>
|
|
|
<FormField v-if="action === 'RECEIVE' || action === 'START'" v-model="remark" label="备注" type="textarea" placeholder="可填写现场情况或操作说明" />
|
|
|
<template v-if="action === 'HANDLE'">
|
|
|
@@ -68,7 +68,7 @@ function submit() {
|
|
|
<view class="field"><text class="label">现场图片</text><UploadPanel v-model="files" :max-count="9" :max-size-mb="20" /><text class="tip">支持 JPG、JPEG、PNG,单张不超过20MB</text></view>
|
|
|
</template>
|
|
|
<template v-if="action === 'VERIFY'">
|
|
|
- <view class="field"><text class="label"><b>*</b>核验结果</text><view class="choices"><button :class="{ active: result === 'CLEAR' }" @tap="result = 'CLEAR'">通过并解除</button><button :class="{ active: result === 'RETURN' }" @tap="result = 'RETURN'">退回重办</button></view></view>
|
|
|
+ <view class="field"><text class="label"><text class="required-mark">*</text>核验结果</text><view class="choices"><button :class="{ active: result === 'CLEAR' }" @tap="result = 'CLEAR'">通过并解除</button><button :class="{ active: result === 'RETURN' }" @tap="result = 'RETURN'">退回重办</button></view></view>
|
|
|
<FormField v-model="opinion" label="核验意见" type="textarea" required placeholder="请输入现场核验结论和依据" />
|
|
|
</template>
|
|
|
</scroll-view>
|
|
|
@@ -78,5 +78,5 @@ function submit() {
|
|
|
</template>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
-.drawer-root{position:fixed;inset:0;z-index:100}.mask{position:absolute;inset:0;background:rgba(5,18,35,.55)}.drawer{position:absolute;right:0;bottom:0;left:0;overflow:hidden;border-radius:28rpx 28rpx 0 0;background:#fff}.drawer-head{display:flex;align-items:center;justify-content:space-between;height:96rpx;padding:0 30rpx;color:#122b48;border-bottom:1rpx solid #edf1f5;font-size:31rpx;font-weight:700}.close{display:flex;align-items:center;justify-content:center;width:58rpx;height:58rpx;color:#7f8c9b;border-radius:50%;background:#f2f5f8;font-size:42rpx}.drawer-body{max-height:62vh;padding:5rpx 30rpx 25rpx}.field{padding:22rpx 0;border-bottom:1rpx solid #edf1f5}.label{display:block;margin-bottom:16rpx;color:#34485f;font-size:27rpx}.label b{margin-right:6rpx;color:#e34d59}.select{display:flex;align-items:center;justify-content:space-between;height:78rpx;padding:0 20rpx;color:#43566d;border:1rpx solid #dce4ed;border-radius:12rpx;background:#f8fafc;font-size:27rpx}.choices{display:grid;grid-template-columns:1fr 1fr;gap:14rpx}.choices button{height:72rpx;margin:0;color:#52647a;border:1rpx solid #d9e1ea;border-radius:12rpx;background:#fff;font-size:24rpx;line-height:72rpx}.choices button.active{color:#08264c;border-color:#08264c;background:#eef3f8;font-weight:600}.confirm{display:flex;flex-direction:column;margin:25rpx 0;padding:26rpx;color:#2e435b;border-radius:12rpx;background:#f3f7fb;font-size:29rpx;font-weight:650}.confirm text:last-child{margin-top:12rpx;color:#7d8c9e;font-size:23rpx;font-weight:400}.tip{display:block;margin-top:14rpx;color:#97a3b1;font-size:21rpx}.drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:18rpx;padding:18rpx 26rpx calc(18rpx + env(safe-area-inset-bottom));border-top:1rpx solid #edf1f5}.drawer-actions button{height:80rpx;margin:0;border-radius:999rpx;font-size:27rpx;line-height:80rpx}.cancel{color:#43566d;border:1rpx solid #d7e0e9;background:#fff}.submit{color:#fff;background:#08264c}
|
|
|
+.drawer-root{position:fixed;inset:0;z-index:100}.mask{position:absolute;inset:0;background:rgba(5,18,35,.55)}.drawer{position:absolute;right:0;bottom:0;left:0;overflow:hidden;border-radius:28rpx 28rpx 0 0;background:#fff}.drawer-head{display:flex;align-items:center;justify-content:space-between;height:96rpx;padding:0 30rpx;color:#122b48;border-bottom:1rpx solid #edf1f5;font-size:31rpx;font-weight:700}.close{display:flex;align-items:center;justify-content:center;width:58rpx;height:58rpx;color:#7f8c9b;border-radius:50%;background:#f2f5f8;font-size:42rpx}.drawer-body{max-height:62vh;padding:5rpx 30rpx 25rpx}.field{padding:22rpx 0;border-bottom:1rpx solid #edf1f5}.label{display:block;margin-bottom:16rpx;color:#34485f;font-size:27rpx}.required-mark{margin-right:6rpx;color:#e34d59}.select{display:flex;align-items:center;justify-content:space-between;height:78rpx;padding:0 20rpx;color:#43566d;border:1rpx solid #dce4ed;border-radius:12rpx;background:#f8fafc;font-size:27rpx}.choices{display:grid;grid-template-columns:1fr 1fr;gap:14rpx}.choices button{height:72rpx;margin:0;color:#52647a;border:1rpx solid #d9e1ea;border-radius:12rpx;background:#fff;font-size:24rpx;line-height:72rpx}.choices button.active{color:#08264c;border-color:#08264c;background:#eef3f8;font-weight:600}.confirm{display:flex;flex-direction:column;margin:25rpx 0;padding:26rpx;color:#2e435b;border-radius:12rpx;background:#f3f7fb;font-size:29rpx;font-weight:650}.confirm text:last-child{margin-top:12rpx;color:#7d8c9e;font-size:23rpx;font-weight:400}.tip{display:block;margin-top:14rpx;color:#97a3b1;font-size:21rpx}.drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:18rpx;padding:18rpx 26rpx calc(18rpx + env(safe-area-inset-bottom));border-top:1rpx solid #edf1f5}.drawer-actions button{height:80rpx;margin:0;border-radius:999rpx;font-size:27rpx;line-height:80rpx}.cancel{color:#43566d;border:1rpx solid #d7e0e9;background:#fff}.submit{color:#fff;background:#08264c}
|
|
|
</style>
|