|
|
@ -4,6 +4,7 @@ |
|
|
|
<div class="tab-header webtop"> |
|
|
|
<div>{{ viewTitle }}</div> |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" @click="lookCourseOfTheCase()">查看案件</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate()">保存</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()">提交</el-button> |
|
|
|
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|
|
@ -169,6 +170,8 @@ |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 查看案件 --> |
|
|
|
<courseofthecaseInfo v-show="viewState == 2" ref="divAnJian" @doback="resetState" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -176,11 +179,13 @@ |
|
|
|
import req from '@/api/caseexecution/caseexecution' |
|
|
|
import { typeValues } from '@/api/Common/dictcommons' |
|
|
|
import uploadImg from '@/components/uploadFile/uploadImg' |
|
|
|
import courseofthecaseInfo from '../courseofthecase/courseofthecaseInfo' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'CaseExecutionAdd', |
|
|
|
components: { |
|
|
|
uploadImg |
|
|
|
uploadImg, |
|
|
|
courseofthecaseInfo |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -196,6 +201,7 @@ export default { |
|
|
|
bankContract: '', |
|
|
|
bankName: '', |
|
|
|
billNo: '', |
|
|
|
busSid: '', |
|
|
|
caseCreateDate: '', |
|
|
|
caseNo: '', |
|
|
|
caseType: '', |
|
|
@ -295,6 +301,17 @@ export default { |
|
|
|
this.formobj.executeDeadline = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
lookCourseOfTheCase() { |
|
|
|
if (this.formobj.busSid !== '') { |
|
|
|
this.viewState = 2 |
|
|
|
this.$refs['divAnJian'].showInfo({ sid: this.formobj.busSid }) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '暂无案件记录' }) |
|
|
|
} |
|
|
|
}, |
|
|
|
resetState() { |
|
|
|
this.viewState = 1 |
|
|
|
}, |
|
|
|
saveOrUpdate() { |
|
|
|
this.$refs['form_obj'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
@ -336,6 +353,7 @@ export default { |
|
|
|
bankContract: '', |
|
|
|
bankName: '', |
|
|
|
billNo: '', |
|
|
|
busSid: '', |
|
|
|
caseCreateDate: '', |
|
|
|
caseNo: '', |
|
|
|
caseType: '', |
|
|
|