|
|
@ -4,16 +4,13 @@ |
|
|
<el-menu |
|
|
<el-menu |
|
|
:default-active="infotype" |
|
|
:default-active="infotype" |
|
|
mode="horizontal" |
|
|
mode="horizontal" |
|
|
|
|
|
class="menus" |
|
|
@select="setInfotype" |
|
|
@select="setInfotype" |
|
|
background-color="rgb(48, 65, 86)" |
|
|
background-color="rgb(48, 65, 86)" |
|
|
text-color="rgb(191, 203, 217)" |
|
|
text-color="rgb(191, 203, 217)" |
|
|
active-text-color="#409eff" |
|
|
active-text-color="#409eff" |
|
|
> |
|
|
> |
|
|
<el-menu-item index="返回"> |
|
|
|
|
|
<span slot="title" @click.stop="goBack" |
|
|
|
|
|
><i class="el-icon-back"></i |
|
|
|
|
|
></span> |
|
|
|
|
|
</el-menu-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-menu-item index="产品概览"> |
|
|
<el-menu-item index="产品概览"> |
|
|
<span |
|
|
<span |
|
|
slot="title" |
|
|
slot="title" |
|
|
@ -23,11 +20,11 @@ |
|
|
> |
|
|
> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
<strong> |
|
|
<strong> |
|
|
产品: {{ xmProduct.productName.substring(0, 15) }}</strong |
|
|
|
|
|
|
|
|
产品: {{ xmProduct.productName.substring(0, 15) }}</strong |
|
|
></font |
|
|
></font |
|
|
> |
|
|
> |
|
|
<font type="danger" v-else> |
|
|
<font type="danger" v-else> |
|
|
<strong>产品: {{ xmProduct.productName }}</strong></font |
|
|
|
|
|
|
|
|
<strong> 产品: {{ xmProduct.productName }}</strong></font |
|
|
> |
|
|
> |
|
|
</span> |
|
|
</span> |
|
|
<span |
|
|
<span |
|
|
@ -37,10 +34,10 @@ |
|
|
:title="xmProduct.productName" |
|
|
:title="xmProduct.productName" |
|
|
> |
|
|
> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
产品: {{ xmProduct.productName.substring(0, 15) }}</font |
|
|
|
|
|
|
|
|
产品: {{ xmProduct.productName.substring(0, 15) }}</font |
|
|
> |
|
|
> |
|
|
<font type="danger" v-else> |
|
|
<font type="danger" v-else> |
|
|
产品: {{ xmProduct.productName }}</font |
|
|
|
|
|
|
|
|
产品: {{ xmProduct.productName }}</font |
|
|
> |
|
|
> |
|
|
</span> |
|
|
</span> |
|
|
</el-menu-item> |
|
|
</el-menu-item> |
|
|
@ -175,6 +172,16 @@ |
|
|
<span slot="title"><i class="el-icon-date"></i>客服</span> |
|
|
<span slot="title"><i class="el-icon-date"></i>客服</span> |
|
|
</el-menu-item> |
|
|
</el-menu-item> |
|
|
</el-submenu> |
|
|
</el-submenu> |
|
|
|
|
|
<el-menu-item index="首页" @click.native="goHome"> |
|
|
|
|
|
<span slot="title" |
|
|
|
|
|
><i class="el-icon-s-home"></i></span |
|
|
|
|
|
> |
|
|
|
|
|
</el-menu-item> |
|
|
|
|
|
<el-menu-item index="上一页" class="hidden-md-and-down" @click.native="goBack"> |
|
|
|
|
|
<span slot="title" |
|
|
|
|
|
><i class="el-icon-back"></i></span |
|
|
|
|
|
> |
|
|
|
|
|
</el-menu-item> |
|
|
</el-menu> |
|
|
</el-menu> |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row ref="pageBody"> |
|
|
<el-row ref="pageBody"> |
|
|
@ -919,17 +926,7 @@ export default { |
|
|
}else{ |
|
|
}else{ |
|
|
func(params) |
|
|
func(params) |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
goBack() { |
|
|
|
|
|
localStorage.setItem("product-infotype", "产品概览"); |
|
|
|
|
|
|
|
|
|
|
|
if (window.history.length > 0) { |
|
|
|
|
|
this.$router.back(-1); |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$router.push({ path: "/xm/core/xmProduct/XmProductMng" }); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
onEditFields(row) { |
|
|
onEditFields(row) { |
|
|
Object.assign(this.xmProduct, row); |
|
|
Object.assign(this.xmProduct, row); |
|
|
@ -975,6 +972,14 @@ export default { |
|
|
this.$refs["xmProductComplex"].addProductVisible = true; |
|
|
this.$refs["xmProductComplex"].addProductVisible = true; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
goBack() { |
|
|
|
|
|
localStorage.setItem("product-infotype", "产品概览"); |
|
|
|
|
|
this.$router.back(-1); |
|
|
|
|
|
}, |
|
|
|
|
|
goHome(){ |
|
|
|
|
|
localStorage.setItem("product-infotype", "产品概览"); |
|
|
|
|
|
this.$router.push({path:'/'}) |
|
|
|
|
|
}, |
|
|
}, //end methods |
|
|
}, //end methods |
|
|
components: { |
|
|
components: { |
|
|
xmTaskMng, |
|
|
xmTaskMng, |
|
|
|