修改全局水印
This commit is contained in:
@@ -48,7 +48,10 @@
|
|||||||
<span class="title-text-text">{{item.db_field_txt}}</span>
|
<span class="title-text-text">{{item.db_field_txt}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||||
<a-date-picker class="box-input" v-model="formInline[item.db_field_name]"
|
<a-date-picker class="box-input"
|
||||||
|
@change="dateChange(item)"
|
||||||
|
format="YYYY-MM-DD"
|
||||||
|
v-model="formInline[item.db_field_name]"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
style="width: 100%"/>
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -193,6 +196,7 @@
|
|||||||
import Standardselection from '@/components/Standardselection/index'
|
import Standardselection from '@/components/Standardselection/index'
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import eventBUs from '../../common/event'
|
import eventBUs from '../../common/event'
|
||||||
|
import moment from 'moment'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'index',
|
name: 'index',
|
||||||
@@ -281,8 +285,12 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
dateChange(item) {
|
||||||
|
this.formInline[item.db_field_name] = moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD')
|
||||||
|
},
|
||||||
onChange(date, dateString) {
|
onChange(date, dateString) {
|
||||||
console.log(date, dateString)
|
console.log(typeof date)
|
||||||
|
// moment(date).format('YYYY-MM-DD')
|
||||||
},
|
},
|
||||||
clickButtonToUpload(current) {
|
clickButtonToUpload(current) {
|
||||||
this.$refs.uploadFile.visible = true
|
this.$refs.uploadFile.visible = true
|
||||||
@@ -348,7 +356,7 @@
|
|||||||
rules[res.db_field_name] = rule
|
rules[res.db_field_name] = rule
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$set(this, 'rules', rules)
|
// this.$set(this, 'rules', rules)
|
||||||
this.isFormInline = true
|
this.isFormInline = true
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
},
|
},
|
||||||
@@ -380,7 +388,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
add(){
|
add() {
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="tag-content">
|
<div class="tag-content">
|
||||||
<a-card>
|
|
||||||
<div class="table-page-search-wrapper">
|
<div class="table-page-search-wrapper">
|
||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
@@ -97,7 +96,6 @@
|
|||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
|
||||||
<!-- <tab-table :tableData="tableData" :columns="columns"></tab-table>-->
|
<!-- <tab-table :tableData="tableData" :columns="columns"></tab-table>-->
|
||||||
</a-card>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user