Commit 2310d7dfa373ee454c97105f403fb734e8f4d3de

Authored by 杨鑫
1 parent ff157a15

最新

admin-web-master/src/components/Tinymce/components/EditorImage.vue
1 1 <template>
2 2 <div class="upload-container">
3 3 <el-button :style="{background:color,borderColor:color}" icon="el-icon-upload" size="mini" type="primary" @click=" dialogVisible=true">
4   - 上传图片
  4 + 上传
5 5 </el-button>
6 6 <el-dialog :visible.sync="dialogVisible">
7 7 <el-upload
... ... @@ -11,17 +11,15 @@
11 11 :on-remove="handleRemove"
12 12 :on-success="handleSuccess"
13 13 :before-upload="beforeUpload"
14   - class="editor-slide-upload upload-container"
15   - :action="action"
  14 + class="editor-slide-upload"
  15 + action="https://httpbin.org/post"
16 16 list-type="picture-card"
17   - accept="image/jpeg,image/png,image/gif"
18 17 >
19 18 <el-button size="small" type="primary">
20 19 点击上传
21 20 </el-button>
22 21 </el-upload>
23   - <el-button @click="dialogVisible = false" class="buttonHover"
24   - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">
  22 + <el-button @click="dialogVisible = false">
25 23 取消
26 24 </el-button>
27 25 <el-button type="primary" @click="handleSubmit">
... ... @@ -32,7 +30,7 @@
32 30 </template>
33 31  
34 32 <script>
35   -import { upUrl } from '@/utils/request'
  33 +// import { getToken } from 'api/qiniu'
