This commit is contained in:
shijingjing
2022-04-02 13:59:27 +08:00
parent a9aa0c32e8
commit b3ec72ac6c
4 changed files with 146 additions and 148 deletions

View File

@@ -4,10 +4,14 @@
<template #title>
<ai-title :title="params.id ? '编辑失信被执行人' : '新增失信被执行人'" :isShowBack="true" :isShowBottomBorder="true" @onBackClick="cancel(false)" />
</template>
<template #content>
<div class="add-form">
<ai-bar title="失信被执行人信息"></ai-bar>
<el-form ref="forms" :model="forms" :rules="formRules" size="small" label-width="150px">
<template slot="content">
<ai-card title="基本信息">
<template #right v-if="params.id">
<span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="isEdit==true" @click="isEdit=false">取消</span>
<span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="isEdit==true" @click="comfirm()">保存</span>
</template>
<template #content>
<el-form ref="forms" :model="forms" :rules="formRules" size="small" label-width="150px">
<el-row type="flex">
<el-col :span="20">
<el-form-item label="执行案号" prop="executionCode">
@@ -48,8 +52,9 @@
<el-form-item label="失信事实" prop="dishonestFact">
<el-input v-model="forms.dishonestFact" placeholder="请输入失信事实" type="textarea" show-word-limit maxlength="500" :rows="5"></el-input>
</el-form-item>
</el-form>
</div>
</el-form>
</template>
</ai-card>
</template>
<template slot="footer" class="footer">
<el-button class="delete-btn footer-btn" @click="cancel(false)">取消</el-button>
@@ -60,19 +65,14 @@
<ai-detail class="add" v-if="id && !isEdit">
<template slot="title">
<ai-title title="详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)"></ai-title>
</template>
<template slot="content">
<ai-card title="基本信息">
<template #right>
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="isEdit=true,forms=data">修改</span>
<!-- <span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="editOne==true" @click="searchDetail(),editOne=false">取消</span> -->
<!-- <span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="editOne==true" @click="save()">保存</span> -->
</template>
<template #content>
<ai-wrapper>
<!-- dict.getLabel('fpRiskType', info.riskType) -->
<!-- {{ dict.getLabel('dishonestPersonSituation',data.executionSituation) }} -->
<ai-info-item label="执行案号" :value="data.executionCode"></ai-info-item>
<ai-info-item label="执行法院" :value="data.executionCourt"></ai-info-item>
<ai-info-item label="执行时间" :value="data.executionTime"></ai-info-item>