feat(objection): 增加售后流程的输入记忆
1. 新增异议相关的本地缓存枚举键值 2. 替换原原生输入框为MemoInput并关联对应缓存键 3. 调整"预计整改完成日期"标签为"预计完成日期" 4. 新增两个数字图标svg资源
This commit is contained in:
1
klp-ui/src/assets/icons/svg/shuzi4.svg
Normal file
1
klp-ui/src/assets/icons/svg/shuzi4.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1783757563583" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5111" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 102.4c-226.304 0-409.6 183.296-409.6 409.6s183.296 409.6 409.6 409.6 409.6-183.296 409.6-409.6-183.296-409.6-409.6-409.6z m0 760.832c-193.536 0-351.232-157.696-351.232-351.232S318.464 160.768 512 160.768 863.232 318.464 863.232 512 705.536 863.232 512 863.232z" fill="#9D9D9D" p-id="5112"></path><path d="M590.848 564.224h-16.384V368.64c0-12.288-3.072-21.504-8.192-27.648-6.144-6.144-15.36-8.192-29.696-8.192-6.144 0-11.264 1.024-15.36 2.048-4.096 1.024-8.192 3.072-12.288 7.168-4.096 3.072-8.192 8.192-12.288 14.336-4.096 6.144-10.24 14.336-16.384 24.576L366.592 552.96c-3.072 3.072-5.12 6.144-6.144 9.216-1.024 2.048-2.048 5.12-3.072 8.192-1.024 3.072-1.024 5.12-1.024 8.192v10.24c0 9.216 2.048 17.408 6.144 22.528 4.096 6.144 11.264 9.216 21.504 9.216H512v51.2c0 7.168 2.048 12.288 6.144 15.36 4.096 3.072 12.288 4.096 24.576 4.096s21.504-1.024 25.6-4.096c4.096-3.072 6.144-8.192 6.144-15.36v-51.2h16.384c9.216 0 14.336-9.216 14.336-28.672 0-18.432-5.12-27.648-14.336-27.648z m-78.848 0h-86.016L512 425.984v138.24z" fill="#9D9D9D" p-id="5113"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
1
klp-ui/src/assets/icons/svg/shuzi5.svg
Normal file
1
klp-ui/src/assets/icons/svg/shuzi5.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1783921253053" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5373" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512.048762 0C794.770286 0 1024 229.205333 1024 512.048762 1024 794.819048 794.770286 1024 512.048762 1024 229.229714 1024 0 794.794667 0 512.048762 0 229.229714 229.229714 0 512.048762 0z m0 97.52381C283.111619 97.52381 97.52381 283.062857 97.52381 512.048762 97.52381 740.937143 283.111619 926.47619 512.048762 926.47619 740.937143 926.47619 926.47619 740.937143 926.47619 512.048762 926.47619 283.111619 740.937143 97.52381 512.048762 97.52381z m-12.068572 725.333333c63.951238 0 111.981714-18.18819 144.091429-54.613333 32.109714-36.449524 48.176762-83.797333 48.176762-142.092191 0-61.513143-15.262476-109.689905-45.738667-144.481524-30.500571-34.816-73.142857-51.95581-127.902476-51.419428a166.034286 166.034286 0 0 0-53.248 8.899047 163.693714 163.693714 0 0 0-41.472 21.065143l17.798095-155.794286h229.10781V219.428571h-310.857143l-34.011429 334.262858 84.187429 6.899809c5.948952-16.725333 15.457524-29.42781 28.525714-38.034286 13.116952-8.655238 33.158095-12.970667 60.123429-12.970666 30.47619 0 53.979429 10.727619 70.436571 32.182857 16.457143 21.455238 24.673524 49.859048 24.673524 85.187047 0 36.717714-7.94819 65.438476-23.868952 86.235429-15.920762 20.772571-39.253333 31.158857-70.022096 31.158857-26.721524 0-48.37181-7.753143-64.975238-23.283809-16.579048-15.506286-24.868571-37.034667-24.868571-64.560762l-92.306286 2.852571-0.804571 2.023619c-1.340952 51.809524 15.847619 91.672381 51.614476 119.588572 35.742476 27.940571 79.530667 41.910857 131.34019 41.910857z" fill="#878F95" p-id="5374"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -24,4 +24,8 @@ export const MemoInputStorageKey = {
|
||||
maintenanceTotalHours: 'maintenanceTotalHours', // 维修明细-总耗时
|
||||
maintenanceAcceptanceUser: 'maintenanceAcceptanceUser', // 维修明细-验收人
|
||||
maintenanceRemark: 'maintenanceRemark', // 维修明细-备注
|
||||
objectionInternalConfirmer: 'objectionInternalConfirmer', // 异议-内部确认人
|
||||
objectionExternalConfirmer: 'objectionExternalConfirmer', // 异议-外部确认人
|
||||
objectionResponsibleUnit: 'objectionResponsibleUnit', // 异议-责任单位
|
||||
objectionReceiver: 'objectionReceiver', // 异议-接收人
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="确认人" prop="internalConfirmer">
|
||||
<el-input v-model="formData.internalConfirmer" placeholder="请输入确认人" @input="emitJson" />
|
||||
<MemoInput v-model="formData.internalConfirmer" storageKey="objectionInternalConfirmer" placeholder="请输入确认人" @input="emitJson" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -23,7 +23,7 @@
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="确认人" prop="externalConfirmer">
|
||||
<el-input v-model="formData.externalConfirmer" placeholder="请输入确认人" @input="emitJson" />
|
||||
<MemoInput v-model="formData.externalConfirmer" storageKey="objectionExternalConfirmer" placeholder="请输入确认人" @input="emitJson" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -33,12 +33,12 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item label="责任单位" prop="responsibleUnit">
|
||||
<el-input v-model="formData.responsibleUnit" placeholder="请输入责任单位" @input="emitJson" />
|
||||
<MemoInput v-model="formData.responsibleUnit" storageKey="objectionResponsibleUnit" placeholder="请输入责任单位" @input="emitJson" />
|
||||
</el-form-item>
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="接收人" prop="receiver">
|
||||
<el-input v-model="formData.receiver" placeholder="请输入接收人" @input="emitJson" />
|
||||
<MemoInput v-model="formData.receiver" storageKey="objectionReceiver" placeholder="请输入接收人" @input="emitJson" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -60,7 +60,7 @@
|
||||
<el-form-item label="纠正措施" prop="correctiveAction">
|
||||
<el-input v-model="formData.correctiveAction" type="textarea" :rows="3" placeholder="请输入纠正措施" @input="emitJson" />
|
||||
</el-form-item>
|
||||
<el-form-item label="预计整改完成日期" prop="rectifyDate">
|
||||
<el-form-item label="预计完成日期" prop="rectifyDate">
|
||||
<el-date-picker v-model="formData.rectifyDate" type="date" value-format="yyyy-MM-dd" placeholder="选择日期" style="width:100%" @change="emitJson" />
|
||||
</el-form-item>
|
||||
<el-form-item label="主管意见" prop="supervisorOpinion">
|
||||
@@ -99,8 +99,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MemoInput from '@/components/MemoInput'
|
||||
|
||||
export default {
|
||||
name: 'DeptOpinionForm',
|
||||
components: { MemoInput },
|
||||
props: {
|
||||
deptId: {
|
||||
type: Number,
|
||||
|
||||
Reference in New Issue
Block a user