将固定地址改为全局变量
This commit is contained in:
parent
f751088ed4
commit
ea7e07d7d9
|
@ -519,6 +519,7 @@ import {
|
|||
import 'quill/dist/quill.core.css'
|
||||
import 'quill/dist/quill.snow.css'
|
||||
import 'quill/dist/quill.bubble.css'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
import quillConfig from '../mission/quill-config.js'
|
||||
import {
|
||||
provinceAndCityData,
|
||||
|
@ -559,8 +560,8 @@ export default {
|
|||
}
|
||||
}
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadMusicUrl: this.serverPaths.uploadMusicUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadMusicUrl: serverPaths.uploadMusicUrl,
|
||||
openValue: '是',
|
||||
closeValue: '否',
|
||||
limit: 10,
|
||||
|
|
|
@ -1735,6 +1735,7 @@ import "quill/dist/quill.snow.css";
|
|||
import "quill/dist/quill.bubble.css";
|
||||
import quillConfig from "../locality/quill-config.js";
|
||||
import axios from "axios";
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
import { jsonp } from "vue-jsonp";
|
||||
import {
|
||||
provinceAndCityData,
|
||||
|
@ -1763,8 +1764,8 @@ export default {
|
|||
}
|
||||
};
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
ruleForm: {
|
||||
materialPackageCount: null,
|
||||
materialPackageCountType: null,
|
||||
|
|
|
@ -319,11 +319,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
limit: 10,
|
||||
page: 1,
|
||||
content: '',
|
||||
|
|
|
@ -495,10 +495,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
page: 1,
|
||||
limit: 5,
|
||||
classify: 1,
|
||||
|
|
|
@ -471,11 +471,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
size: 10,
|
||||
page: 1,
|
||||
size1: 10,
|
||||
|
|
|
@ -396,10 +396,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
size: 10,
|
||||
page: 1,
|
||||
size1: 10,
|
||||
|
|
|
@ -320,6 +320,7 @@
|
|||
import 'quill/dist/quill.snow.css'
|
||||
import 'quill/dist/quill.bubble.css'
|
||||
import quillConfig from '../locality/quill-config.js'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
name: 'news',
|
||||
components: {
|
||||
|
@ -327,7 +328,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
size: 10,
|
||||
page: 1,
|
||||
form: {
|
||||
|
|
|
@ -81,6 +81,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
@ -102,7 +103,7 @@
|
|||
info2: {
|
||||
stockDate2: this.getNowTime2(), //日期
|
||||
},
|
||||
uploadUrl: this.serverPaths.uploadUrl
|
||||
uploadUrl: serverPaths.uploadUrl
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -1955,6 +1955,7 @@ import "quill/dist/quill.bubble.css";
|
|||
import quillConfig from "./quill-config.js";
|
||||
import axios from "axios";
|
||||
import { jsonp } from "vue-jsonp";
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
import {
|
||||
provinceAndCityData,
|
||||
regionData,
|
||||
|
@ -1973,8 +1974,8 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
clockData: [], //加钟项目列表数据
|
||||
clockTitle: "", //加钟项目名称
|
||||
isShowAddConsume: false,
|
||||
|
|
|
@ -68,10 +68,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
imgUrl: '',
|
||||
linkUrl: '',
|
||||
type: 3,
|
||||
|
|
|
@ -255,10 +255,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
dialogVisible: false,
|
||||
imageUrl: [],
|
||||
limit: 10,
|
||||
|
|
|
@ -329,6 +329,7 @@
|
|||
import 'quill/dist/quill.bubble.css'
|
||||
import BaiduMap from 'vue-baidu-map/components/map/Map.vue'
|
||||
import quillConfig from './quill-config.js'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
import {
|
||||
provinceAndCityData,
|
||||
regionData,
|
||||
|
@ -351,7 +352,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
titles: '添加任务',
|
||||
goodsType:'',
|
||||
goodsId: '', //任务id
|
||||
|
|
|
@ -489,10 +489,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
openValue: '1',
|
||||
closeValue: '0',
|
||||
limit: 10,
|
||||
|
|
|
@ -132,10 +132,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
size:5,
|
||||
page:1,
|
||||
name:'',
|
||||
|
|
|
@ -341,6 +341,7 @@
|
|||
import 'quill/dist/quill.snow.css'
|
||||
import 'quill/dist/quill.bubble.css'
|
||||
import quillConfig from '../mission/quill-config.js'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
name: 'news',
|
||||
components: {
|
||||
|
@ -348,7 +349,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
quillOption: quillConfig,
|
||||
type: '',
|
||||
typeId: '',
|
||||
|
|
|
@ -416,6 +416,7 @@
|
|||
import 'quill/dist/quill.snow.css'
|
||||
import 'quill/dist/quill.bubble.css'
|
||||
import quillConfig from '../mission/quill-config.js'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
name: 'news',
|
||||
components: {
|
||||
|
@ -423,7 +424,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
quillOption: quillConfig,
|
||||
specif:'',
|
||||
typeId: '',
|
||||
|
|
|
@ -388,6 +388,7 @@
|
|||
import 'quill/dist/quill.snow.css'
|
||||
import 'quill/dist/quill.bubble.css'
|
||||
import quillConfig from '../locality/quill-config.js'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
name: 'news',
|
||||
components: {
|
||||
|
@ -395,7 +396,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
type: '',
|
||||
typeId: '',
|
||||
title: '',
|
||||
|
|
|
@ -405,10 +405,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
size: 5,
|
||||
page: 1,
|
||||
pages: 1,
|
||||
|
|
|
@ -382,6 +382,7 @@
|
|||
import 'quill/dist/quill.snow.css'
|
||||
import 'quill/dist/quill.bubble.css'
|
||||
import quillConfig from '../locality/quill-config.js'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
name: 'news',
|
||||
components: {
|
||||
|
@ -389,7 +390,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
specif: '',
|
||||
typeId: '',
|
||||
title: '',
|
||||
|
|
|
@ -152,10 +152,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
tableDataLoading: true,
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
import load from './tinymce-components/dynamicLoadScript'
|
||||
import toolbar from './tinymce-components/toolbar'
|
||||
import plugins from './tinymce-components/plugins'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
|
||||
const tinymceCDN = 'https://cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js'
|
||||
|
||||
|
@ -47,7 +48,7 @@
|
|||
name: 'Tinymce',
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
classifyId: '',
|
||||
title: '',
|
||||
luckyValue: '',
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
import load from './tinymce-components/dynamicLoadScript'
|
||||
import toolbar from './tinymce-components/toolbar'
|
||||
import plugins from './tinymce-components/plugins'
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
|
||||
const tinymceCDN = 'https://cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js'
|
||||
|
||||
|
@ -48,7 +49,7 @@
|
|||
name: 'Tinymce',
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
classifyId: '',
|
||||
title: '',
|
||||
luckyValue: '',
|
||||
|
|
|
@ -1939,11 +1939,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
artificerIdSet: null,
|
||||
integratingDataStatus: true,
|
||||
totalIntegrating: 0,
|
||||
|
|
|
@ -1804,11 +1804,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
openValue: 1,
|
||||
closeValue: 0,
|
||||
state: 0,
|
||||
|
|
|
@ -1254,11 +1254,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: this.serverPaths.uploadWatermarkUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
openValue: 1,
|
||||
closeValue: 2,
|
||||
state: 'false',
|
||||
|
|
|
@ -66,10 +66,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
page:1,
|
||||
limit:10,
|
||||
tableDataLoading: true,
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
@ -79,7 +80,7 @@
|
|||
memberId:'',
|
||||
sort:'',
|
||||
title:'添加',
|
||||
uploadUrl: this.serverPaths.uploadUrl
|
||||
uploadUrl: serverPaths.uploadUrl
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -182,10 +182,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { serverPaths } from '@/utils/enumData'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
uploadUrl: this.serverPaths.uploadUrl,
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
chatList: [],
|
||||
page: 1,
|
||||
size: 5,
|
||||
|
|
Loading…
Reference in New Issue