|
|
@@ -15,7 +15,6 @@ var $tableLeft = $('#tbr');
|
|
15
|
15
|
var $tableLeft1 = $('#tb1');
|
|
16
|
16
|
var token = $.cookie("token");
|
|
17
|
17
|
IndexCategoryGe();
|
|
18
|
|
-Select();
|
|
19
|
18
|
//所有指标
|
|
20
|
19
|
$(".rightAll").click(function() {
|
|
21
|
20
|
Finish();
|
|
|
@@ -171,28 +170,7 @@ $(".leftChange ").click(function() {
|
|
171
|
170
|
}
|
|
172
|
171
|
})
|
|
173
|
172
|
|
|
174
|
|
-//下拉框
|
|
175
|
|
-function Select() {
|
|
176
|
|
- $.ajax({
|
|
177
|
|
- type: "get",
|
|
178
|
|
- url: huayi.config.callcenter_url + "IndexCategory/GetList",
|
|
179
|
|
- // url:'//117.158.196.116:8878/IndexCategory/GetList',
|
|
180
|
|
- dataType: 'json',
|
|
181
|
|
- async: true,
|
|
182
|
|
- data: {
|
|
183
|
|
- token: token
|
|
184
|
|
- },
|
|
185
|
|
- success: function(data) {
|
|
186
|
|
- console.log(data.rows);
|
|
187
|
|
- var conent = data.rows;
|
|
188
|
|
- for(var i = 0; i < conent.length; i++) {
|
|
189
|
|
- if(conent[i].F_ParentId == 0) {
|
|
190
|
|
- $('<option value="' + conent[i].F_ParentId + '">' + conent[i].F_CategoryName + '</option>').appendTo($("#Left_ParentId"))
|
|
191
|
|
- }
|
|
192
|
|
- }
|
|
193
|
|
- }
|
|
194
|
|
- });
|
|
195
|
|
-}
|
|
|
173
|
+
|
|
196
|
174
|
|
|
197
|
175
|
|
|
198
|
176
|
//增加
|
|
|
@@ -223,7 +201,6 @@ function XQ(Left_Cids) {
|
|
223
|
201
|
},
|
|
224
|
202
|
success: function(data) {
|
|
225
|
203
|
if(data.state.toLowerCase() == 'success') {
|
|
226
|
|
- console.log(data);
|
|
227
|
204
|
$('.Title').text(data.data.F_Title);
|
|
228
|
205
|
$(".F_Remark").text(data.data.F_Remark);
|
|
229
|
206
|
var Questions = data.data.F_Questions;
|