|
@@ -72,10 +72,10 @@
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
list-type="picture-card"
|
|
|
>
|
|
|
-<!-- :on-preview="handlePictureCardPreview"
|
|
|
- :on-remove="handleRemove"-->
|
|
|
+
|
|
|
<i class="el-icon-plus"></i>
|
|
|
</el-upload>
|
|
|
+<!-- 这里 ==== -->
|
|
|
<upload-files
|
|
|
v-model="form[item.Path]"
|
|
|
v-else-if="item.InputMode == 'F2'"
|
|
@@ -86,8 +86,8 @@
|
|
|
@change="changeItem"
|
|
|
max="2"
|
|
|
/>
|
|
|
+<!-- /这里-->
|
|
|
<el-input disabled title="暂不支持" v-else v-model="form[item.Path]"></el-input>
|
|
|
-
|
|
|
</el-form-item>
|
|
|
</span>
|
|
|
</template>
|
|
@@ -100,8 +100,6 @@
|
|
|
<el-button @click="buildDialogVis = false">取 消</el-button>
|
|
|
<el-button @click="submitForm('ruleForm')" type="primary">确 定</el-button>
|
|
|
</span>
|
|
|
-
|
|
|
-
|
|
|
<el-dialog :visible.sync="dialogVisible">
|
|
|
<img width="100%" :src="dialogImageUrl" alt="">
|
|
|
</el-dialog>
|
|
@@ -197,17 +195,6 @@
|
|
|
|
|
|
console.log(val, )
|
|
|
}
|
|
|
- //上传文件弹窗触发事件
|
|
|
- // fileChange(keys) {
|
|
|
- // this.setDataToMain(keys, this.messKey, this.row);
|
|
|
- // },
|
|
|
- // handleRemove(file, fileList) {
|
|
|
- // console.log(file, fileList);
|
|
|
- // },
|
|
|
- // handlePictureCardPreview(file) {
|
|
|
- // this.dialogImageUrl = file.url;
|
|
|
- // this.dialogVisible = true;
|
|
|
- // }
|
|
|
}
|
|
|
}
|
|
|
</script>
|