[update] 校验

This commit is contained in:
zhaomeijing
2022-06-09 13:46:16 +08:00
parent a2868a1c9a
commit a9f8f9346c
2 changed files with 3 additions and 5 deletions
+1 -4
View File
@@ -139,13 +139,10 @@ export default {
...this.form ...this.form
} }
if(this.form.username !== undefined) { if(this.form.username !== undefined) {
this.form.username = `*${this.form.username}*` params.username = `*${this.form.username}*`
} }
getAction(`sys/user/page`, params).then(res => { getAction(`sys/user/page`, params).then(res => {
if (res.success) { 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.areaTable = [...res.result.records]
this.total = res.result.total this.total = res.result.total
} }
@@ -192,7 +192,7 @@
<!-- 同步上报库---> <!-- 同步上报库--->
<a-modal v-model="areaVisibsynchronous" :title="$t('SynchronousReportLibrary')" width='650px' :footer="null"> <a-modal v-model="areaVisibsynchronous" :title="$t('SynchronousReportLibrary')" width='650px' :footer="null">
<synchronous-submission-library v-if='areaVisibsynchronous' :paramsManifest='paramsManifest' @GetgetTableList='GetgetTableList' <synchronous-submission-library v-if='areaVisibsynchronous' :paramsManifest='paramsManifest' @GetgetTableList='GetgetTableList'
:selectedRowKeysArray='selectedRowKeysArray' @areaVisibsynchronous='areaVisibsynchronous = false'/> :selectedRowKeysArray='selectedRowKeysArray' @areaVisible='areaVisibsynchronous = false'/>
</a-modal> </a-modal>
</a-card> </a-card>
</template> </template>
@@ -827,6 +827,7 @@ export default {
if(item[itemIn].list[0].dataValue instanceof Array) { if(item[itemIn].list[0].dataValue instanceof Array) {
item[itemIn].list[0].dataValue = item[itemIn].list[0].dataValue.join(',') item[itemIn].list[0].dataValue = item[itemIn].list[0].dataValue.join(',')
// todo 校验 // todo 校验
console.log(item[itemIn].list[0].dataValue,'item[itemIn].list[0].dataValue')
} }
} }
} }