|
@@ -2,7 +2,7 @@
|
|
|
* @Author : yuanrunwei
|
|
|
* @Date : 2021-11-01 18:03:02
|
|
|
* @LastEditors : yuanrunwei
|
|
|
- * @LastEditTime : 2021-12-03 18:44:44
|
|
|
+ * @LastEditTime : 2021-12-03 20:27:50
|
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\form.vue
|
|
|
-->
|
|
|
<template>
|
|
@@ -29,6 +29,14 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
+ <template v-else-if="['date','month'].includes(type)">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="object[props]"
|
|
|
+ :type="type"
|
|
|
+ :placeholder="label"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </template>
|
|
|
<template v-else>
|
|
|
<el-input
|
|
|
v-model="object[props]"
|