Commit b8a6e049 by 蒋勇

d

parent dac95ab4
...@@ -44,6 +44,11 @@ var tmpl=` ...@@ -44,6 +44,11 @@ var tmpl=`
<gsb-upload2 v-model="formModel[item.prop]" ></gsb-upload2 > <gsb-upload2 v-model="formModel[item.prop]" ></gsb-upload2 >
</div> </div>
</template> </template>
<template v-else-if="isAliUpload(item.type)">
<div @dblclick="queryattach(formModel,item.prop)">
<gsb-aliupload v-model="formModel[item.prop]" mtype="test"></gsb-aliupload>
</div>
</template>
<template v-else-if="isTextarea(item.type)"> <template v-else-if="isTextarea(item.type)">
<el-input type="textarea" v-model="formModel[item.prop]" :disabled="item.disabled" :placeholder="item.placeHolder" :style="item.style"></el-input> <el-input type="textarea" v-model="formModel[item.prop]" :disabled="item.disabled" :placeholder="item.placeHolder" :style="item.style"></el-input>
</template> </template>
...@@ -244,6 +249,9 @@ module.exports= ...@@ -244,6 +249,9 @@ module.exports=
isUpload(type){ isUpload(type){
return "upload"==type; return "upload"==type;
}, },
isAliUpload(type){
return "aliupload"==type;
},
isTextarea(type){ isTextarea(type){
return "textarea"==type; return "textarea"==type;
}, },
......
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