|
@@ -81,7 +81,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'selectpage'], functi
|
|
|
},
|
|
|
formatter:{
|
|
|
operate: function (value, row, index) {
|
|
|
- console.log(row);
|
|
|
var table = this.table;
|
|
|
// 操作配置
|
|
|
var options = table ? table.bootstrapTable('getOptions') : {};
|
|
@@ -285,7 +284,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'selectpage'], functi
|
|
|
};
|
|
|
|
|
|
// 检测保护单位名称
|
|
|
- TestingName = function () {
|
|
|
+ $('.btn-TestingName').click(function () {
|
|
|
var unit_name = $('#c-unit_name').val();
|
|
|
if(unit_name != null){
|
|
|
$.ajax({
|
|
@@ -302,7 +301,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'selectpage'], functi
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- };
|
|
|
+ });
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -311,4 +311,4 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'selectpage'], functi
|
|
|
|
|
|
return Controller;
|
|
|
});
|
|
|
-var addFollow,TestingName;
|
|
|
+var addFollow;
|