Commit 06daead0 by huangjing

hj

parent 657feb94
...@@ -3,7 +3,8 @@ FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2 ...@@ -3,7 +3,8 @@ FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2
MAINTAINER jy "jiangyong@gongsibao.com" MAINTAINER jy "jiangyong@gongsibao.com"
ADD igirl-web /apps/igirl-web/ ADD igirl-web /apps/igirl-web/
WORKDIR /apps/igirl-web/ WORKDIR /apps/igirl-web/
RUN cnpm install -S RUN yum install gcc gcc-c++ -y
RUN cnpm install -S
CMD ["node","/apps/igirl-web/main.js"] CMD ["node","/apps/igirl-web/main.js"]
......
...@@ -20,14 +20,19 @@ class PatentycCtl extends CtlBase { ...@@ -20,14 +20,19 @@ class PatentycCtl extends CtlBase {
async obtainreport(pobj,obj,req){ async obtainreport(pobj,obj,req){
var result = await this.service.obtainreport(obj); var result = await this.service.obtainreport(obj);
return System.getResult2(result,null); return System.getResult2(result,null);
} }
async reportGeneration(pobj, obj, req) {//导出报告
var result = await this.service.reportGeneration(obj);
return System.getResult2(result, null);
};
//申请人分析-申请人排名 //申请人分析-申请人排名
async applierRank(pobj, obj, req) { async applierRank(pobj, obj, req) {
var result = await this.service.applierRank(obj); var result = await this.service.applierRank(obj);
return System.getResult2(result, null); return System.getResult2(result, null);
}; };
//申请人分析-申请人归属国分析 //申请人分析-申请人归属国分析
async applierCity(pobj, obj, req) { async applierCity(pobj, obj, req) {
var result = await this.service.applierCity(obj); var result = await this.service.applierCity(obj);
...@@ -117,11 +122,6 @@ class PatentycCtl extends CtlBase { ...@@ -117,11 +122,6 @@ class PatentycCtl extends CtlBase {
return System.getResult2(result, null); return System.getResult2(result, null);
}; };
async reportGeneration(pobj, obj, req) {//导出报告
var result = await this.service.reportGeneration(obj);
return System.getResult2(result, null);
};
async mainCountryApplyTrend(pobj, obj, req) {//区域分析-主要国家申请趋势 async mainCountryApplyTrend(pobj, obj, req) {//区域分析-主要国家申请趋势
var result = await this.service.mainCountryApplyTrend(obj); var result = await this.service.mainCountryApplyTrend(obj);
return System.getResult2(result, null); return System.getResult2(result, null);
...@@ -471,7 +471,7 @@ class PatentycCtl extends CtlBase { ...@@ -471,7 +471,7 @@ class PatentycCtl extends CtlBase {
} }
} }
var pubstatus = ""; var pubstatus = "";
if (patentinfo1.data.hits[i]._source.pub_status != null) { if (patentinfo1.data.hits[i]._source.pub_status != null){
pubstatus = patentinfo1.data.hits[i]._source.pub_status; pubstatus = patentinfo1.data.hits[i]._source.pub_status;
} }
var item = { var item = {
...@@ -483,7 +483,7 @@ class PatentycCtl extends CtlBase { ...@@ -483,7 +483,7 @@ class PatentycCtl extends CtlBase {
applydate: patentinfo1.data.hits[i]._source.filing_time, applydate: patentinfo1.data.hits[i]._source.filing_time,
publishdate: publish_date, publishdate: publish_date,
articletype: patentinfo1.data.hits[i]._source.pub_type, articletype: patentinfo1.data.hits[i]._source.pub_type,
pubstatus: pubstatus pubstatus:pubstatus
} }
patent1.push(item); patent1.push(item);
} }
...@@ -525,7 +525,7 @@ class PatentycCtl extends CtlBase { ...@@ -525,7 +525,7 @@ class PatentycCtl extends CtlBase {
applydate: patentinfo2.data.hits[i]._source.app_date, applydate: patentinfo2.data.hits[i]._source.app_date,
publishdate: patentinfo2.data.hits[i]._source.pub_date, publishdate: patentinfo2.data.hits[i]._source.pub_date,
articletype: patentinfo2.data.hits[i]._source.pub_type, articletype: patentinfo2.data.hits[i]._source.pub_type,
pubstatus: "" pubstatus:""
} }
patent2.push(item); patent2.push(item);
} }
...@@ -980,7 +980,7 @@ class PatentycCtl extends CtlBase { ...@@ -980,7 +980,7 @@ class PatentycCtl extends CtlBase {
var pubstatus = ""; var pubstatus = "";
if (patentinfo1.data.hits[i]._source.pub_status != null) { if (patentinfo1.data.hits[i]._source.pub_status != null) {
pubstatus = patentinfo1.data.hits[i]._source.pub_status; pubstatus = patentinfo1.data.hits[i]._source.pub_status;
} }
var item = { var item = {
applynum: patentinfo1.data.hits[i]._source.filing_no, applynum: patentinfo1.data.hits[i]._source.filing_no,
publishnum: publish_num, publishnum: publish_num,
...@@ -1307,6 +1307,5 @@ class PatentycCtl extends CtlBase { ...@@ -1307,6 +1307,5 @@ class PatentycCtl extends CtlBase {
} }
return System.getResult2(result, null); return System.getResult2(result, null);
} }
} }
module.exports = PatentycCtl; module.exports = PatentycCtl;
...@@ -1429,11 +1429,6 @@ var app = new Vue({ ...@@ -1429,11 +1429,6 @@ var app = new Vue({
title: "登录", title: "登录",
name: "/login" name: "/login"
}); });
setTimeout(() => {
this.$refs.topmenu.fetchMetaData(() => {
});
}, 300);
} }
if (k == "roleview") { if (k == "roleview") {
this.pushx({ this.pushx({
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
register(){ register(){
this.$root.pushx({ this.$root.pushx({
title: "注册", title: "注册",
name: "/register" name: "/register",
}); });
this.a=false; this.a=false;
this.b=false; this.b=false;
...@@ -242,7 +242,6 @@ ...@@ -242,7 +242,6 @@
var that=this; var that=this;
var obj={ var obj={
mobile:that.form1.mobile, mobile:that.form1.mobile,
// password:that.form1.password,
}; };
that.$refs.form1.validate(valid=>{ that.$refs.form1.validate(valid=>{
if(valid){ if(valid){
......
...@@ -14,6 +14,6 @@ ...@@ -14,6 +14,6 @@
<el-input v-model="email" placeholder="请输入内容" type="email"></el-input> <el-input v-model="email" placeholder="请输入内容" type="email"></el-input>
</div> </div>
<h3>实付金额:<span>{{money}}元</span></h3> <h3>实付金额:<span>{{money}}元</span></h3>
<el-button type="primary" @click="btnClick();Subscribe()">去支付</el-button> <el-button type="primary" @click="btnClick()">去支付</el-button>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -24,12 +24,9 @@ ...@@ -24,12 +24,9 @@
itemCode: "zcdy3gy", itemCode: "zcdy3gy",
userId: "", userId: "",
poliyLevel: "", poliyLevel: "",
city: "", address: "",
Deparment: "", Deparment: "",
industry: "", industry: "",
BeginTime: "",
currentCompany: "",
userName: "",
period: "3个月", period: "3个月",
}; };
}, },
...@@ -37,20 +34,11 @@ ...@@ -37,20 +34,11 @@
}, },
mounted: function () { mounted: function () {
/*由policycondition.js传递*/
this.poliyLevel = this.$router.history.current.query.poliyLevel; this.poliyLevel = this.$router.history.current.query.poliyLevel;
this.cities = this.$router.history.current.query.cities; this.address = this.$router.history.current.query.address;
this.Department = this.$router.history.current.query.Department; this.Department = this.$router.history.current.query.Department;
this.industry = this.$router.history.current.query.industry; this.industry = this.$router.history.current.query.industry;
if (this.$store.state.currentUser) {
this.userName = this.$store.state.currentUser.userName;
this.userId = this.$store.state.currentUser.id;
console.log(this.userName, "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxuser");
}
if (this.$store.state.currentCompany) {
this.currentCompany = this.$store.state.currentCompany.name;
}
console.log(this.$store.state.currentCompany, "BeginTimexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcurrentCompany");
}, },
methods: { methods: {
timeClick(item, ind) { timeClick(item, ind) {
...@@ -98,7 +86,13 @@ ...@@ -98,7 +86,13 @@
title: "订单支付", title: "订单支付",
name: "/orderpay", name: "/orderpay",
params: { params: {
orderNum: d.data.code orderNum: d.data.code,
"poliyLevel":this.poliyLevel,
"address":this.address,
"Department":this.Department,
"industry":this.industry,
"email":this.email,
"period":this.period,
} }
}); });
} else { } else {
...@@ -106,41 +100,6 @@ ...@@ -106,41 +100,6 @@
} }
}) })
}, },
Subscribe() {
axios.post('http://106.13.228.212:8010/gsb/Subscribe', {
/*axios.post('http://192.168.18.108:8009/gsb/Subscribe', {*/
"userId": this.userId,
"poliyLevel": this.poliyLevel,
"city": this.cities,
"Departments": this.Department,
"industry": this.industry,
"BeginTime": this.Date_new(new Date()),
/*"BeginTime": new Date(),*/
"Email": this.email,
"comanyname": this.currentCompany,
"username": this.userName,
"period": this.period,
"money": this.money,
}).then(d => {
console.log(d, "mysql----------------------");
console.log(money, "money----------------------");
console.log(String(this.cities), "string----------------------");
console.log(JSON.stringify(this.cities), "cities----------------------");
})
},
Date_new(str) {
/*let date = str || new Date(),*/
let date = new Date(),
year = date.getFullYear(),
month = date.getMonth() + 1,
day = date.getDate(),
hours = date.getHours(),
minutes = date.getMinutes();
second = date.getSeconds();
let a = `${year}-${month}-${day} ${hours}:${minutes}:${second}`;
return a
},
}, },
vname: "gsb-pay" vname: "gsb-pay"
} }
\ No newline at end of file
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
name: "/pay", name: "/pay",
params: { params: {
"poliyLevel": this.level, "poliyLevel": this.level,
"cities": _arryCitys, "address": _arryCitys,
"Department": this.checkedfabus, "Department": this.checkedfabus,
"industry": this.checkedhangyes, "industry": this.checkedhangyes,
}, },
......
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