Commit 09ab9a26 authored by 张俊's avatar 张俊

服务规格编辑和服务申请

parent ed11460b
......@@ -727,7 +727,7 @@ export default {
: "#e15260"
);
this.$set(this.service_header_arr["second"][0], "text", data.req_url);
this.$set(this.service_header_arr["second"][0], "text", data.service_apply_info.urls[0].req_url);
this.$set(this.service_header_arr, "url", data.cover);
//判断是否是服务注册出来的流程服务
......
......@@ -1467,6 +1467,7 @@ export default {
e.descript = '每月不限调用次数'
}
});
this.size_arr_down = val;
},
......@@ -1482,16 +1483,30 @@ export default {
var temp = data.data||[]
temp.forEach((e,idx) => {
e.index = idx+1
// if(e.spcs_type==1){
// e.gg = e.money+'/'+e.spcs_count
// e.time = '不限时长'
// e.pv = e.spcs_count
// e.d_price = ''
// }else if(e.spcs_type==1){
// e.gg = e.money+'/月'
// e.time = '1个月'
// e.pv = '不限次数'
// e.d_price = '-'
// }
if(e.spcs_type==1){
e.gg = e.money+'/'+e.spcs_count
e.gg = e.money+'金币/'+e.spcs_count+''
e.time = '不限时长'
e.pv = e.spcs_count
e.d_price = ''
}else if(e.spcs_type==1){
e.gg = e.money+'/月'
e.d_price = e.money/e.spcs_count+'金币/次'
e.spcs_type_name = '计次收费'
}else if(e.spcs_type==2){
e.gg = e.money+'金币/月'
e.time = '1个月'
e.pv = '不限次数'
e.d_price = '-'
e.spcs_type_name = '计时收费'
}
});
this.service_size_data = temp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment