067abc12 by 任超

style:区县接入详情

1 parent 8fcb3052
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
3 <el-input type="textarea" :rows="6" :disabled="$store.state.business.Edit" placeholder="配置参数" v-model="resultInfo"> 3 <el-input type="textarea" :rows="6" :disabled="$store.state.business.Edit" placeholder="配置参数" v-model="resultInfo">
4 </el-input> 4 </el-input>
5 <div class="d-center" v-if="!$store.state.business.Edit"> 5 <div class="d-center" v-if="!$store.state.business.Edit">
6 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn> 6 <btn nativeType="cx" @click="submitForm">重新上报</btn>
7 <btn nativeType="cx" @click="submitForm">确 定</btn>
8 </div> 7 </div>
9 </div> 8 </div>
10 </template> 9 </template>
......
...@@ -24,9 +24,8 @@ ...@@ -24,9 +24,8 @@
24 </el-col> 24 </el-col>
25 <el-col :span="6"> 25 <el-col :span="6">
26 <el-form-item label="至" prop="receiveEndTime" label-width="35px"> 26 <el-form-item label="至" prop="receiveEndTime" label-width="35px">
27 <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" 27 <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" clearable
28 clearable v-model="form.receiveEndTime" value-format="yyyy-MM-dd HH:mm:ss" 28 v-model="form.receiveEndTime" value-format="yyyy-MM-dd HH:mm:ss" @change="endTimeChange"></el-date-picker>
29 @change="endTimeChange"></el-date-picker>
30 </el-form-item> 29 </el-form-item>
31 </el-col> 30 </el-col>
32 <el-col :span="6"> 31 <el-col :span="6">
...@@ -192,7 +191,7 @@ export default { ...@@ -192,7 +191,7 @@ export default {
192 <el-button 191 <el-button
193 type="primary" 192 type="primary"
194 onClick={() => { 193 onClick={() => {
195 this.handleEdit(scope.row); 194 this.handleDetails(scope.row);
196 }} 195 }}
197 > 196 >
198 详情 197 详情
...@@ -245,7 +244,35 @@ export default { ...@@ -245,7 +244,35 @@ export default {
245 // 结果 244 // 结果
246 handleResult (row) { 245 handleResult (row) {
247 this.$popupDialog('响应结果', 'views/jsbwcx/components/result', row) 246 this.$popupDialog('响应结果', 'views/jsbwcx/components/result', row)
247 },
248 // 详情
249 handleDetails (row) {
250 if (row.rectypeName) {
251 this.title = row.rectypeName
252 } else {
253 let Title = ''
254 this.dicData['A21'].map(item => {
255 if (item.DCODE == row.DJLX || item.DCODE == row.djlx) {
256 Title = item.DNAME
257 return
258 }
259 })
260
261 this.dicData['A8'].map(item => {
262 if (item.DCODE == row.QLLX || item.DCODE == row.qllx) {
263 Title += '-' + item.DNAME
264 return
248 } 265 }
266 })
267 this.title = Title
268 }
269 this.$refs.editLog.isShow(row);
270 if (row.receiveState == 2) {
271 this.$store.dispatch('business/setReportLogEdit')
272 } else {
273 this.$store.dispatch('business/setEdit')
274 }
275 },
249 } 276 }
250 } 277 }
251 </script> 278 </script>
......