Browse Source

luckysheet动态域名

luckysheet-xiaowang-Intelligen
mk 9 months ago
parent
commit
28046427d1
  1. 2
      .env.development
  2. 1
      .env.preview
  3. 1
      .env.test
  4. 6
      src/views/modules/base/smartExcel/cpts/excel-view.vue
  5. 2
      src/views/modules/base/smartExcel/filling.vue

2
.env.development

@ -12,7 +12,7 @@ VUE_APP_API_SERVER = http://219.146.91.110:30801/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api
VUE_APP_BIPASS_API_SERVER = /linkdata/linkdata-gateway/route
VUE_APP_SOCKET_SERVER = ws://219.146.91.110:30801/api
# VUE_APP_NODE_ENV=dev_sdtdt
VUE_APP_NODE_ENV=dev
#项目根路径

1
.env.preview

@ -1,6 +1,7 @@
NODE_ENV=production
# VUE_APP_API_SERVER = http://120.27.18.76/api
VUE_APP_API_SERVER = https://epmet-preview.elinkservice.cn/api
VUE_APP_SOCKET_SERVER = ws://epmet-preview.elinkservice.cn/api
VUE_APP_BIPASS_API_SERVER = https://epmet-preview.elinkservice.cn/linkdata/linkdata-gateway/route
VUE_APP_NODE_ENV=preview
VUE_APP_PUBLIC_PATH=epmet-work-pc

1
.env.test

@ -1,5 +1,6 @@
NODE_ENV=test
VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api
VUE_APP_BIPASS_API_SERVER = https://epmet-test.elinkservice.cn/linkdata/linkdata-gateway/route
VUE_APP_SOCKET_SERVER = ws://epmet-test.elinkservice.cn/api
VUE_APP_NODE_ENV=test
VUE_APP_PUBLIC_PATH=epmet-work-pc

6
src/views/modules/base/smartExcel/cpts/excel-view.vue

@ -166,9 +166,9 @@ export default {
options.gridKey = this.currentId;
options.allowUpdate = true;
options.container = 'luckysheet'
options.loadUrl = `http://219.146.91.110:30801/api/actual/base/luckySheet/workbook/load?workbookId=${this.currentId}`
options.updateUrl = `ws://219.146.91.110:30801/api/actual/base/ws/luckysheet/${this.currentId}/${id}`
options.loadSheetUrl = `http://219.146.91.110:30801/api/actual/base/luckySheet/workbook/loadSheets`
options.loadUrl = `${process.env.VUE_APP_API_SERVER}/actual/base/luckySheet/workbook/load?workbookId=${this.currentId}`
options.updateUrl = `${process.env.VUE_APP_SOCKET_SERVER}/actual/base/ws/luckysheet/${this.currentId}/${id}`
options.loadSheetUrl = `${process.env.VUE_APP_API_SERVER}/actual/base/luckySheet/workbook/loadSheets`
window.luckysheet.create({
...options,
hook: {

2
src/views/modules/base/smartExcel/filling.vue

@ -36,7 +36,7 @@
</el-select>
</el-form-item>
<el-form-item label="创建人" prop="createdBy">
<el-select class="u-item-width-normal" v-model.trim="formData.createByName"
<el-select class="u-item-width-normal" v-model.trim="formData.createdBy"
placeholder="请选择" size="small" clearable :disabled="manager">
<el-option v-for="item in createdByArray" :key="item.staffId" :label="item.name"
:value="item.staffId">

Loading…
Cancel
Save