Authored by ZhongW

去除字段

@@ -19,7 +19,7 @@ module.exports = function (app){ @@ -19,7 +19,7 @@ module.exports = function (app){
19 app.post("/unionType/updateUnionType","unionType_updateUnionType"); 19 app.post("/unionType/updateUnionType","unionType_updateUnionType");
20 20
21 //修改状态 21 //修改状态
22 - app.post("/unionType/updateStatus","unionType_updateStatus"); 22 + /* app.post("/unionType/updateStatus","unionType_updateStatus");*/
23 23
24 //列表 24 //列表
25 app.post("/unionType/getUnionTypeUrls","unionType_getUnionTypeUrls"); 25 app.post("/unionType/getUnionTypeUrls","unionType_getUnionTypeUrls");
@@ -37,14 +37,14 @@ module.exports={ @@ -37,14 +37,14 @@ module.exports={
37 ] 37 ]
38 }, 38 },
39 39
40 - updateStatus:{ 40 + /* updateStatus:{
41 title:"修改状态", 41 title:"修改状态",
42 url:"/unionType/updateStatus", 42 url:"/unionType/updateStatus",
43 params:[ 43 params:[
44 {name: 'id', type: 'Number'}, 44 {name: 'id', type: 'Number'},
45 {name: 'status', type: 'String'} 45 {name: 'status', type: 'String'}
46 ] 46 ]
47 - }, 47 + },*/
48 48
49 getUnionTypeUrls:{ 49 getUnionTypeUrls:{
50 title:"获取链接", 50 title:"获取链接",
@@ -42,11 +42,11 @@ var g = new common.grid({ @@ -42,11 +42,11 @@ var g = new common.grid({
42 var HtmArr = []; 42 var HtmArr = [];
43 HtmArr.push('<a data-index="' + items.__index + '" href="JavaScript:;" class="btn btn-danger btn-xs info-modify">编辑</a>'); 43 HtmArr.push('<a data-index="' + items.__index + '" href="JavaScript:;" class="btn btn-danger btn-xs info-modify">编辑</a>');
44 44
45 - if (items.status == 0) { 45 + /*if (items.status == 0) {
46 HtmArr.push('<a data-index="' + items.__index + '" data-type="1" href="JavaScript:;" class="btn btn-danger btn-xs switch-status">关闭</a>'); 46 HtmArr.push('<a data-index="' + items.__index + '" data-type="1" href="JavaScript:;" class="btn btn-danger btn-xs switch-status">关闭</a>');
47 } else { 47 } else {
48 HtmArr.push('<a data-index="' + items.__index + '" data-type="0" href="JavaScript:;" class="btn btn-success btn-xs switch-status">开启</a>'); 48 HtmArr.push('<a data-index="' + items.__index + '" data-type="0" href="JavaScript:;" class="btn btn-success btn-xs switch-status">开启</a>');
49 - } 49 + }*/
50 50
51 return HtmArr.join(''); 51 return HtmArr.join('');
52 }} 52 }}