|
|
@@ -77,6 +77,31 @@
|
|
77
|
77
|
<el-input type="textarea" :autosize="{ minRows: 6 }" v-model="arbitrateRecordt.responCrossOpin"
|
|
78
|
78
|
placeholder="请输入" />
|
|
79
|
79
|
</el-form-item> -->
|
|
|
80
|
+ <el-col :span="24">
|
|
|
81
|
+ <el-form-item label="上传裁决书:" label-width="100px" v-if="flag==1|| flag==4">
|
|
|
82
|
+ <el-upload
|
|
|
83
|
+ class="upload-demo"
|
|
|
84
|
+ accept=".doc,.docx"
|
|
|
85
|
+ ref="upload"
|
|
|
86
|
+ :action="UploadUrls()"
|
|
|
87
|
+ :headers="headers"
|
|
|
88
|
+ :data="filedatas"
|
|
|
89
|
+ :before-remove="beforeRemoves"
|
|
|
90
|
+ :limit="2"
|
|
|
91
|
+ :on-change="beforeUpload"
|
|
|
92
|
+ :on-success="handlSuccessAw"
|
|
|
93
|
+ :file-list="fileListAw"
|
|
|
94
|
+ :before-upload="beforeAvatarUploads"
|
|
|
95
|
+ >
|
|
|
96
|
+ <el-button slot="trigger" size="small" type="primary"
|
|
|
97
|
+ >选取文件</el-button
|
|
|
98
|
+ >
|
|
|
99
|
+ <div slot="tip" class="el-upload__tip">
|
|
|
100
|
+ 只能上传.doc,docx文件
|
|
|
101
|
+ </div>
|
|
|
102
|
+ </el-upload>
|
|
|
103
|
+ </el-form-item>
|
|
|
104
|
+ </el-col>
|
|
80
|
105
|
<el-form-item label="驳回原因:" label-width="100px" v-if="flag==1 && awardDetailform.arbitrateReject">
|
|
81
|
106
|
<div style="width:800px;">{{awardDetailform.arbitrateReject}}</div>
|
|
82
|
107
|
</el-form-item>
|
|
|
@@ -99,7 +124,7 @@
|
|
99
|
124
|
]">
|
|
100
|
125
|
<el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model.trim="arbitrateRecord.arbitrateReject"></el-input>
|
|
101
|
126
|
</el-form-item>
|
|
102
|
|
- <el-form-item label-width="100px" label="bmz驳回原因" v-if="agreeOrNotCheck==2 && flag ==2" prop="deptorReject"
|
|
|
127
|
+ <el-form-item label-width="100px" label="驳回原因" v-if="agreeOrNotCheck==2 && flag ==2" prop="deptorReject"
|
|
103
|
128
|
:rules="[
|
|
104
|
129
|
{ required: true, message: '请输入驳回原因', trigger: 'blur' }
|
|
105
|
130
|
]">
|
|
|
@@ -134,6 +159,7 @@ import {
|
|
134
|
159
|
regenerationDocument,
|
|
135
|
160
|
arbitratorCheckArbitrateRecord
|
|
136
|
161
|
} from "@/api/awardManagement/awardManagement";
|
|
|
162
|
+import { getToken } from "@/utils/auth";
|
|
137
|
163
|
export default {
|
|
138
|
164
|
props: ["openDialogInfor", "title", "flag", "awardDetailform","queryParams"],
|
|
139
|
165
|
data() {
|
|
|
@@ -142,6 +168,14 @@ export default {
|
|
142
|
168
|
arbitrateRecordt: {},
|
|
143
|
169
|
agreeOrNotCheck:1,
|
|
144
|
170
|
form: {},
|
|
|
171
|
+ headers: {
|
|
|
172
|
+ Authorization: "Bearer " + getToken(),
|
|
|
173
|
+ },
|
|
|
174
|
+ filedatas: {
|
|
|
175
|
+ annexType: 3,
|
|
|
176
|
+ id:null
|
|
|
177
|
+ },
|
|
|
178
|
+ fileListAw:[],
|
|
145
|
179
|
arbitrateRecord: {
|
|
146
|
180
|
// checkOpinion:"同意"
|
|
147
|
181
|
checkOpinion: ""
|
|
|
@@ -340,6 +374,23 @@ export default {
|
|
340
|
374
|
this.awardFileArr[0] = res.data.annexName;
|
|
341
|
375
|
this.awardPathArr[0] = res.data.annexPath;
|
|
342
|
376
|
})
|
|
|
377
|
+ },
|
|
|
378
|
+ // 上传裁决书
|
|
|
379
|
+ UploadUrls() {
|
|
|
380
|
+ return window.location.origin + "/API/evidence/uploadRecord";
|
|
|
381
|
+ },
|
|
|
382
|
+ beforeRemoves(file,fileList){
|
|
|
383
|
+ return this.$confirm(`确定移除 ${file.name}?`);
|
|
|
384
|
+ },
|
|
|
385
|
+ beforeUpload(flie, fileList) {
|
|
|
386
|
+ // this.fileList = fileList;
|
|
|
387
|
+ },
|
|
|
388
|
+ // 上传文件成功
|
|
|
389
|
+ handlSuccessAw(res, file) {
|
|
|
390
|
+ // this.fileListAw.push(file);
|
|
|
391
|
+ },
|
|
|
392
|
+ beforeAvatarUploads(){
|
|
|
393
|
+ this.filedatas.id = this.awardDetailform.id;
|
|
343
|
394
|
},
|
|
344
|
395
|
submitForm(parms) {
|
|
345
|
396
|
let that = this;
|