36 34  
37 35 export default {
38 36 name: 'EditorSlideUpload',
... ... @@ -46,8 +44,7 @@ export default {
46 44 return {
47 45 dialogVisible: false,
48 46 listObj: {},
49   - fileList: [],
50   - action:upUrl
  47 + fileList: []
51 48 }
52 49 },
53 50 methods: {
... ... @@ -70,7 +67,7 @@ export default {
70 67 const objKeyArr = Object.keys(this.listObj)
71 68 for (let i = 0, len = objKeyArr.length; i < len; i++) {
72 69 if (this.listObj[objKeyArr[i]].uid === uid) {
73   - this.listObj[objKeyArr[i]].url = this.$baseURL+response.data
  70 + this.listObj[objKeyArr[i]].url = response.files.file
74 71 this.listObj[objKeyArr[i]].hasSuccess = true
75 72 return
76 73 }
... ... @@ -107,13 +104,8 @@ export default {
107 104 <style lang="scss" scoped>
108 105 .editor-slide-upload {
109 106 margin-bottom: 20px;
110   - // ::v-deep .el-upload--picture-card {
111   - // width: 100%;
112   - // }
113   -}
114   -.upload-container {
115   - // display: flex;
116   - // justify-content: center; /* 水平居中 */
117   - // align-items: center; /* 垂直居中 */
  107 + ::v-deep .el-upload--picture-card {
  108 + width: 100%;
  109 + }
118 110 }
119 111 </style>
... ...
admin-web-master/src/components/add/addss.vue
... ... @@ -12,7 +12,7 @@
12 12  
13 13  
14 14 <el-form-item label="手机号" prop="phone">
15   - <el-input v-model="formInline.phone" placeholder="请输入"></el-input>
  15 + <el-input v-model="formInline.phone" maxlength="11" placeholder="请输入"></el-input>
16 16 </el-form-item>
17 17  
18 18 <el-form-item label="性别" prop="sex">
... ... @@ -240,15 +240,32 @@
240 240 ...this.formInline,
241 241 checkState: '2',
242 242 state:'1',
  243 + flag:false,
243 244 applyTime: this.updateCurrentTime()
244 245 }).then(res => {
245   - if (res.code == 200) {
  246 + if (res.code == 200 && res.message !='手机号已被注册') {
246 247 this.$message({
247 248 message: '添加成功',
248 249 type: 'success'
249 250 })
250 251 this.$emit('removeonaction', '1')
251   - } else {
  252 + } else if(res.code == 200 && res.message =='手机号已被注册'){
  253 + cerePlatformMerchantadd({
  254 + ...this.formInline,
  255 + checkState: '2',
  256 + state:'1',
  257 + flag:false,
  258 + applyTime: this.updateCurrentTime()
  259 + }).then(res => {
  260 + if (res.code == 200) {
  261 + this.$message({
  262 + message: '添加成功',
  263 + type: 'success'
  264 + })
  265 + this.$emit('removeonaction', '1')
  266 + }
  267 + })
  268 + }else {
252 269 this.$message({
253 270 message: res.msg,
254 271 type: 'error'
... ...
admin-web-master/src/utils/request.js
... ... @@ -17,12 +17,12 @@ let baseURL = &#39;&#39;
17 17 if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) {
18 18  
19 19 // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server';
20   - // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server';
  20 + baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server';
21 21  
22 22 // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1;
23 23  
24 24  
25   - baseURL = 'http://128.10.249.32:9003';
  25 + // baseURL = 'http://192.168.2.227:9003';
26 26  
27 27  
28 28 } else {
... ...
ceres-uniapp-master/config/api.js
... ... @@ -2,10 +2,10 @@
2 2 // const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'
3 3 // const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api'
4 4 // const TIAOZHUAN = 'https://jy.scjysm.asia:18086/cdwlMall/'
5   -const DOMAIN_PREFIXPING = 'http://128.10.249.32:9003'
6   -const DOMAIN_PREFIX = 'http://128.10.249.32:9007'
7   -// const DOMAIN_PREFIXPING = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'
8   -// const DOMAIN_PREFIX = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/api'
  5 +// const DOMAIN_PREFIXPING = 'http://128.10.249.32:9003'
  6 +// const DOMAIN_PREFIX = 'http://128.10.249.32:9007'
  7 +const DOMAIN_PREFIXPING = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'
  8 +const DOMAIN_PREFIX = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/api'
9 9 const TIAOZHUAN = 'https://zhgw-uat.028wlkj.com/cdwlMall/'
10 10  
11 11  
... ... @@ -45,9 +45,9 @@ const TERMINAL = 1
45 45  
46 46 module.exports = {
47 47 terminal: TERMINAL, // 画布设备 1 小程序,2 H5,3 App 4 电脑
48   - SettledMerchantPrefix: TIAOZHUAN + 'settled-merchant' ,
  48 + // SettledMerchantPrefix: TIAOZHUAN + 'settled-merchant' ,
49 49 // 'https://jy.scjysm.asia:18086/cdwlMall/settled-merchant', //商家入驻链接
50   -
  50 + SettledMerchantPrefix:'http://localhost:8082',
51 51 shareLink: TIAOZHUAN + 'meh5', // 分享地址
52 52 // shareLink: 'http://172.16.61.123:9007/h5', // 分享地址
53 53  
... ...
ceres-uniapp-master/pages_category_page1/goodsModule/evaluate.vue
... ... @@ -136,7 +136,7 @@
136 136 }
137 137 // console.log(this.commentImgs,'fffffffffffffffff')
138 138 // return
139   - let data = [{
  139 + let data ={
140 140 orderId:this.orderId,
141 141 skuId:this.commentData.skuId,
142 142 productId:this.commentData.productId,
... ... @@ -146,7 +146,7 @@
146 146 des:this.descStar,
147 147 delivery:this.logisticsStar,
148 148 attitude:this.serviceStar
149   - }]
  149 + }
150 150  
151 151 NET.request(API.Comment, {
152 152 params:data
... ...
ceres-uniapp-master/pages_category_page1/goodsModule/evaluateList.vue
... ... @@ -12,7 +12,7 @@
12 12 <view class="evaluate-contentbox mar-top-20" v-for="(item,index) in commentList" :key="index">
13 13 <view class="evaluate-content flex-items flex-row flex-sp-between">
14 14 <view class="flex-items">
15   - <image class="user-headSmallImg" :src="item.headImage"></image>
  15 + <image class="user-headSmallImg" :src="$baseURL+item.headImage"></image>
16 16 <view class="">
17 17 <text class="fs28 mar-left-20">{{item.name}}</text>
18 18 <view class="mar-left-20 fs22 font-color-999 mar-top-10">
... ...
ceres-uniapp-master/pages_category_page1/procedure/procedure.vue
... ... @@ -9,7 +9,7 @@
9 9 <view class="time">
10 10 {{tableList.releaseTime}}
11 11 </view>
12   - <view class="desc">
  12 + <view class="desc" style="white-space: normal; word-wrap: break-word;">
13 13 <u-parse :html="tableList.announcementContent"></u-parse>
14 14  
15 15 </view>
... ...
lvdao-miniapp/main.js
... ... @@ -8,13 +8,13 @@ import uView from &quot;uview-ui&quot;;
8 8 import DialogBox from './components/DialogBox/DialogBox';
9 9 // let hostall = window.location.href;
10 10 // let c1 = hostall.split('cdwlMall')[0];
11   -let c1 = 'https://jy.scjysm.asia:18086/'
12   -// let c1 = 'https://zhgw-uat.028wlkj.com/'
  11 +// let c1 = 'https://jy.scjysm.asia:18086/'
  12 +let c1 = 'https://zhgw-uat.028wlkj.com/'
13 13 Vue.config.productionTip = false
14 14 Vue.prototype.$http = http
15 15 Vue.prototype.$imgUrl = (url) => {
16   - return (c1 + "cdwlMall/questionnaire/file/static" + url);
17   - // return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url);
  16 + // return (c1 + "cdwlMall/questionnaire/file/static" + url);
  17 + return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url);
18 18 }
19 19 Vue.prototype.$img = c1+ 'cdwlMall'
20 20 // Vue.prototype.$upload = "https://zhld.028wlkj.com:49008/cdwlMall/admin-server/miniio/upload"
... ...
lvdao-miniapp/pagesA/myZiyuan/myZiDetails.vue
... ... @@ -224,7 +224,7 @@
224 224 },
225 225 onLoad(options) {
226 226 this.imgurl = this.$img
227   - const item = JSON.parse(decodeURIComponent(options.item));
  227 + const item = JSON.parse(decodeURIComponent(options.item))
228 228 console.log(options.item, '1123123213')
229 229 this.record = item
230 230 let imgsList = item.cereBasicInformationShop && item.cereBasicInformationShop.displayMainImage ? item
... ...
lvdao-miniapp/utils/request.js
1 1  
2 2 // let hostall = window.location.href;
3 3 // let c1 = hostall.split('cdwlMall')[0];
4   -let c1 = 'https://jy.scjysm.asia:18086/'
5   -// let c1 = 'https://zhgw-uat.028wlkj.com/'
  4 +// let c1 = 'https://jy.scjysm.asia:18086/'
  5 +let c1 = 'https://zhgw-uat.028wlkj.com/'
6 6 //封装request请求
7 7 const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => {
8 8 //判断header提交数据类型
... ...
merchant-web-master/src/utils/request.js
... ... @@ -21,7 +21,7 @@ let PREFIX;
21 21 // PREFIX = 'http://8.130.38.56:8027/business-server';
22 22 PREFIX = 'https://zhgw-uat.028wlkj.com/cdwlMall/business-server';
23 23 // PREFIX = 'https://jy.scjysm.asia:18086/cdwlMall/business-server';
24   - // PREFIX = 'http://128.10.249.31:9004';
  24 + // PREFIX = 'http://128.10.249.32:9004';
25 25 }else{
26 26 // PREFIX = '/merchant-business';
27 27 // PREFIX = 'http://8.130.38.56:9004';
... ...
settled-merchant-master/src/api/index.js
... ... @@ -3,19 +3,18 @@ import home from &#39;./home&#39;
3 3 const host = `${window.location.protocol}//${window.location.host}`
4 4 const TIAOZHUAN = `${host}/cdwlMall/meserver/`
5 5 // 获取当前环境变量 true => 生产环境 false => 开发环境
6   -const BASEURL = (process.env.NODE_ENV === 'production') ? TIAOZHUAN + 'api' : TIAOZHUAN + 'api'
7   -// const upUrl = (process.env.NODE_ENV === 'production') ? `${window.location.protocol}//${window.location.host}/cdwlMall/meserver/admin-server` : 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'
8   -const upUrl = (process.env.NODE_ENV === 'production') ? TIAOZHUAN + 'admin-server' : TIAOZHUAN + 'admin-server'
  6 +const BASEURL = (process.env.NODE_ENV === 'production') ? TIAOZHUAN + 'api' : 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/api'
  7 +const upUrl = (process.env.NODE_ENV === 'production') ? TIAOZHUAN + 'admin-server' : 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'
9 8 export const api = {
10   - // 登录模块
11   - ...home(BASEURL),
12   - // 图片上传
13   - upload: `${upUrl}/miniio/uploadQuestion`,
14   - // 商家入驻
15   - enterpriseCheck: `${BASEURL}/check/enterpriseCheck`,
16   - individualCheck: `${BASEURL}/check/individualCheck`,
17   - organizationsCheck: `${BASEURL}/check/organizationsCheck`,
18   - personalCheck: `${BASEURL}/check/personalCheck`,
19   - getByName: `${BASEURL}/app/getSelect`
  9 + // 登录模块
  10 + ...home(BASEURL),
  11 + // 图片上传
  12 + upload: `${upUrl}/miniio/uploadQuestion`,
  13 + // 商家入驻
  14 + enterpriseCheck: `${BASEURL}/check/enterpriseCheck`,
  15 + individualCheck: `${BASEURL}/check/individualCheck`,
  16 + organizationsCheck: `${BASEURL}/check/organizationsCheck`,
  17 + personalCheck: `${BASEURL}/check/personalCheck`,
  18 + getByName: `${BASEURL}/app/getSelect`
20 19 }
21 20 export default api
... ...