|
@@ -51,12 +51,14 @@
|
51
|
51
|
></cube-form-item>
|
52
|
52
|
<cube-form-item :field="fields[1]"></cube-form-item>
|
53
|
53
|
<cube-form-item :field="fields[2]" class="btn_plcaeholde">
|
54
|
|
- <cube-button @click="showPlacePicker()">{{selectedPlaceTxt?selectedPlaceTxt:'请选择区域地点'}}</cube-button>
|
|
54
|
+ <cube-button @click="showPlacePicker()">{{
|
|
55
|
+ selectedPlaceTxt ? selectedPlaceTxt : "请选择区域地点"
|
|
56
|
+ }}</cube-button>
|
55
|
57
|
</cube-form-item>
|
56
|
58
|
<!-- 故障地点: -->
|
57
|
59
|
<!-- <cube-form-item :field="fields[19]" class="btn_plcaeholde btn_local"> -->
|
58
|
|
- <!-- <cube-button @click="showPlacePicker()">{{selectedPlaceTxt?selectedPlaceTxt:'请输入故障地点'}}</cube-button> -->
|
59
|
|
- <!-- <input
|
|
60
|
+ <!-- <cube-button @click="showPlacePicker()">{{selectedPlaceTxt?selectedPlaceTxt:'请输入故障地点'}}</cube-button> -->
|
|
61
|
+ <!-- <input
|
60
|
62
|
type="text"
|
61
|
63
|
class="inp_local"
|
62
|
64
|
placeholder="请输入故障地点"
|
|
@@ -282,9 +284,12 @@ const solution = {
|
282
|
284
|
});
|
283
|
285
|
}
|
284
|
286
|
});
|
285
|
|
-
|
286
|
|
- that.selectData = tree;
|
287
|
|
- // console.log(that.selectData);
|
|
287
|
+ var arrTree = [];
|
|
288
|
+ tree.forEach(function(v) {
|
|
289
|
+ arrTree.push(v);
|
|
290
|
+ });
|
|
291
|
+ that.selectData = arrTree;
|
|
292
|
+ console.log(arrTree);
|
288
|
293
|
|
289
|
294
|
that.picker = that.$createCascadePicker({
|
290
|
295
|
title: "知识库类型选择",
|
|
@@ -1256,11 +1261,11 @@ export default {
|
1256
|
1261
|
this.order = 2;
|
1257
|
1262
|
this.model.handleUserOrGroup = false;
|
1258
|
1263
|
this.model.candidateGroups = sj.group.id;
|
1259
|
|
- }else{
|
|
1264
|
+ } else {
|
1260
|
1265
|
this.order = 1;
|
1261
|
1266
|
this.model.handleUserOrGroup = false;
|
1262
|
|
- this.model.handlerUser = '';
|
1263
|
|
- this.model.candidateGroups = '';
|
|
1267
|
+ this.model.handlerUser = "";
|
|
1268
|
+ this.model.candidateGroups = "";
|
1264
|
1269
|
}
|
1265
|
1270
|
},
|
1266
|
1271
|
// 事件分类
|