|
|
@@ -2,7 +2,13 @@
|
|
2
|
2
|
<div>
|
|
3
|
3
|
<el-dialog :title="dialogtitle" :visible="visible" @close="cancel" width="1000px" append-to-body
|
|
4
|
4
|
:destroy-on-close="true" center>
|
|
5
|
|
- <!-- 案件信息 -->
|
|
|
5
|
+ <!-- tab页 -->
|
|
|
6
|
+ <el-tabs v-model="activeName" @tab-click="handleClick" v-show="form.id != undefined && form.id != null">
|
|
|
7
|
+ <el-tab-pane label="案件基本信息" name="first"></el-tab-pane>
|
|
|
8
|
+ <el-tab-pane label="抓取内容" name="second"></el-tab-pane>
|
|
|
9
|
+ </el-tabs>
|
|
|
10
|
+ <div v-show="activeName=='first'">
|
|
|
11
|
+ <!-- 案件信息 -->
|
|
6
|
12
|
<el-form ref="form" :model="formData" :rules="rules" label-width="150px" :disabled="flag == '0'">
|
|
7
|
13
|
<div style="display: inline-flex">
|
|
8
|
14
|
<div class="infoIcon"></div>
|
|
|
@@ -583,19 +589,47 @@
|
|
583
|
589
|
@click="generateForm1()"
|
|
584
|
590
|
>新增被申请人主体信息</el-button
|
|
585
|
591
|
> -->
|
|
586
|
|
- <div>
|
|
587
|
|
- <div style="display: inline-flex">
|
|
588
|
|
- <div class="infoIcon"></div>
|
|
589
|
|
- <div class="caseInfo2">仲裁申请书:</div>
|
|
|
592
|
+ <div>
|
|
|
593
|
+ <div style="display: inline-flex">
|
|
|
594
|
+ <div class="infoIcon"></div>
|
|
|
595
|
+ <div class="caseInfo2">仲裁申请书:</div>
|
|
|
596
|
+ </div>
|
|
|
597
|
+ <div v-for="item in caseAttachList" :key ="item.annexId" v-if="item.annexType==1" style="margin-top:-25px;margin-left:100px;">
|
|
|
598
|
+ <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
|
|
590
|
599
|
</div>
|
|
591
|
|
- <div v-for="item in caseAttachList" :key ="item.annexId" v-if="item.annexType==1" style="margin-top:-25px;margin-left:100px;">
|
|
592
|
|
- <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
|
|
593
|
600
|
</div>
|
|
|
601
|
+ <div slot="footer" class="dialog-footer" style="text-align:center;margin-top:20px;">
|
|
|
602
|
+ <el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
|
|
|
603
|
+ <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
|
|
604
|
+ </div>
|
|
|
605
|
+
|
|
594
|
606
|
</div>
|
|
595
|
|
- <div slot="footer" class="dialog-footer">
|
|
596
|
|
- <el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
|
|
597
|
|
- <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
|
|
607
|
+
|
|
|
608
|
+ <div v-show="activeName=='second'" style="margin-top:20px;">
|
|
|
609
|
+ <el-form :model="formGrab" ref="formGrabRef" label-width="120px" :disabled ="flag == '0'">
|
|
|
610
|
+ <el-col :span="15">
|
|
|
611
|
+ <el-form-item v-for="(item,index) in formGrab.list" :prop="'list.' + index + '.value'" :label="item.column" :key="item.id"
|
|
|
612
|
+ :rules="{
|
|
|
613
|
+ required: true,
|
|
|
614
|
+ message: '内容不能为空',
|
|
|
615
|
+ trigger: 'blur'
|
|
|
616
|
+ }"
|
|
|
617
|
+ >
|
|
|
618
|
+ <el-input type="textarea" v-model="item.value"></el-input>
|
|
|
619
|
+ </el-form-item>
|
|
|
620
|
+ </el-col>
|
|
|
621
|
+ </el-form>
|
|
|
622
|
+ <el-col :span="24">
|
|
|
623
|
+ <div style="text-align:center;margin-top:50px;">
|
|
|
624
|
+ <el-button type="primary" @click="submitFormGrab" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
|
|
|
625
|
+ <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
|
|
626
|
+ </div>
|
|
|
627
|
+ </el-col>
|
|
|
628
|
+
|
|
|
629
|
+
|
|
598
|
630
|
</div>
|
|
|
631
|
+
|
|
|
632
|
+
|
|
599
|
633
|
</el-dialog>
|
|
600
|
634
|
</div>
|
|
601
|
635
|
</template>
|
|
|
@@ -615,9 +649,11 @@ export default {
|
|
615
|
649
|
"initpaymentArr1",
|
|
616
|
650
|
"queryParams",
|
|
617
|
651
|
"caseAttachList",
|
|
|
652
|
+ "columnValues"
|
|
618
|
653
|
],
|
|
619
|
654
|
data() {
|
|
620
|
655
|
return {
|
|
|
656
|
+ activeName: 'first',
|
|
621
|
657
|
fileURL: window.location.origin + "/API",
|
|
622
|
658
|
formData: this.form,
|
|
623
|
659
|
filedata: {
|
|
|
@@ -664,6 +700,10 @@ export default {
|
|
664
|
700
|
},
|
|
665
|
701
|
],
|
|
666
|
702
|
}, //被申请人主体信息
|
|
|
703
|
+ // 抓取内容
|
|
|
704
|
+ formGrab:{
|
|
|
705
|
+ list:[]
|
|
|
706
|
+ },
|
|
667
|
707
|
// 表单校验
|
|
668
|
708
|
rules: {
|
|
669
|
709
|
// caseNum: [
|
|
|
@@ -772,6 +812,8 @@ export default {
|
|
772
|
812
|
watch: {
|
|
773
|
813
|
initpaymentArr: {
|
|
774
|
814
|
handler(val) {
|
|
|
815
|
+ this.activeName = "first"
|
|
|
816
|
+ this.formGrab.list = this.columnValues
|
|
775
|
817
|
this.caseAttachListArr = []
|
|
776
|
818
|
if (val) {
|
|
777
|
819
|
this.applicateArr = [];
|
|
|
@@ -781,6 +823,7 @@ export default {
|
|
781
|
823
|
if (this.flag == "1" || this.flag == "0") {
|
|
782
|
824
|
this.form2.paymentArr = this.initpaymentArr;
|
|
783
|
825
|
this.form3.paymentArr1 = this.initpaymentArr1;
|
|
|
826
|
+ console.log(this.caseAttachList)
|
|
784
|
827
|
this.caseAttachList.forEach((item) => {
|
|
785
|
828
|
if (item.annexType == 2) {
|
|
786
|
829
|
this.applicateArr.push({
|
|
|
@@ -1021,6 +1064,12 @@ export default {
|
|
1021
|
1064
|
}
|
|
1022
|
1065
|
});
|
|
1023
|
1066
|
},
|
|
|
1067
|
+ // 提交抓取内容修改
|
|
|
1068
|
+ submitFormGrab(){
|
|
|
1069
|
+ this.$refs['formGrabRef'].validate((valid) => {
|
|
|
1070
|
+ console.log(this.formGrab.list,valid)
|
|
|
1071
|
+ });
|
|
|
1072
|
+ },
|
|
1024
|
1073
|
// 详情显示,展示申请人案件文件
|
|
1025
|
1074
|
toFile(item, index) {
|
|
1026
|
1075
|
window.open(
|
|
|
@@ -1035,6 +1084,10 @@ export default {
|
|
1035
|
1084
|
"_black"
|
|
1036
|
1085
|
);
|
|
1037
|
1086
|
},
|
|
|
1087
|
+ // tabs页
|
|
|
1088
|
+ handleClick(tab, event) {
|
|
|
1089
|
+ // console.log(tab, event);
|
|
|
1090
|
+ }
|
|
1038
|
1091
|
},
|
|
1039
|
1092
|
};
|
|
1040
|
1093
|
</script>
|