|
@@ -77,7 +77,7 @@
|
|
|
v-if="item.type === 'DateTime'"
|
|
|
type="date"
|
|
|
v-model="formValue[item.prop]"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
:disabled="item.disable"
|
|
|
></el-date-picker>
|
|
|
|
|
@@ -90,9 +90,9 @@
|
|
|
</quill-editor>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
- <slot name="handle" :formData="formValue">
|
|
|
- <!-- <el-button type="primary" @click="submitForm">提交</el-button> -->
|
|
|
- </slot>
|
|
|
+ <el-form-item>
|
|
|
+ <slot name="handle" :formData="formValue"> </slot>
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- disable(data){
|
|
|
+ disable(data) {
|
|
|
console.log(data);
|
|
|
},
|
|
|
},
|