Commit 0ccb7040 authored by 张俊's avatar 张俊

流程服务接口

parent cc9168c3
...@@ -621,7 +621,7 @@ export default { ...@@ -621,7 +621,7 @@ export default {
}, },
{ {
title: "支付总价:", title: "支付总价:",
info: "2000", info: "0",
}, },
{ {
title: "审批信息", title: "审批信息",
...@@ -729,6 +729,19 @@ export default { ...@@ -729,6 +729,19 @@ export default {
this.$set(this.service_header_arr["second"][0], "text", data.req_url); this.$set(this.service_header_arr["second"][0], "text", data.req_url);
this.$set(this.service_header_arr, "url", data.cover); this.$set(this.service_header_arr, "url", data.cover);
//判断是否是服务注册出来的流程服务
if(data.data_service_type2 == 24&&data.workflows_id==0){
this.process_in_up = true
}else{
this.process_in_up = false
}
if(data.service_data_type_1 == 10){
this.perception_in = true
}else{
this.perception_in = false
}
if(this.process_in_up){ if(this.process_in_up){
var temp_sj = this.service_header_arr.first.pop() var temp_sj = this.service_header_arr.first.pop()
this.service_header_arr.second = [] this.service_header_arr.second = []
...@@ -835,6 +848,11 @@ export default { ...@@ -835,6 +848,11 @@ export default {
"info", "info",
data.service_apply_info.apply_time.replace("T", " ").split("+")[0] data.service_apply_info.apply_time.replace("T", " ").split("+")[0]
); );
this.$set(
this.apply_arr[9],
"info",
data.service_apply_info.total_money
);
this.res_table_arr = JSON.parse( this.res_table_arr = JSON.parse(
data.service_apply_info.res_fields || "[]" data.service_apply_info.res_fields || "[]"
); );
......
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
}, },
{ {
title: "总价:", title: "总价:",
info: "2000", info: "",
}, },
] ]
}; };
...@@ -365,6 +365,7 @@ export default { ...@@ -365,6 +365,7 @@ export default {
this.$set(this.list_arr[6], "url", data.service_apply_info.apply_file); this.$set(this.list_arr[6], "url", data.service_apply_info.apply_file);
this.$set(this.list_arr[8], "info", data.service_apply_info.duration+(data.service_apply_info.duration_unit==1?'':'')); this.$set(this.list_arr[8], "info", data.service_apply_info.duration+(data.service_apply_info.duration_unit==1?'':''));
this.$set(this.list_arr[9], "info", "访问次数:"+(data.service_apply_info.request_spcs&&data.service_apply_info.request_spcs.pv||'-')+"次/日 访问量:"+(data.service_apply_info.request_spcs&&data.service_apply_info.request_spcs.count||'-')+"次/日"); this.$set(this.list_arr[9], "info", "访问次数:"+(data.service_apply_info.request_spcs&&data.service_apply_info.request_spcs.pv||'-')+"次/日 访问量:"+(data.service_apply_info.request_spcs&&data.service_apply_info.request_spcs.count||'-')+"次/日");
this.$set(this.list_arr[10], "info", data.service_apply_info.total_money);
this.id = data.service_apply_info.id this.id = data.service_apply_info.id
if(data.service_apply_info.approval_status!==0){ if(data.service_apply_info.approval_status!==0){
this.servicead_arr[this.now_user].splice(1,1) this.servicead_arr[this.now_user].splice(1,1)
......
This diff is collapsed.
...@@ -1042,7 +1042,7 @@ export default { ...@@ -1042,7 +1042,7 @@ export default {
pic: require("@/assets/imgs/home_tool_ic_shuju.png"), pic: require("@/assets/imgs/home_tool_ic_shuju.png"),
text: "数据采集管理", text: "数据采集管理",
role: 2, role: 2,
url: "/data_acquisition/file" url: "https://apaas3.wodcloud.com/sjcj/ui/#/data_acquisition/file"
}, },
{ {
pic: require("@/assets/imgs/home_tool_ic_message.png"), pic: require("@/assets/imgs/home_tool_ic_message.png"),
...@@ -1441,7 +1441,11 @@ export default { ...@@ -1441,7 +1441,11 @@ export default {
}, },
manage_func(n) { manage_func(n) {
console.log(n); console.log(n);
this.$router.push(n); if(n.indexOf('http')!==-1){
window.location.href = n
}else{
this.$router.push(n);
}
}, },
init_health(num) { init_health(num) {
var options = { var options = {
......
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