Просмотр исходного кода

Merge branch 'hcb' of SH-Arbitrate/Mediation-Frontend into dev

hanchaobo 2 лет назад
Родитель
Сommit
fe0833dd32
2 измененных файлов: 8 добавлений и 8 удалений
  1. 7
    7
      src/views/caseManagement/components/mediation.vue
  2. 1
    1
      vue.config.js

+ 7
- 7
src/views/caseManagement/components/mediation.vue Просмотреть файл

@@ -46,7 +46,7 @@
46 46
         </el-col>
47 47
         <el-col :span="24" v-if="mediationType">
48 48
           <el-form-item label="调解结果:">
49
-            <el-radio-group v-model="mediaResult" :disabled="!isSecretaryRole" @change="resultsMediation">
49
+            <el-radio-group v-model="mediaResult" :disabled="!isSecretaryRole && !selectRoido" @change="resultsMediation">
50 50
               <el-radio :label="1">达成调解</el-radio>
51 51
               <el-radio :label="2">未达成调解</el-radio>
52 52
               <el-radio :label="3">未达成调解但不在争议</el-radio>
@@ -119,7 +119,7 @@
119 119
           <span>取 消</span>
120 120
         </el-button>
121 121
         <el-button v-if="isSecretaryRole" :loading="loadingSubmit" @click="submitMediation"
122
-          :disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1'" class="endbutton1"
122
+          :disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1' && isSecretaryRole" class="endbutton1"
123 123
           type="primary" round>
124 124
           提 交
125 125
         </el-button>
@@ -170,7 +170,8 @@ export default {
170 170
       fileList: [],
171 171
       attachList: [],
172 172
       isSecretaryRole: true,
173
-      loadingSubmit: false
173
+      loadingSubmit: false,
174
+      selectRoido:true
174 175
     };
175 176
   },
176 177
   watch: {
@@ -200,9 +201,9 @@ export default {
200 201
         userId: this.userId
201 202
       }).then(res => {
202 203
          this.isSecretaryRole = res.data.isSecretaryRole;
203
-        //  if(this.recordArrMediate){
204
-        //   this.isSecretaryRole = false
205
-        // }
204
+         if(this.recordArrMediate.length > 0){
205
+          this.selectRoido = false
206
+        }
206 207
       })
207 208
     },
208 209
     /**上传地址*/
@@ -257,7 +258,6 @@ export default {
257 258
       caseApplicationSelectById({
258 259
         id: this.mediationData.id
259 260
       }).then(res => {
260
-        console.log(res)
261 261
         res.data.caseAttachList.forEach(item => {
262 262
           if (item.annexType == 6) {
263 263
             this.recordArr.push(item);

+ 1
- 1
vue.config.js Просмотреть файл

@@ -12,7 +12,7 @@ const name = process.env.VUE_APP_TITLE || '调解系统' // 网页标题
12 12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13 13
 
14 14
 // const API = 'http://121.40.189.20:9001'  //生产
15
-const API = 'http://121.40.189.20:7001'  //测试
15
+const API = 'http://121.40.189.20:6001'  //测试
16 16
 // const API = 'http://192.168.3.18:6001'  //B
17 17
 // const API = 'http://172.16.0.237:6001' //Q
18 18
 // const API = 'http://172.16.1.43:6001' //w