|
|
@@ -1,6 +1,6 @@
|
|
|
$(function () {
|
|
|
$("#jqGrid").jqGrid({
|
|
|
- url: baseURL + 'wjxy/expert/page',
|
|
|
+ url: baseURL + 'qyh/expert/page',
|
|
|
datatype: "json",
|
|
|
colModel: [
|
|
|
{ label: 'id', name: 'id', index: 'id', width: 50, key: true ,hidden: true},
|
|
|
@@ -162,7 +162,7 @@ var vm = new Vue({
|
|
|
// var ids = val.join()bvvbbbvbvbv
|
|
|
$.ajax({
|
|
|
type: "POST",
|
|
|
- url: baseURL + 'wjxy/store/getByIdList',
|
|
|
+ url: baseURL + 'qyh/store/getByIdList',
|
|
|
contentType: "application/json",
|
|
|
data: JSON.stringify(val),
|
|
|
success: function(r){
|
|
|
@@ -311,7 +311,7 @@ var vm = new Vue({
|
|
|
vm.wjxyExpert.goodLabels = vm.goodLabels.join()
|
|
|
}
|
|
|
vm.wjxyExpert.province = 420000
|
|
|
- var url = vm.wjxyExpert.id == null ? "wjxy/expert/save" : "wjxy/expert/update";
|
|
|
+ var url = vm.wjxyExpert.id == null ? "qyh/expert/save" : "qyh/expert/update";
|
|
|
var type = vm.wjxyExpert.id == null ? "POST" : "PUT";
|
|
|
$.ajax({
|
|
|
type: type,
|
|
|
@@ -348,7 +348,7 @@ var vm = new Vue({
|
|
|
lock = true;
|
|
|
$.ajax({
|
|
|
type: "DELETE",
|
|
|
- url: baseURL + "wjxy/expert/delete",
|
|
|
+ url: baseURL + "qyh/expert/delete",
|
|
|
contentType: "application/json",
|
|
|
data: JSON.stringify(ids),
|
|
|
success: function(r){
|
|
|
@@ -377,7 +377,7 @@ var vm = new Vue({
|
|
|
console.log(vm2.workStu.expertId)
|
|
|
},
|
|
|
getInfo: function(id){
|
|
|
- $.get(baseURL + "wjxy/expert/info/"+id, function(r){
|
|
|
+ $.get(baseURL + "qyh/expert/info/"+id, function(r){
|
|
|
vm.getLabel()
|
|
|
vm.wjxyExpert = r.expert;
|
|
|
console.log(vm.wjxyExpert.area)
|
|
|
@@ -444,7 +444,7 @@ var vm = new Vue({
|
|
|
|
|
|
$(function () {
|
|
|
$("#jqGrid2").jqGrid({
|
|
|
- url: baseURL + 'wjxy/experttopic/page',
|
|
|
+ url: baseURL + 'qyh/experttopic/page',
|
|
|
postData: {expertId: vm2.parent},
|
|
|
datatype: "json",
|
|
|
colModel: [
|
|
|
@@ -637,7 +637,7 @@ var vm2 = new Vue({
|
|
|
lock = true;
|
|
|
$.ajax({
|
|
|
type: "DELETE",
|
|
|
- url: baseURL + "wjxy/experttopic/delete",
|
|
|
+ url: baseURL + "qyh/experttopic/delete",
|
|
|
contentType: "application/json",
|
|
|
data: JSON.stringify(ids),
|
|
|
success: function(r){
|
|
|
@@ -654,7 +654,7 @@ var vm2 = new Vue({
|
|
|
});
|
|
|
},
|
|
|
getInfo: function(id){
|
|
|
- $.get(baseURL + "wjxy/experttopic/info/"+id, function(r){
|
|
|
+ $.get(baseURL + "qyh/experttopic/info/"+id, function(r){
|
|
|
vm2.workStu = r.expertTopic;
|
|
|
});
|
|
|
},
|
|
|
@@ -791,7 +791,7 @@ var vm2 = new Vue({
|
|
|
layer.msg('[状态]不能为空',{icon:5});
|
|
|
return false;
|
|
|
}
|
|
|
- var url = vm2.workStu.id == null ? "wjxy/experttopic/save" : "wjxy/experttopic/update";
|
|
|
+ var url = vm2.workStu.id == null ? "qyh/experttopic/save" : "qyh/experttopic/update";
|
|
|
var type = vm2.workStu.id == null ? "POST" : "PUT";
|
|
|
$.ajax({
|
|
|
type: type,
|
|
|
@@ -825,7 +825,7 @@ var vm2 = new Vue({
|
|
|
// console.log(vm2.workStu.status,'222')
|
|
|
// form.on('submit(go2)', function(data){
|
|
|
// console.log(vm2.workStu.expertId)
|
|
|
-// var url = vm2.workStu.id == null ? "wjxy/experttopic/save" : "wjxy/experttopic/update";
|
|
|
+// var url = vm2.workStu.id == null ? "qyh/experttopic/save" : "qyh/experttopic/update";
|
|
|
// var type = vm2.workStu.id == null ? "POST" : "PUT";
|
|
|
// $.ajax({
|
|
|
// type: type,
|