doum
2025-09-26 9057e04efad1b7d61c77a72e5c37a504d0aee935
admin/src/components/business/OperaInformationWindow.vue
@@ -10,6 +10,14 @@
      <el-form-item label="标题" prop="title">
        <el-input v-model="form.title" placeholder="请输入标题" v-trim/>
      </el-form-item>
      <el-form-item label="所属模块" v-if="form.type == 0" prop="module">
        <el-select v-model="form.module" >
          <el-option :value="0" label="行业资讯"/>
          <el-option :value="1" label="运营经验"/>
          <el-option :value="2" label="功能介绍"/>
          <el-option :value="3" label="市场信息"/>index
        </el-select>
      </el-form-item>
      <el-form-item label="列表图" prop="imgurl" >
        <div class="upload_wrap">
          <UploadAvatarImage :file="{ 'imgurlfull': form.fullImgurl, 'imgurl': form.imgurl }" :uploadData="{folder:''}"   @uploadSuccess="uploadAvatarSuccess"   />
@@ -37,7 +45,6 @@
    </el-form>
  </GlobalWindow>
</template>
<script>
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
@@ -57,8 +64,10 @@
        id: null,
        remark: '',
        title: '',
        type:null,
        detail: '',
        imgurl: '',
        module: 0,
        fullImgurl: '',
        jumpType: 0,
        content: '',
@@ -81,7 +90,7 @@
    })
  },
  methods: {
    open (title, target) {
    open (title, target,type) {
      this.title = title
      this.visible = true
      // 新建
@@ -92,12 +101,14 @@
            id: null,
            remark: '',
            title: '',
            type:type,
            detail: '',
            releaseDate: dayjs().format('YYYY-MM-DD HH:mm:ss'),
            imgurl: '',
            fullImgurl: '',
            jumpType: 0,
            content: '',
            module: 0,
            sortnum: '',
            status: 0
          }