bug
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||
<div class="value" @click="selectTime(item.formDbName)">
|
||||
<span :class="form[item.formDbName] === '' ? 'color-999' : ''">{{
|
||||
$dateFormat(form[item.formDbName], 'YYYY-MM-DD') || '请选择'
|
||||
$dateFormat(form[item.formDbName], 'YYYY-MM-DD HH:mm') || '请选择'
|
||||
}}</span>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"/>
|
||||
</div>
|
||||
@@ -247,13 +247,13 @@ export default {
|
||||
{
|
||||
label: '是否建立矫正小组',
|
||||
type: 'select',
|
||||
dict: 'isCreateGroup',
|
||||
dict: 'yesOrNo',
|
||||
formDbName: 'isCreateGroup',
|
||||
},
|
||||
{
|
||||
label: '是否托管',
|
||||
type: 'select',
|
||||
dict: 'isRelease',
|
||||
dict: 'yesOrNo',
|
||||
formDbName: 'isRelease',
|
||||
}
|
||||
]
|
||||
@@ -505,7 +505,7 @@ export default {
|
||||
}
|
||||
|
||||
var urlList = ['app/appspecialdisabled/addOrUpdate', 'app/appspecialmental/addOrUpdate', 'app/appspecialadjustment/addOrUpdate',
|
||||
'app/appspecialdrug/addOrUpdate', 'app/appspecialprison/addOrUpdate']
|
||||
'app/appspecialdrug/addOrUpdate','app/appspecialprison/addOrUpdate']
|
||||
|
||||
this.$http.post(urlList[this.form.userType], {
|
||||
...this.form,
|
||||
@@ -550,7 +550,7 @@ export default {
|
||||
this.dateShow = true
|
||||
},
|
||||
dateConfirm(e) {
|
||||
this.form[this.selectName] = `${e.year}-${e.month}-${e.day} 00:00:00`
|
||||
this.form[this.selectName] = `${e.year}-${e.month}-${e.day}`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user