Commit 1eb09466 authored by renjintao's avatar renjintao

add

parent f6fd91ba
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</Col> </Col>
<Col :span="24"> <Col :span="24">
<FormItem :label="l('file')" prop="file"> <FormItem :label="l('file')" prop="file">
<Input v-model="entity.file" type="textarea" :rows="5"></Input> <files ref="refFile" :parms="parms" files />
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24"> <Col :span="24">
...@@ -31,6 +31,12 @@ export default { ...@@ -31,6 +31,12 @@ export default {
data() { data() {
return { return {
disabled: false, disabled: false,
parms: {
app: 'import',
eid: this.$u.guid(),
name: '',
field: ''
},
entity: { entity: {
name: "", name: "",
file: "", file: "",
...@@ -81,6 +87,11 @@ export default { ...@@ -81,6 +87,11 @@ export default {
this.entity = r.result; this.entity = r.result;
this.entity.id = 0; this.entity.id = 0;
}); });
},
getEid() {
this.parms.eid = this.$u.guid()
this.parms.app = 'import'
this.$refs.refFile.intFiles()
}, },
l(key) { l(key) {
key = "import_center" + "." + key; key = "import_center" + "." + key;
......
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