Browse Source

feat:[模板管理][update]

lkf
luojie 2 months ago
parent
commit
4126b2db12
2 changed files with 6 additions and 3 deletions
  1. +4
    -1
      src/components/Template/HandleFormItem.vue
  2. +2
    -2
      vue.config.js

+ 4
- 1
src/components/Template/HandleFormItem.vue View File

@ -51,7 +51,7 @@
<span v-if="inputValue">{{ inputValue }}</span>
<span v-else class="default-placeholder-text">{{ getPlaceholder() }}</span>
</div>
<template>
<template v-else-if="type === 'attachment'">
<el-upload class="upload-demo" :action="uploadFileUrl" :on-preview="handlePreview"
:headers="headers"
:on-remove="handleRemove" :before-remove="beforeRemove" multiple :limit="10"
@ -267,6 +267,9 @@ export default {
},
///
onCommonHandleRegent(item, type) {
if (this.templateFillType !== 'actFill') {
return
}
let params = {
studyFormId: this.templateData.id,
uuid: this.uuid,

+ 2
- 2
vue.config.js View File

@ -34,8 +34,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
// target: `http://39.99.251.173:8080`,
// target: `http://localhost:8080`,
target: `http://39.99.251.173:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save