|
|
@@ -92,6 +92,7 @@ function GDLY(){
|
|
92
|
92
|
var Count = data.data;
|
|
93
|
93
|
$(Count).each(function(i, n) {
|
|
94
|
94
|
$('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>').appendTo($("#DicValueList"));
|
|
|
95
|
+ $('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>').appendTo($("#DicValueList_market"));
|
|
95
|
96
|
|
|
96
|
97
|
})
|
|
97
|
98
|
}
|
|
|
@@ -127,7 +128,7 @@ $.ajax({
|
|
127
|
128
|
$("#testInput2").val(data.Source);
|
|
128
|
129
|
$("#testInput3").val(data.Address);
|
|
129
|
130
|
$("#testInput4").val(data.Source);
|
|
130
|
|
- $("#typeclass").val(data.GDLXName);
|
|
|
131
|
+ $("#typeclass_market").val(data.GDLXName);
|
|
131
|
132
|
// $("#feedBackCon").text(decodeURIComponent(data.Detail));
|
|
132
|
133
|
changeEditor.html(decodeURIComponent(data.Detail));
|
|
133
|
134
|
$("#remark_market").text(data.Detail);
|
|
|
@@ -144,8 +145,9 @@ $.ajax({
|
|
144
|
145
|
$("#State").val(state_);
|
|
145
|
146
|
$("#States").val(data.State);
|
|
146
|
147
|
$("#DicValueList").val(data.Type);
|
|
|
148
|
+ $("#DicValueList_market").val(data.Type);
|
|
147
|
149
|
console.log(data.GDLYName)
|
|
148
|
|
- $("#typeclassId").val(data.TypeClass);
|
|
|
150
|
+ $("#typeclassId_market").val(data.TypeClass);
|
|
149
|
151
|
|
|
150
|
152
|
}
|
|
151
|
153
|
}
|
|
|
@@ -158,6 +160,7 @@ function getOrderType() {
|
|
158
|
160
|
}, function(result) {
|
|
159
|
161
|
result = $.parseJSON(result);
|
|
160
|
162
|
$.fn.zTree.init($("#TreeDemo"), setting3, result.data); //实例化树形图
|
|
|
163
|
+ $.fn.zTree.init($("#TreeDemo_market"), setting3, result.data); //实例化树形图
|
|
161
|
164
|
});
|
|
162
|
165
|
}
|
|
163
|
166
|
var setting3 = {
|
|
|
@@ -181,6 +184,8 @@ function changeTreeClick(event, treeId, treeNode) {
|
|
181
|
184
|
var changeName = treeNode.text;
|
|
182
|
185
|
$('#typeclass').val(changeName);
|
|
183
|
186
|
$('#typeclassId').val(chanId);
|
|
|
187
|
+ $('#typeclass_market').val(changeName);
|
|
|
188
|
+ $('#typeclassId_market').val(chanId);
|
|
184
|
189
|
var pidnode = treeNode.getParentNode();
|
|
185
|
190
|
};
|
|
186
|
191
|
|
|
|
@@ -197,6 +202,19 @@ $('#typeclass').click(function() {
|
|
197
|
202
|
$('.treeList').mouseleave(function() {
|
|
198
|
203
|
$(this).css('display', 'none')
|
|
199
|
204
|
})
|
|
|
205
|
+$('.down_market').click(function() {
|
|
|
206
|
+ if($('.treeList_market').css('display') == 'block') {
|
|
|
207
|
+ $('.treeList_market').css('display', 'none')
|
|
|
208
|
+ } else {
|
|
|
209
|
+ $('.treeList_market').css('display', 'block')
|
|
|
210
|
+ }
|
|
|
211
|
+})
|
|
|
212
|
+$('#typeclass_market').click(function() {
|
|
|
213
|
+ $('.treeList_market').css('display', 'block')
|
|
|
214
|
+})
|
|
|
215
|
+$('.treeList_market').mouseleave(function() {
|
|
|
216
|
+ $(this).css('display', 'none')
|
|
|
217
|
+})
|
|
200
|
218
|
|
|
201
|
219
|
//来电单位
|
|
202
|
220
|
function getAccount(obj) {
|
|
|
@@ -290,6 +308,8 @@ function saveMarket() {
|
|
290
|
308
|
tel: $('#tel_market').val(), //号码
|
|
291
|
309
|
lddep: $('#testInput3').val(), //来电单位
|
|
292
|
310
|
fkdep: $('#testInput4').val(), //反馈单位
|
|
|
311
|
+ type: $('#DicValueList_market').val(), //工单来源
|
|
|
312
|
+ typeclass: $('#typeclassId_market').val(), //工单类型id
|
|
293
|
313
|
fkcont: encodeURIComponent(changeEditor.html()), //反馈内容
|
|
294
|
314
|
callid: $("#CallID").val()
|
|
295
|
315
|
|