liunan #10
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ag-element-ui",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.17",
|
||||
"main": "packages/index.js",
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve",
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<agMultifunctionSearch v-bind="item" v-model="formValue[item.enName]" v-if="item.type=='ag-multifunction-search'" size="small" clearable/>
|
||||
<agQuery v-bind="item" v-model="formValue[item.enName]" v-if="item.type=='ag-query'" size="small" clearable/>
|
||||
<ag-mution-checkbox :datas="item.datas" v-bind="item" :placeholder="item.placeholder" v-model="formValue[item.enName]" v-if="item.type=='ag-mution-checkbox'" size="small"> </ag-mution-checkbox>
|
||||
<ag-multion-datte-picker v-bind="item" v-model="formValue[item.enName]" v-if="item.type=='ag-multion-datte-picker'" size="small"/>
|
||||
<ag-multion-date-picker v-bind="item" v-model="formValue[item.enName]" v-if="item.type=='ag-multion-datte-picker'" size="small"/>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</ag-col>
|
||||
|
@ -65,13 +65,13 @@ import agColorPicker from './../../agColorPicker/src/index.vue';
|
|||
import agNumberRange from './../../agNumberRange/src/index.vue';
|
||||
import agMultifunctionSearch from './../../agMultifunctionSearch/src/index.vue';
|
||||
import agQuery from './../../agQuery/src/index.vue';
|
||||
import agMultionDattePicker from '../../agMultionDattePicker';
|
||||
import agMultionDatePicker from '../../agMultionDatePicker';
|
||||
|
||||
|
||||
export default{
|
||||
name:"agForm",
|
||||
components:{
|
||||
agMultionDattePicker,
|
||||
agMultionDatePicker,
|
||||
agInput:agInput,
|
||||
agDatePicker,
|
||||
agSelect,
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
import agMultionDatePicker from './src';
|
||||
|
||||
// 为组件提供 install 安装方法,供按需引入
|
||||
agMultionDatePicker.install = function (Vue) {
|
||||
Vue.component(agMultionDatePicker.name, agMultionDatePicker)
|
||||
}
|
||||
|
||||
// 导出组件
|
||||
export default agMultionDatePicker;
|
|
@ -29,7 +29,7 @@ import agSelect from "../../agSelect/src/index.vue";
|
|||
import agDatePicker from "../../agDatePicker/src/index.vue";
|
||||
|
||||
export default {
|
||||
name: "agMultionDattePicker",
|
||||
name: "agMultionDatePicker",
|
||||
components: {
|
||||
agSelect,
|
||||
agDatePicker,
|
|
@ -1,9 +0,0 @@
|
|||
import agMultionDattePicker from './src';
|
||||
|
||||
// 为组件提供 install 安装方法,供按需引入
|
||||
agMultionDattePicker.install = function (Vue) {
|
||||
Vue.component(agMultionDattePicker.name, agMultionDattePicker)
|
||||
}
|
||||
|
||||
// 导出组件
|
||||
export default agMultionDattePicker;
|
|
@ -11,7 +11,6 @@
|
|||
{{scope.row[item.prop]}}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="agtablefooter">
|
||||
|
|
|
@ -208,8 +208,10 @@
|
|||
this.$emit('onRemove',file,this.imageList);
|
||||
},
|
||||
handlePictureCardPreview(file) {
|
||||
this.dialogImageUrl = file.url;
|
||||
this.dialogVisible = true;
|
||||
if(file.type.indexOf('image/')>-1){
|
||||
this.dialogImageUrl = file.url;
|
||||
this.dialogVisible = true;
|
||||
}
|
||||
},
|
||||
onUpdate(e){
|
||||
if(this.limit<=this.imageList.length){
|
||||
|
|
|
@ -15,7 +15,7 @@ import agMutionCheckbox from './agMutionCheckbox';
|
|||
import agMultifunctionSearch from './agMultifunctionSearch';
|
||||
import agDatePicker from "./agDatePicker";
|
||||
import agNumberRange from "./agNumberRange";
|
||||
import agMultionDattePicker from "./agMultionDattePicker";
|
||||
import agMultionDatePicker from "./agMultionDatePicker";
|
||||
|
||||
|
||||
// 注册组件
|
||||
|
@ -38,7 +38,7 @@ import agMultionDattePicker from "./agMultionDattePicker";
|
|||
agMutionCheckbox,
|
||||
agMultifunctionSearch,
|
||||
agNumberRange,
|
||||
agMultionDattePicker
|
||||
agMultionDatePicker
|
||||
]
|
||||
|
||||
// 定义 install 方法,接收 Vue 作为参数(使用 use 注册插件,那么所有的组件都会被注册)
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
</el-select>
|
||||
<el-button slot="append" icon="el-icon-search"></el-button>
|
||||
</el-input> -->
|
||||
<ag-multion-datte-picker size="small"
|
||||
<ag-multion-date-picker size="small"
|
||||
ref="ttt"
|
||||
v-model="datevalues"
|
||||
:showExtra="true"
|
||||
|
|
Loading…
Reference in New Issue