傅行帆 6 years ago
parent
commit
dc212d4d81

+ 7
- 1
VUECODE/smart-property-manage/src/views/bill/add/index.vue View File

15
             placeholder="选择日期"/>
15
             placeholder="选择日期"/>
16
       </el-form-item>
16
       </el-form-item>
17
       <div>
17
       <div>
18
-        <span>如果还未制作账单,请先下载账单模板,按规则填写费用后再上传<el-button type="primary" size="small" icon="el-icon-download" @click="submitForm('ruleForm')">下载模板</el-button></span>
18
+        <span>
19
+          <el-upload :on-preview="handlePreview" :on-change="handleChange" :before-upload="beforeUpload" :limit="1" :on-exceed="handleExceed" class="upload-demo" action="" multiple>
20
+            <el-button slot="trigger" size="large" type="primary">选取文件并预览</el-button>
21
+          </el-upload>
22
+          如果还未制作账单,请先下载账单模板,按规则填写费用后再上传
23
+          <el-button type="primary" size="small" icon="el-icon-download" @click="submitForm('ruleForm')">下载模板</el-button>
24
+          </span>
19
       </div>
25
       </div>
20
       <el-form-item>
26
       <el-form-item>
21
         <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button>
27
         <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button>

+ 3
- 3
文档/MYSQL/smartCommunity.pdm View File

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
-<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1550193707" Name="smartCommunity" Objects="732" Symbols="84" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
2
+<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1550194873" Name="smartCommunity" Objects="732" Symbols="84" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
3
 <!-- do not edit this file -->
3
 <!-- do not edit this file -->
4
 
4
 
5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
10266
 <a:Code>status</a:Code>
10266
 <a:Code>status</a:Code>
10267
 <a:CreationDate>1550193639</a:CreationDate>
10267
 <a:CreationDate>1550193639</a:CreationDate>
10268
 <a:Creator>szc</a:Creator>
10268
 <a:Creator>szc</a:Creator>
10269
-<a:ModificationDate>1550193707</a:ModificationDate>
10269
+<a:ModificationDate>1550194873</a:ModificationDate>
10270
 <a:Modifier>szc</a:Modifier>
10270
 <a:Modifier>szc</a:Modifier>
10271
-<a:Comment>状态 0 是已作废 1 是已发布</a:Comment>
10271
+<a:Comment>状态 0 是失效 1 是有效</a:Comment>
10272
 <a:DataType>char(1)</a:DataType>
10272
 <a:DataType>char(1)</a:DataType>
10273
 <a:Length>1</a:Length>
10273
 <a:Length>1</a:Length>
10274
 </o:Column>
10274
 </o:Column>