zs 1 год назад
Родитель
Сommit
3946bd259a

+ 1 - 0
src/lang/package/zh-cn/pages.js

@@ -135,6 +135,7 @@ export default {
     examDialogTitle: '审核赛事',
     name: '赛事名称',
     type: '赛事类型',
+    work: '组织单位',
     industry: '赛事行业',
     form: '类别',
     file: '封面',

+ 1 - 1
src/views/achievement/index.vue

@@ -44,7 +44,7 @@
               <el-cascader v-model="form.area" :props="{ value: 'label', label: 'label' }" :options="cityList" style="width: 100%" />
             </template>
             <template #file>
-              <custom-upload model="file" :list="form.file" :limit="1" url="/files/web/template/upload" @change="onUpload"></custom-upload>
+              <custom-upload model="file" :list="form.file" :limit="1" url="/files/web/template_achievement/upload" @change="onUpload"></custom-upload>
             </template>
           </custom-form>
         </el-col>

+ 1 - 0
src/views/match/info/index.vue

@@ -192,6 +192,7 @@ const loading = ref(false)
 const formFields = ref([
   { label: t('pages.match.name'), model: 'name' },
   { label: t('pages.match.type'), model: 'type', type: 'select' },
+  { label: t('pages.match.work'), model: 'work' },
   { label: t('pages.match.industry'), model: 'industry', type: 'select' },
   { label: t('pages.match.form'), model: 'form', type: 'select' },
   { label: t('pages.match.money'), model: 'money' },

+ 1 - 1
src/views/platform/news/index.vue

@@ -36,7 +36,7 @@
                 model="logo"
                 :list="form.logo"
                 :limit="1"
-                url="/files/web/template/news/upload"
+                url="/files/web/template_news/upload"
                 @change="onUpload"
                 listType="picture-card"
               ></custom-upload>

+ 1 - 1
src/views/platform/policy/index.vue

@@ -36,7 +36,7 @@
                 model="logo"
                 :list="form.logo"
                 :limit="1"
-                url="/files/web/template/news/upload"
+                url="/files/web/template_news/upload"
                 @change="onUpload"
                 listType="picture-card"
               ></custom-upload>

+ 4 - 4
src/views/system/design/index.vue

@@ -15,7 +15,7 @@
                 model="logoUrl"
                 :list="form.logoUrl"
                 :limit="1"
-                url="/files/web/template/design/upload"
+                url="/files/web/template_design/upload"
                 @change="onUpload"
               ></custom-upload>
             </template>
@@ -24,7 +24,7 @@
                 model="videoUrl"
                 :list="form.videoUrl"
                 :limit="1"
-                url="/files/web/template/design/upload"
+                url="/files/web/template_design/upload"
                 @change="onUpload"
               ></custom-upload>
             </template>
@@ -41,7 +41,7 @@
                       model="Code"
                       :list="form.footInfo.Code"
                       :limit="1"
-                      url="/files/web/template/design/upload"
+                      url="/files/web/template_design/upload"
                       @change="onFUpload"
                     ></custom-upload>
                   </template>
@@ -50,7 +50,7 @@
                       model="Unit"
                       :list="form.footInfo.videoUrl"
                       :limit="1"
-                      url="/files/web/template/design/upload"
+                      url="/files/web/template_design/upload"
                       @change="onFUpload"
                     ></custom-upload>
                   </template>

+ 1 - 1
src/views/user/user/parts/company.vue

@@ -14,7 +14,7 @@
             model="logo"
             :list="form.logo"
             :limit="1"
-            url="/files/web/template/company/upload"
+            url="/files/web/template_company/upload"
             @change="onFUpload"
             listType="picture-card"
           ></custom-upload>