|
@@ -71,6 +71,15 @@
|
|
>{{ ch.label }}</el-checkbox
|
|
>{{ ch.label }}</el-checkbox
|
|
>
|
|
>
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
|
|
+ <!-- 日期时间 -->
|
|
|
|
+ <!-- -->
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-if="item.type === 'DateTime'"
|
|
|
|
+ type="date"
|
|
|
|
+ v-model="formValue[item.prop]"
|
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
|
+ :disabled="item.disable"
|
|
|
|
+ ></el-date-picker>
|
|
|
|
|
|
<span v-if="item.type === 'text'">{{ item.value }}</span>
|
|
<span v-if="item.type === 'text'">{{ item.value }}</span>
|
|
<quill-editor
|
|
<quill-editor
|
|
@@ -152,6 +161,9 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ disable(data){
|
|
|
|
+ console.log(data);
|
|
|
|
+ },
|
|
},
|
|
},
|
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
@@ -167,7 +179,5 @@ export default {
|
|
|
|
|
|
.form-box ::v-deep .ql-container {
|
|
.form-box ::v-deep .ql-container {
|
|
height: auto;
|
|
height: auto;
|
|
-
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
</style>
|
|
</style>
|