Commit 7843df01 by 刘泽奇

123

parent c01e56c0
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -738,3 +738,16 @@
.selftmreg .el-dialog__wrapper .el-dialog__header {
text-align:center;
}
.selftmreg-loginmask {
text-align:center;
}
.selftmreg-loginmask .el-dialog__header button{
display: none;
}
.selftmreg-loginmask .dialog-footer{
text-align: center;
}
.selftmreg-loginmask .dialog-footer button{
border-radius: 0;
}
\ No newline at end of file
......@@ -237,7 +237,8 @@
style="color:#E50778;font-style: normal;">¥{{form.totalPublicExpense}}</i></span> -->
<span style="margin-right:30px;text-align: center;color: #03004C;font-weight: 700;">应付总额:<i
style="color:#E50778;font-style: normal;font-size: 24px;">¥{{form.totalSum?form.totalSum:\'0.00\'}}</i></span>
<el-button type="primary" style="padding:8px 20px;width:150px; background: rgb(81, 210, 183);width: 170px;border-radius:0;color:#fff;border:0;"
<el-button type="primary"
style="padding:8px 20px;width:150px; background: rgb(81, 210, 183);width: 170px;border-radius:0;color:#fff;border:0;"
@click="submitForm(\'form\')">下一步</el-button>
</div>
</div>
......@@ -299,16 +300,17 @@
<div style="clear:both;"></div>
<el-form-item v-if="apply.customerType==\'ent\'" label-width="140px" label="公司名称"
style="width:493px;float:left;padding-right:50px;" prop="name">
<gsb-selectentjd v-if="currentUser" @input="selectpersoninput" @historychange="historyapplierchange" allowcreate="true"
showhistory="false" @change="applierChange" size="medium" v-model="apply.name"
refMethod="getCompanyInfoByLikeName" autoComplete="true" isFilter="true" refModel="tool"
labelField="entName" valueField="entName" style="position:relative;width:100%;" placeHolder="请输入选择公司名称">
</gsb-selectentjd>
<gsb-selectentjd v-if="!currentUser" @input="selectpersoninput" @historychange="historyapplierchange" frombrowser="true"
<gsb-selectentjd v-if="currentUser" @input="selectpersoninput" @historychange="historyapplierchange"
allowcreate="true" showhistory="false" @change="applierChange" size="medium" v-model="apply.name"
refMethod="getCompanyInfoByLikeName" autoComplete="true" isFilter="true" refModel="tool"
labelField="entName" valueField="entName" style="position:relative;width:100%;" placeHolder="请输入选择公司名称">
</gsb-selectentjd>
<gsb-selectentjd v-if="!currentUser" @input="selectpersoninput" @historychange="historyapplierchange"
frombrowser="true" allowcreate="true" showhistory="false" @change="applierChange" size="medium"
v-model="apply.name" refMethod="getCompanyInfoByLikeName" autoComplete="true" isFilter="true"
refModel="tool" labelField="entName" valueField="entName" style="position:relative;width:100%;"
placeHolder="请输入选择公司名称">
</gsb-selectentjd>
</el-form-item>
<el-form-item v-if="apply.customerType==\'person\'" label-width="140px" label="姓名"
style="width:493px;float:left;padding-right:50px;" prop="name">
......@@ -596,7 +598,9 @@
<div style="width: 100%;font-size:14px;font-family:PingFangSC-Regular; font-weight:400;">
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
<div style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">申请人类型:</div>
<div
style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">
申请人类型:</div>
<div style="display:inline-block;padding-left:10px;">
{{apply.customerType=="ent"?"企业":""}}{{apply.customerType=="person"?"个体户":""}}</div>
</div>
......@@ -609,7 +613,9 @@
</div>
<div style="clear:both"></div>
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
<div style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">邮政编码:</div>
<div
style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">
邮政编码:</div>
<div style="display:inline-block;padding-left:10px;">{{apply.zipCode}}</div>
</div>
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
......@@ -622,7 +628,9 @@
</div>
<div style="clear:both"></div>
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
<div style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">联系人:</div>
<div
style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">
联系人:</div>
<div style="display:inline-block;padding-left:10px;">{{apply.contacts}}</div>
</div>
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
......@@ -631,7 +639,9 @@
</div>
<div style="clear:both"></div>
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
<div style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">电子邮箱:</div>
<div
style="width:120px;display:inline-block;text-align: left;color:#636569;box-sizing: border-box;padding-left: 44px;">
电子邮箱:</div>
<div style="display:inline-block;padding-left:10px;">{{apply.email}}</div>
</div>
<div style="min-width: 35%;margin-bottom: 23px;display:inline-block;">
......@@ -645,19 +655,21 @@
</div>
<div style="clear:both"></div>
</div>
<h4 v-show="apply.businessLicensePic || apply.identityCardPic||apply.gzwtsUrl||apply.smwjUrl"><i class="selftmreg_shuxian"></i>材料信息</h4>
<h4 v-show="apply.businessLicensePic || apply.identityCardPic||apply.gzwtsUrl||apply.smwjUrl"><i
class="selftmreg_shuxian"></i>材料信息</h4>
<div style="font-size:14px;font-family:PingFangSC-Regular; font-weight:400;">
<div style="width: 100%;margin-bottom: 23px;padding-left: 40px;box-sizing: border-box;">
<div v-if="apply.businessLicensePic"
style="display:inline-block;padding-left:10px;cursor: pointer;text-align: center;color: rgb(99, 101, 105);">
<img @click="window.open(apply.businessLicensePic)" v-if="apply.businessLicensePic"
:src="apply.businessLicensePic" style="height:118px;width:98px;border: 2px dashed rgb(233, 233, 233);">
:src="apply.businessLicensePic"
style="height:118px;width:98px;border: 2px dashed rgb(233, 233, 233);">
<div>营业执照</div>
</div>
<div v-if="apply.identityCardPic"
style="display:inline-block;padding-left:10px;cursor: pointer;text-align: center;color: rgb(99, 101, 105);">
<img @click="window.open(apply.identityCardPic)" v-if="apply.identityCardPic" :src="apply.identityCardPic"
style="height:118px;width:98px;border: 2px dashed rgb(233, 233, 233);">
<img @click="window.open(apply.identityCardPic)" v-if="apply.identityCardPic"
:src="apply.identityCardPic" style="height:118px;width:98px;border: 2px dashed rgb(233, 233, 233);">
<div>身份证明</div>
</div>
<div v-if="apply.gzwtsUrl"
......@@ -714,8 +726,7 @@
background: rgb(81, 210, 183);
border-radius: 0px;
color: rgb(255, 255, 255);
border: 0px;" @click="submitForm(\'order\')"
:disabled="!isRead">提交订单</el-button>
border: 0px;" @click="submitForm(\'order\')" :disabled="!isRead">提交订单</el-button>
</div>
</div>
......@@ -819,9 +830,18 @@
style="color:red;">不足10项</span>,已选{{item.checked}}项,还可选{{10-item.checked}}个小项</span>
</div>
<span slot="footer" class="dialog-footer" style="text-align:center;">
<el-button style="background:#51d2b7;border-color: #66b1ff;color: #FFF;border-radius:0;width:170px;padding:8px 20px;" @click="closeConfrim()">修 改</el-button>
<el-button style="background:#fff;border-color: #DCDFE6;color: #606266;border-radius:0;width:170px;padding:8px 20px;" type="primary"
@click="submitForm(\'form\',true)">确 定</el-button>
<el-button
style="background:#51d2b7;border-color: #66b1ff;color: #FFF;border-radius:0;width:170px;padding:8px 20px;"
@click="closeConfrim()">修 改</el-button>
<el-button
style="background:#fff;border-color: #DCDFE6;color: #606266;border-radius:0;width:170px;padding:8px 20px;"
type="primary" @click="submitForm(\'form\',true)">确 定</el-button>
</span>
</el-dialog>
<el-dialog title="提示" custom-class="selftmreg-loginmask" :visible.sync="toLogin" width="30%" :close-on-click-modal="false" :close-on-press-escape="false" >
<span>需要先登录才能注册噢 !</span>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="goGsbLogin">去登录</el-button>
</span>
</el-dialog>
</div>
\ No newline at end of file
......@@ -317,7 +317,8 @@
totalPrices: null,
dataList: [],
options: [],
titleName: ''
titleName: '',
toLogin: true,
}
},
computed: {
......@@ -342,7 +343,6 @@
}
if (itemCode != null) {
this.itemCode = itemCode;
} else {
this.$message.warning('code参数错误');
return;
......@@ -421,20 +421,35 @@
this.listPath.path = this.$route.query.dqPath ? `/${this.$root.channelName}` + this.$route.query.dqPath : `/${this.$root.channelName}/jdtrademark`;
this.$root.selfFooterShow = false;
this.getItemCode();
var that = this;
this.getOss();
this.noLoginMask();
console.log(this.tm_form_type);
},
destroyed() {
/*
console.log(this.$root.selfFooterShow);
this.$root.selfFooterShow = true;
*/
},
methods: {
goGsbLogin(){
this.toLogin = false;
location.href = "https://www.gongsibao.com/user.php?redirect=https://zcchannelweb.gongsibao.com/gsbhome?state=selftmreg";
},
getOss(){
var obj = this.$root.copyParams("", "getOssConfig", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then(function (d) {
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
if (d.status == 0) {
console.log(d, `mmmmmmmmmmmmmmmmmmmmmmm`);
that.d["key"] = "key";
that.d["Bucket"] = d.data.Bucket;
that.d["OSSAccessKeyId"] = d.data.OSSAccessKeyId;
that.d["Signature"] = d.data.Signature;
that.d["policy"] = d.data.policy;
that.d["success_action_status"] = d.data.success_action_status;
that.action = d.data.url;
console.log(that.action, `oooooooooooooooooooooooooooo`);
this.d["key"] = "key";
this.d["Bucket"] = d.data.Bucket;
this.d["OSSAccessKeyId"] = d.data.OSSAccessKeyId;
this.d["Signature"] = d.data.Signature;
this.d["policy"] = d.data.policy;
this.d["success_action_status"] = d.data.success_action_status;
this.action = d.data.url;
console.log(this.action, `oooooooooooooooooooooooooooo`);
} else {
console.log(d.msg);
}
......@@ -447,14 +462,13 @@
console.log(this.$route.query, this.channelInfo, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
}
},
destroyed() {
/*
console.log(this.$root.selfFooterShow);
this.$root.selfFooterShow = true;
*/
noLoginMask(){
console.log(this.$route.query.channelUserId, "vvvvvvvvvvvvvvvvvvvvvv");
if (!this.$route.query.channelUserId && this.$route.query.channelUserId != "") {
this.toLogin = true;
console.log(this.toLogin,'lllllllllllllll');
}
},
methods: {
maxZipCode(){
if (this.apply.zipCode.length > 6) {
console.log(this.apply.zipCode);
......
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