提交 aee69cd9 编写于 作者: fdj.'s avatar fdj.

回退版本

上级 9d5f830b
...@@ -74,10 +74,6 @@ export default { ...@@ -74,10 +74,6 @@ export default {
showChargeDetailArea:function (id,name){ showChargeDetailArea:function (id,name){
axios.get('http://36.139.166.61:19261/user/caretaker/charge/detail?id='+(id+'')).then(response=>{ axios.get('http://36.139.166.61:19261/user/caretaker/charge/detail?id='+(id+'')).then(response=>{
this.detailItemName=name; this.detailItemName=name;
if(response.data.status!==1000){
alert("请求失败!请稍后再试!");
return;
}
if (response.data.data.length===0){ if (response.data.data.length===0){
this.noDetailVisible=true; this.noDetailVisible=true;
return; return;
...@@ -151,15 +147,7 @@ export default { ...@@ -151,15 +147,7 @@ export default {
} }
}, },
created() { created() {
<<<<<<< HEAD
axios.get('http://124.223.194.15:19261/user/caretaker/charge/items').then(response=>{
if(response.data.status!==1000){
alert("请求失败!请稍后再试!");
return;
}
=======
axios.get('http://36.139.166.61:19261/user/caretaker/charge/items').then(response=>{ axios.get('http://36.139.166.61:19261/user/caretaker/charge/items').then(response=>{
>>>>>>> 59be6507222b919e23911153cc64ff90ad3057f8
this.chargeItemList=response.data.data; this.chargeItemList=response.data.data;
}) })
} }
......
...@@ -64,15 +64,7 @@ export default { ...@@ -64,15 +64,7 @@ export default {
} }
}, },
created() { created() {
<<<<<<< HEAD
axios.get('http://124.223.194.15:19261/user/caretaker/dormitory/items').then(response=>{
if(response.data.status!==1000){
alert("请求失败!请稍后再试!");
return;
}
=======
axios.get('http://36.139.166.61:19261/user/caretaker/dormitory/items').then(response=>{ axios.get('http://36.139.166.61:19261/user/caretaker/dormitory/items').then(response=>{
>>>>>>> 59be6507222b919e23911153cc64ff90ad3057f8
if (response.data.data.length===0){ if (response.data.data.length===0){
this.noData=true; this.noData=true;
return; return;
......
...@@ -280,15 +280,7 @@ export default { ...@@ -280,15 +280,7 @@ export default {
}, },
}, },
created() { created() {
<<<<<<< HEAD
axios.get('http://124.223.194.15:19261/user/caretaker/publicFacilitiesRepair/type').then(response=>{
if(response.data.status!==1000){
alert("请求失败!请稍后再试!");
return;
}
=======
axios.get('http://36.139.166.61:19261/user/caretaker/publicFacilitiesRepair/type').then(response=>{ axios.get('http://36.139.166.61:19261/user/caretaker/publicFacilitiesRepair/type').then(response=>{
>>>>>>> 59be6507222b919e23911153cc64ff90ad3057f8
console.log(response); console.log(response);
for (let item of response.data.data){ for (let item of response.data.data){
this.typeNameList.push(item.name); this.typeNameList.push(item.name);
......
...@@ -75,15 +75,7 @@ export default { ...@@ -75,15 +75,7 @@ export default {
}, },
methods: { methods: {
showDetail: function (id) { showDetail: function (id) {
<<<<<<< HEAD
axios.get('http://124.223.194.15:19261/user/caretaker/signIn/detail?tid='+id).then(response=>{
if(response.data.status!==1000){
alert("请求失败!请稍后再试!");
return;
}
=======
axios.get('http://36.139.166.61:19261/user/caretaker/signIn/detail?tid='+id).then(response=>{ axios.get('http://36.139.166.61:19261/user/caretaker/signIn/detail?tid='+id).then(response=>{
>>>>>>> 59be6507222b919e23911153cc64ff90ad3057f8
if (response.data.data.length===0){ if (response.data.data.length===0){
this.noDetail=true; this.noDetail=true;
return; return;
...@@ -111,15 +103,7 @@ export default { ...@@ -111,15 +103,7 @@ export default {
} }
}, },
created() { created() {
<<<<<<< HEAD
axios.get('http://124.223.194.15:19261/user/caretaker/signIn/getTask').then(response=>{
if(response.data.status!==1000){
alert("请求失败!请稍后再试!");
return;
}
=======
axios.get('http://36.139.166.61:19261/user/caretaker/signIn/getTask').then(response=>{ axios.get('http://36.139.166.61:19261/user/caretaker/signIn/getTask').then(response=>{
>>>>>>> 59be6507222b919e23911153cc64ff90ad3057f8
this.signInItem=response.data.data; this.signInItem=response.data.data;
}); });
} }
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
<br/> <br/>
<div class="aa"> <div class="aa">
<!-- //'this.payUrl'--> <!-- //'this.payUrl'-->
<mt-button style="margin: 0 auto" v-if="chargeItemList[checkDetailIndex].status==0" type="primary" size="big" @click="payFee" disabled="this.isEnd"> 立即缴费 </mt-button> <!-- <mt-button style="margin: 0 auto" v-if="chargeItemList[checkDetailIndex].status==0" type="primary" size="big" @click="payFee" disabled="this.isEnd"> 立即缴费 </mt-button>-->
<mt-button style="margin: 0 auto" v-if="chargeItemList[checkDetailIndex].status==0" type="primary" size="big" @click="payFee" > 立即缴费 </mt-button>
</div> </div>
</mt-popup> </mt-popup>
...@@ -66,10 +66,10 @@ export default { ...@@ -66,10 +66,10 @@ export default {
showChargeDetailArea:function (index,name){ showChargeDetailArea:function (index,name){
this.checkDetailIndex=index; this.checkDetailIndex=index;
this.detailItemName=name; this.detailItemName=name;
if(this.chargeItemList[index].isEnd==0) /* if(this.chargeItemList[index].isEnd==0)
this.isEnd=false; this.isEnd=false;
else else
this.isEnd=true; this.isEnd=true;*/
this.chargeItemDetailVisible=true; this.chargeItemDetailVisible=true;
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册