Commit aa087983 authored by youjie's avatar youjie

no message

parent fdcd687e
<style> <style scoped>
.user_time_picker .el-date-editor--date>.el-input__inner { .user_time_picker .el-date-editor--date>.el-input__inner {
padding: 0 10px; padding: 0 10px;
font-size: 13px; font-size: 13px;
...@@ -147,9 +147,9 @@ ...@@ -147,9 +147,9 @@
</li> </li>
<li> <li>
<span><em>开始/结束时间</em> <span><em>开始/结束时间</em>
<el-date-picker v-model="msg.QStartDate" value-format="yyyy-MM-dd" class="w105" type="date"></el-date-picker> <el-date-picker v-model="msg.QStartDate" value-format="yyyy-MM-dd" class="w150" type="date" :clearable="false"></el-date-picker>
- -
<el-date-picker v-model="msg.QEndDate" value-format="yyyy-MM-dd" class="w105" type="date"></el-date-picker> <el-date-picker v-model="msg.QEndDate" value-format="yyyy-MM-dd" class="w150" type="date" :clearable="false"></el-date-picker>
</span> </span>
</li> </li>
<li> <li>
...@@ -220,49 +220,61 @@ ...@@ -220,49 +220,61 @@
</td> </td>
<td> <td>
<el-form-item label="日期" prop="Date"> <el-form-item label="日期" prop="Date">
<el-date-picker value-format="yyyy-MM-dd" class="w217" v-model="addMsg.Date" type="date"> <el-date-picker value-format="yyyy-MM-dd" class="w217" v-model="addMsg.Date" type="date" :clearable="false">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<tr>
</table> <td>
<el-form-item label="描述" prop=""> <el-form-item label="描述" prop="">
<el-input maxlength="-1" type="textarea" :rows="2" v-model="addMsg.Content" <el-input maxlength="-1" type="textarea" :rows="2" v-model="addMsg.Content"
placeholder="描述" style="width: 91%;"></el-input> placeholder="描述" style="width: 91%;"></el-input>
</el-form-item> </el-form-item>
</el-form> </td>
<div class="_addUpload_box clearfix" >
<template v-for="(file,fIndex) in addMsg.FileList"> </tr>
<div v-if="file.FileType==1"> <tr>
<div style="width:100%;height:100%;overflow: hidden;"> <td>
<img v-if="file.Url" :src="file.Url" @click="showUpLoadFile(file)"> <div class="_pic_upload" style="display: flex;justify-content: start;">
</div> <el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action="">
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> <div style="margin-top: 60px;">
</div> <i class="el-icon-plus avatar-uploader-icon"></i>
<div v-if="file.FileType==2"> <div class="el-upload__text">{{$t("active.ld_djscwj")}}</div>
<div class="iconfont " </div>
:class="file.Name.substring(file.Name.lastIndexOf('.')+1,file.Name.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" </el-upload>
@click="showUpLoadFile(file)">
</div> </div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> </td>
</div> <td>
<div v-if="file.Type==3"> <div class="_addUpload_box clearfix" >
<div class="iconfont icon-excel" @click="showUpLoadFile(file)"> <template v-for="(file,fIndex) in addMsg.FileList">
<div v-if="file.FileType==1">
<div style="width:100%;height:100%;overflow: hidden;">
<img v-if="file.Url" :src="file.Url" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
<div v-if="file.FileType==2">
<div class="iconfont "
:class="file.Name.substring(file.Name.lastIndexOf('.')+1,file.Name.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
<div v-if="file.Type==3">
<div class="iconfont icon-excel" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
</template>
</div> </div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> </td>
</div>
</template> </tr>
</div> </table>
<div class="_pic_upload" style="display: flex;justify-content: center;"> </el-form>
<el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action="">
<div style="margin-top: 60px;">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">{{$t("active.ld_djscwj")}}</div>
</div>
</el-upload>
</div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="outerVisible=false,resetForm('addMsg')"> <button class="hollowFixedBtn" @click="outerVisible=false,resetForm('addMsg')">
{{ $t("pub.cancelBtn") }} {{ $t("pub.cancelBtn") }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment