案件归档,审核修改tab,修改bug,模板字段接口联调
This commit is contained in:
@@ -88,11 +88,17 @@
|
||||
</el-col>
|
||||
<!-- 申请人仲裁诉求 -->
|
||||
<el-col :span="24">
|
||||
<el-form-item label="申请人仲裁请求及事实和理由" prop="arbitratClaims">
|
||||
<el-form-item label="申请人仲裁请求" prop="arbitratClaims">
|
||||
<el-input v-model="formData.arbitratClaims" placeholder="请输入申请人仲裁诉求" type="textarea"
|
||||
:autosize="{ minRows: 4, maxRows: 8 }" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="事实和理由" prop="arbitratClaims">
|
||||
<el-input v-model="formData.arbitratClaims" placeholder="请输入申请人仲裁诉求" type="textarea"
|
||||
:autosize="{ minRows: 4, maxRows: 8 }" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请人案件证据资料上传:" prop="applicantEvidence" v-if="flag !== '0'">
|
||||
<el-upload class="upload-demo" ref="fileupload" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
|
||||
@@ -493,6 +499,7 @@
|
||||
<el-form-item label="被申请人性别:" :prop="'paymentArr1.' + index + '.responSex'" :rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请选择性别'
|
||||
},
|
||||
]">
|
||||
<el-radio-group v-model="itm.responSex">
|
||||
@@ -606,33 +613,22 @@
|
||||
</div>
|
||||
|
||||
<div v-show="activeName=='second'" style="margin-top:20px;">
|
||||
<el-form :model="formGrab" ref="formGrabRef" label-width="120px" :disabled ="flag == '0'">
|
||||
<el-form :model="formGrab" label-width="120px" :disabled ="flag == '0'">
|
||||
|
||||
<el-form-item v-for="(item,index) in formGrab.list" :prop="'list.' + index + '.value'" :label="item.name" :key="item.id"
|
||||
:rules="{
|
||||
required: true,
|
||||
message: '内容不能为空',
|
||||
trigger: 'blur'
|
||||
}"
|
||||
>
|
||||
<el-form-item v-for="(item,index) in formGrab.list" :label="item.name" :key="item.id">
|
||||
<el-input type="textarea" v-model="item.value"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
<el-col :span="24">
|
||||
<!-- <el-col :span="24">
|
||||
<div style="text-align:center;margin-top:50px;">
|
||||
<el-button type="primary" @click="submitFormGrab" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- <div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
</div> -->
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
@@ -827,7 +823,6 @@ export default {
|
||||
if (this.flag == "1" || this.flag == "0") {
|
||||
this.form2.paymentArr = this.initpaymentArr;
|
||||
this.form3.paymentArr1 = this.initpaymentArr1;
|
||||
console.log(this.caseAttachList)
|
||||
this.caseAttachList.forEach((item) => {
|
||||
if (item.annexType == 2) {
|
||||
this.applicateArr.push({
|
||||
@@ -950,16 +945,16 @@ export default {
|
||||
this.$emit("cancel");
|
||||
},
|
||||
// 校验借款开始日期与结束日期
|
||||
// setStartTime() {
|
||||
// if (
|
||||
// this.setTime(this.formData.loanStartDate) >=
|
||||
// this.setTime(this.formData.loanEndDate)
|
||||
// ) {
|
||||
// this.$message.error("借款开始日期应早于借款结束日期");
|
||||
// this.formData.loanStartDate = "";
|
||||
// this.formData.loanEndDate = "";
|
||||
// }
|
||||
// },
|
||||
setStartTime() {
|
||||
if (
|
||||
this.setTime(this.formData.loanStartDate) >=
|
||||
this.setTime(this.formData.loanEndDate)
|
||||
) {
|
||||
this.$message.error("借款开始日期应早于借款结束日期");
|
||||
this.formData.loanStartDate = "";
|
||||
this.formData.loanEndDate = "";
|
||||
}
|
||||
},
|
||||
setEndTime() {
|
||||
if (
|
||||
this.setTime(this.formData.loanEndDate) <=
|
||||
@@ -1039,7 +1034,7 @@ export default {
|
||||
"YYYY-MM-DD HH:mm:ss"
|
||||
);
|
||||
if (this.formData.id) {
|
||||
// this.formData['columnValues'] = this.formGrab.list
|
||||
this.formData['columnValues'] = this.formGrab.list
|
||||
editCaseApply({
|
||||
...this.formData,
|
||||
caseAffiliates: this.formData.caseAffiliates,
|
||||
@@ -1070,22 +1065,22 @@ export default {
|
||||
});
|
||||
},
|
||||
// 提交抓取内容修改
|
||||
submitFormGrab(){
|
||||
this.$refs['formGrabRef'].validate((valid) => {
|
||||
if(valid){
|
||||
this.formGrabList['columnValues']= this.formGrab.list
|
||||
// submitFormGrab(){
|
||||
// this.$refs['formGrabRef'].validate((valid) => {
|
||||
// if(valid){
|
||||
// this.formGrabList['columnValues']= this.formGrab.list
|
||||
|
||||
console.log(this.formGrabList)
|
||||
editCaseApplicationDefineval({columnValues:this.formGrab.list}).then(res=>{
|
||||
if (res.code == 200) {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
// console.log(this.formGrabList)
|
||||
// editCaseApplicationDefineval({columnValues:this.formGrab.list}).then(res=>{
|
||||
// if (res.code == 200) {
|
||||
// this.$modal.msgSuccess("修改成功");
|
||||
// this.$emit("cancel");
|
||||
// this.getcaseApply(this.queryParams);
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
// 详情显示,展示申请人案件文件
|
||||
toFile(item, index) {
|
||||
window.open(
|
||||
|
||||
Reference in New Issue
Block a user