[update] 校验
This commit is contained in:
@@ -138,8 +138,14 @@ export default {
|
||||
pageSize: this.pageSize,
|
||||
...this.form
|
||||
}
|
||||
if(this.form.username !== undefined) {
|
||||
this.form.username = `*${this.form.username}*`
|
||||
}
|
||||
getAction(`sys/user/page`, params).then(res => {
|
||||
if (res.success) {
|
||||
if(this.form.username !== undefined) {
|
||||
this.form.username = this.form.username.slice(1,this.form.username.length-1)
|
||||
}
|
||||
this.areaTable = [...res.result.records]
|
||||
this.total = res.result.total
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ export const JeroListMixin = {
|
||||
if (arg === 1) {
|
||||
this.ipagination.current = 1;
|
||||
}
|
||||
|
||||
var params = this.getQueryParams();//查询条件
|
||||
this.loading = true;
|
||||
getAction(this.url.list, params).then((res) => {
|
||||
@@ -123,6 +124,7 @@ export const JeroListMixin = {
|
||||
sqp['superQueryParams']=encodeURI(this.superQueryParams)
|
||||
sqp['superQueryMatchType'] = this.superQueryMatchType
|
||||
}
|
||||
console.log(this.queryParam,'this.queryParam')
|
||||
var param = Object.assign(sqp, this.queryParam, this.isorter ,this.filters);
|
||||
param.field = this.getQueryField();
|
||||
param.pageNo = this.ipagination.current;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('configurationName')">{{$t('configurationName')}}</span>
|
||||
</div>
|
||||
@@ -30,6 +31,7 @@
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text" :title="$t('Version')">{{$t('Version')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="nioNumber">
|
||||
@@ -45,6 +47,7 @@
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('Model')">{{$t('Model')}}</span>
|
||||
</div>
|
||||
@@ -59,6 +62,7 @@
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text" :title="$t('Battery')">{{$t('Battery')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="nioNumber">
|
||||
@@ -74,6 +78,7 @@
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('electricMachinery')">{{$t('electricMachinery')}}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user