[fix]页面优化

develop
huyuanxiang 2 years ago
parent a5a6413c19
commit 23c1b1ad5b

@ -3,7 +3,7 @@
*/ */
window._CONFIG = { window._CONFIG = {
//接口父路径 //接口父路径
VUE_APP_API_BASE_URL: '', VUE_APP_API_BASE_URL: 'http://store-admin.nhet.cloud:8080/jeecg-boot',
//单点登录地址 //单点登录地址
VUE_APP_CAS_BASE_URL: '', VUE_APP_CAS_BASE_URL: '',
//文件预览路径 //文件预览路径

@ -5,11 +5,11 @@
<div class="header"> <div class="header">
<a href="/"> <a href="/">
<img src="~@/assets/logo.svg" class="logo" alt="logo"> <img src="~@/assets/logo.svg" class="logo" alt="logo">
<span class="title">NH DevOps Platform</span> <span class="title">能辉在线订货商城</span>
</a> </a>
</div> </div>
<div class="desc"> <div class="desc">
NH DevOps Platform 是能辉科技光伏电站运维监控平台 <!-- NH DevOps Platform 是能辉科技光伏电站运维监控平台-->
</div> </div>
</div> </div>
@ -69,7 +69,7 @@
background-size: 100%; background-size: 100%;
padding: 110px 0 144px; padding: 110px 0 144px;
position: relative; position: relative;
background-size: cover;
a { a {
text-decoration: none; text-decoration: none;
} }

@ -17,8 +17,8 @@
:type="collapsed ? 'menu-unfold' : 'menu-fold'" :type="collapsed ? 'menu-unfold' : 'menu-fold'"
@click="toggle"/> @click="toggle"/>
<span v-if="device === 'desktop'"></span> <span v-if="device === 'desktop'">线</span>
<span v-else>NH DevOps Plat</span> <span v-else>NH SHOP</span>
<user-menu :theme="theme"/> <user-menu :theme="theme"/>
</div> </div>

@ -21,7 +21,7 @@
props: { props: {
title: { title: {
type: String, type: String,
default: 'NH DevOps Plat', default: 'NH SHOP',
required: false required: false
}, },
showTitle: { showTitle: {

@ -11,8 +11,8 @@ import { ACCESS_TOKEN, TENANT_ID } from "@/store/mutation-types"
* 则映射后端域名通过 vue.config.js * 则映射后端域名通过 vue.config.js
* @type {*|string} * @type {*|string}
*/ */
let apiBaseUrl = 'http://47.100.35.222:8080/jeecg-boot' // let apiBaseUrl = 'http://store-admin.nhet.cloud:8080/jeecg-boot'
// let apiBaseUrl = window._CONFIG['domianURL'] || "/jeecg-boot"; let apiBaseUrl = window._CONFIG['domianURL'] || "/jeecg-boot";
//console.log("apiBaseUrl= ",apiBaseUrl) //console.log("apiBaseUrl= ",apiBaseUrl)
// 创建 axios 实例 // 创建 axios 实例
const service = axios.create({ const service = axios.create({

@ -145,7 +145,7 @@
fieldList.push({type:'string',value:'detail',text:'地址',dictCode:''}) fieldList.push({type:'string',value:'detail',text:'地址',dictCode:''})
fieldList.push({type:'string',value:'recipient',text:'接收人',dictCode:''}) fieldList.push({type:'string',value:'recipient',text:'接收人',dictCode:''})
fieldList.push({type:'string',value:'telephone',text:'手机',dictCode:''}) fieldList.push({type:'string',value:'telephone',text:'手机',dictCode:''})
fieldList.push({type:'int',value:'isDefault',text:'是否默认0否 默认1',dictCode:'isDefault'}) fieldList.push({type:'int',value:'isDefault',text:'是否默认',dictCode:'isDefault'})
fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''}) fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
this.superFieldList = fieldList this.superFieldList = fieldList
} }

@ -100,7 +100,7 @@
import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import GoodsModal from './modules/GoodsModal' import GoodsModal from './modules/GoodsModal'
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
import goodsList from '@views/erp/const/goodsList' import goodsList from '@/views/erp/const/goodsList'
export default { export default {
name: 'GoodsList', name: 'GoodsList',
@ -143,7 +143,7 @@
fieldList.push({type:'string',value:'category',text:'分类',dictCode:''}) fieldList.push({type:'string',value:'category',text:'分类',dictCode:''})
fieldList.push({type:'string',value:'specs',text:'规格',dictCode:''}) fieldList.push({type:'string',value:'specs',text:'规格',dictCode:''})
fieldList.push({type:'string',value:'factory',text:'厂商',dictCode:''}) fieldList.push({type:'string',value:'factory',text:'厂商',dictCode:''})
fieldList.push({type:'int',value:'ifSale',text:'是否销售01是 默认',dictCode:'ifSale'}) fieldList.push({type:'int',value:'ifSale',text:'是否销售',dictCode:'ifSale'})
fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''}) fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
this.superFieldList = fieldList this.superFieldList = fieldList
} }

@ -128,7 +128,7 @@
" "
/> />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="备注" prop="desc"> <a-form-model-item :label="infoModel.title + '意见'" prop="desc">
<a-input v-model="form.desc" type="textarea" /> <a-input v-model="form.desc" type="textarea" />
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>

@ -29,7 +29,7 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-model-item label="是否销售01是 默认" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ifSale"> <a-form-model-item label="是否销售" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ifSale">
<j-dict-select-tag type="list" v-model="model.ifSale" dictCode="ifSale" placeholder="请选择是否销售01是 默认" /> <j-dict-select-tag type="list" v-model="model.ifSale" dictCode="ifSale" placeholder="请选择是否销售01是 默认" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -126,7 +126,7 @@
that.confirmLoading = false; that.confirmLoading = false;
}) })
} }
}) })
}, },
} }

Loading…
Cancel
Save