提交 1ad8a812 authored 作者: huaxinzhu's avatar huaxinzhu

Merge branch 'master_edit_goods_30_2204' into test

# Conflicts:
#	dist/index.html
No preview for this file type
差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
差异被折叠。
...@@ -227,9 +227,9 @@ ...@@ -227,9 +227,9 @@
} }
} }
}; };
// xhttp.open("GET", '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 正式环境 xhttp.open("GET", '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 正式环境
// xhttp.open("GET", '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 内网开发 // xhttp.open("GET", '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 内网开发
xhttp.open("GET", '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 测试环境 // xhttp.open("GET", '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 测试环境
xhttp.send(); xhttp.send();
} }
</script> </script>
......
...@@ -3,8 +3,8 @@ import request from '@/utils/request' ...@@ -3,8 +3,8 @@ import request from '@/utils/request'
// 获取渠道id // 获取渠道id
export function indexInfo(params) { export function indexInfo(params) {
return request({ return request({
// url: '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel', url: '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel',
url: '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel', // url: '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel',
// url: '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel', // url: '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel',
method: 'get', method: 'get',
params params
...@@ -13,8 +13,8 @@ export function indexInfo(params) { ...@@ -13,8 +13,8 @@ export function indexInfo(params) {
// 获取所有域名 // 获取所有域名
export function getdomain(params) { export function getdomain(params) {
return request({ return request({
// url: '//sysapi.jxhh.com/api/v1/oem/channel/domainFront', url: '//sysapi.jxhh.com/api/v1/oem/channel/domainFront',
url: '//192.168.26.179:6601/api/v1/oem/channel/domainFront', // url: '//192.168.26.179:6601/api/v1/oem/channel/domainFront',
// url: '//newsys.jxhh.com/api/v1/oem/channel/domainFront', // url: '//newsys.jxhh.com/api/v1/oem/channel/domainFront',
method: 'get', method: 'get',
params params
...@@ -23,8 +23,8 @@ export function getdomain(params) { ...@@ -23,8 +23,8 @@ export function getdomain(params) {
// 获取官网设置接口 // 获取官网设置接口
export function webSite(params) { export function webSite(params) {
return request({ return request({
// url: '//sysapi.jxhh.com/api/v1/oem/common/counsel', url: '//sysapi.jxhh.com/api/v1/oem/common/counsel',
url: '//192.168.26.179:6601/api/v1/oem/common/counsel', // url: '//192.168.26.179:6601/api/v1/oem/common/counsel',
// url: '//newsys.jxhh.com/api/v1/oem/common/counsel', // url: '//newsys.jxhh.com/api/v1/oem/common/counsel',
method: 'get', method: 'get',
params params
...@@ -34,8 +34,8 @@ export function webSite(params) { ...@@ -34,8 +34,8 @@ export function webSite(params) {
// 云仓所有列表——Banner和域名/产品和服务/供应商入驻 // 云仓所有列表——Banner和域名/产品和服务/供应商入驻
export function getallCloudList(params) { export function getallCloudList(params) {
return request({ return request({
// url: '//sysapi.jxhh.com/api/v1/oem/front/CloudList', url: '//sysapi.jxhh.com/api/v1/oem/front/CloudList',
url: '//192.168.26.179:6601/api/v1/oem/front/CloudList', // url: '//192.168.26.179:6601/api/v1/oem/front/CloudList',
// url: '//newsys.jxhh.com/api/v1/oem/front/CloudList', // url: '//newsys.jxhh.com/api/v1/oem/front/CloudList',
method: 'get', method: 'get',
params params
...@@ -44,8 +44,8 @@ export function getallCloudList(params) { ...@@ -44,8 +44,8 @@ export function getallCloudList(params) {
//获取sso域名 //获取sso域名
export function getssoUrl(data) { export function getssoUrl(data) {
return request({ return request({
// url: '//sysapi.jxhh.com/api/v1/oem/webSite/ssoChannel', url: '//sysapi.jxhh.com/api/v1/oem/webSite/ssoChannel',
url: '//192.168.26.179:6601/api/v1/oem/webSite/ssoChannel', // url: '//192.168.26.179:6601/api/v1/oem/webSite/ssoChannel',
// url: '//newsys.jxhh.com/api/v1/oem/webSite/ssoChannel', // url: '//newsys.jxhh.com/api/v1/oem/webSite/ssoChannel',
method: 'get', method: 'get',
params: data params: data
......
...@@ -644,7 +644,11 @@ ...@@ -644,7 +644,11 @@
// 获取渠道id // 获取渠道id
getIndexInfo() { getIndexInfo() {
let op = 'open' let op = 'open'
let ssa = window.location.host if(window.location.hostname=='localhost'){
var ssa = 'www.stbz.net'
}else{
var ssa = window.location.host
}
const data = { const data = {
// domain: 'newsys.jxhh.com', // domain: 'newsys.jxhh.com',
domain: ssa, domain: ssa,
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<el-form-item label='商品标题:' prop="goods_name"> <el-form-item label='商品标题:' prop="goods_name">
<el-input v-model="goodsInfoForm.goods_name" placeholder="请输入商品标题" style="width:420px;"></el-input> <el-input v-model="goodsInfoForm.goods_name" placeholder="请输入商品标题" style="width:420px;"></el-input>
<span class="tip-span ml20">商品名称限制在30字以内,不要填写与商品无关的词</span> <span class="tip-span ml20">商品名称限制在50字以内,不要填写与商品无关的词</span>
</el-form-item> </el-form-item>
<el-form-item label='商品关键词:' prop="goods_des"> <el-form-item label='商品关键词:' prop="goods_des">
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
categoryStr: [{required: true, message: '商品分类不能为空', trigger: 'blur'}], categoryStr: [{required: true, message: '商品分类不能为空', trigger: 'blur'}],
goods_name: [ goods_name: [
{required: true, message: '请输入商品名称', trigger: 'blur'}, {required: true, message: '请输入商品名称', trigger: 'blur'},
{min: 3, max: 30, message: '商品标题限制在3字符以上,30个字符以下', trigger: 'blur'} {min: 3, max: 50, message: '商品标题限制在3字符以上,50个字符以下', trigger: 'blur'}
], ],
// goods_des: [{required: true, validator: goodsDecCheck, trigger: 'blur'}], // goods_des: [{required: true, validator: goodsDecCheck, trigger: 'blur'}],
// producing_area:[{required: true, message: '请选择商品产地', trigger: 'change'}], // producing_area:[{required: true, message: '请选择商品产地', trigger: 'change'}],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论