Commit 6f01c503 by 刘泽奇

123

parent 37983053
......@@ -101,7 +101,7 @@
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
var obj = this.$root.copyParams(obj,"getCompanyInfoNoUser","/action/tmOrder/springBoard");
var obj = this.$root.copyParams(obj,"getCompanyInfoNoUser","/action/tmQuery/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then(function (d) {
loading.close();
if (d.status == 0) {
......
......@@ -2,8 +2,8 @@
<div class="jdbycnoticedetailtm"
style="width: 1200px;height: auto;position: relative;color: #000000;margin: 0 auto ;border-radius: 8px;">
<el-breadcrumb separator-class="el-icon-arrow-right" style="margin-top:20px;margin-bottom:50px;">
<el-breadcrumb-item :to="{ path: \'/jdbycnoticetm\' }">商标公告查询</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: \'/bycnoticeindex\' }">第{{sbqh}}期商标初审公告</el-breadcrumb-item>
<el-breadcrumb-item :to="index">商标公告查询</el-breadcrumb-item>
<el-breadcrumb-item :to="second">第{{sbqh}}期商标初审公告</el-breadcrumb-item>
<el-breadcrumb-item>{{name}}公告详情</el-breadcrumb-item>
</el-breadcrumb>
<div style="margin-bottom:20px;padding-bottom:20px;" v-if="imgurl==\'null\' || imgurl==\'\'">
......
{
template:'${tmpl}',
data:function(){
template: '${tmpl}',
data: function() {
return {
name:"",
imgurl:"",
sbqh:""
name: "",
imgurl: "",
sbqh: "",
index: {
path: `/${this.$root.channelName}/jdbycnoticetm`,
query: {
channelUserId: this.$route.query.channelUserId,
deliveryOrderNo: this.deliveryOrderNo,
}
},
second: {
path: `/${this.$root.channelName}/bycnoticeindex`,
query: {
channelUserId: this.$route.query.channelUserId,
deliveryOrderNo: this.deliveryOrderNo,
}
},
};
},
methods:{
methods: {
},
mounted:function(){
console.log("uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu");
var url = location.href;
console.log(url);
console.log(this.$router.history.current.query);
this.name=this.$router.history.current.query.name;
this.imgurl=this.$router.history.current.query.imgurl;
this.sbqh = this.$router.history.current.query.sbqh;
console.log("--------------------------");
console.log(this.name);
console.log(this.imgurl);
},
vname:"gsb-jdbycnoticedetailtm"
},
mounted: function() {
console.log("uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu");
var url = location.href;
console.log(url);
console.log(this.$router.history.current.query);
this.name = this.$router.history.current.query.name;
this.imgurl = this.$router.history.current.query.imgurl;
this.sbqh = this.$router.history.current.query.sbqh;
console.log("--------------------------");
console.log(this.name);
console.log(this.imgurl);
},
vname: "gsb-jdbycnoticedetailtm"
}
......@@ -354,6 +354,35 @@
nclOne: {
handler(newVal, oldVal){
this.totalPrices = newVal.length * 300;
if (newVal.length > 0) {
if (newVal.length > 1) {
this.$refs.tree.setChecked(newVal[1], false);
this.$refs.tree.setChecked(newVal[1].nclThree[0], false);
newVal.pop();
this.message.show = !this.message.show;
this.message.info = "只能选择同一个类别";
var timer = setTimeout(() => {
this.message.show = false;
clearTimeout(timer);
}, 2000);
};
if (newVal[0].nclThree.length > 10) {
this.$refs.tree.setChecked(newVal[0].nclThree[10], false);
newVal[0].nclThree.pop();
console.log(newVal, newVal[0].nclThree, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
this.message.show = !this.message.show;
this.message.info = "最多只能选择10项";
var timer2 = setTimeout(() => {
this.message.show = false;
clearTimeout(timer2);
}, 2000);
}
}
/*
console.log(this, newVal.length, '???????????????????');
if (newVal.length > 0) {
newVal.forEach((item, index) => {
......@@ -369,14 +398,11 @@
}, 2000);
}
});
}
*/
},
deep: true
}
},
mounted: function() {
var that = this;
......
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