Compare commits

..

No commits in common. "82d63b32db96698d247610fac2afecd3030c933b" and "04b6e8f93bd0b72d754660fe125f6280787acac4" have entirely different histories.

7 changed files with 20 additions and 25 deletions

View File

@ -59,7 +59,9 @@
<div class="page-btn-group"> <div class="page-btn-group">
<div> <div>
<el-button v-show="add" type="primary" icon="el-icon-plus" @click="handleAdd"></el-button> <el-button v-show="add" type="primary" icon="el-icon-plus" @click="handleAdd"></el-button>
<!--
<el-button v-show="del" type="danger" icon="el-icon-delete" plain @click="batchDel"></el-button>
-->
</div> </div>
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" /> <pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
</div> </div>

View File

@ -431,12 +431,11 @@ export default {
} }
this.infoForm.incidentDate = formatDate(this.infoForm.incidentDate, 'YYYY-MM-DD HH:mm:ss') this.infoForm.incidentDate = formatDate(this.infoForm.incidentDate, 'YYYY-MM-DD HH:mm:ss')
this.infoForm.reportDate = formatDate(this.infoForm.reportDate, 'YYYY-MM-DD HH:mm:ss') this.infoForm.reportDate = formatDate(this.infoForm.reportDate, 'YYYY-MM-DD HH:mm:ss')
const address = this.infoForm.fileAddressList[0] const address = this.infoForm.fileAddressList
console.log(address)
const params = { const params = {
...this.infoForm, ...this.infoForm,
photos: this.infoForm.fileList[0].remotePathName, photos: this.infoForm.fileList[0].remotePathName,
attachmentAddress: address == null ? '' : address.remotePathName, attachmentAddress: address == null || address.length === 0 ? address[0].remotePathName : '',
type: 1 type: 1
} }
delete params.fileList delete params.fileList

View File

@ -431,11 +431,11 @@ export default {
} }
this.infoForm.incidentDate = formatDate(this.infoForm.incidentDate, 'YYYY-MM-DD HH:mm:ss') this.infoForm.incidentDate = formatDate(this.infoForm.incidentDate, 'YYYY-MM-DD HH:mm:ss')
this.infoForm.reportDate = formatDate(this.infoForm.reportDate, 'YYYY-MM-DD HH:mm:ss') this.infoForm.reportDate = formatDate(this.infoForm.reportDate, 'YYYY-MM-DD HH:mm:ss')
const address = this.infoForm.fileAddressList[0] const address = this.infoForm.fileAddressList
const params = { const params = {
...this.infoForm, ...this.infoForm,
photos: this.infoForm.fileList[0].remotePathName, photos: this.infoForm.fileList[0].remotePathName,
attachmentAddress: address == null ? '' : address.remotePathName, attachmentAddress: address == null || address.length === 0 ? address[0].remotePathName : '',
type: 2 type: 2
} }
delete params.fileList delete params.fileList

View File

@ -42,7 +42,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="用户名" prop="USERNAME"> <el-form-item label="用户名" prop="USERNAME">
<el-input v-model="form.USERNAME" placeholder="默认用户手机号码..." @blur="goCheck()"/> <el-input v-model="form.USERNAME" placeholder="默认用户手机号码..." @change="goCheck()"/>
<a style="color: red"> <a style="color: red">
<span>如果修改手机号登录密码则会变成初始密码Aa@123456789</span></a> <span>如果修改手机号登录密码则会变成初始密码Aa@123456789</span></a>
</el-form-item> </el-form-item>
@ -64,7 +64,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="身份证号" prop="USER_ID_CARD"> <el-form-item label="身份证号" prop="USER_ID_CARD">
<el-input v-model="form.USER_ID_CARD" placeholder="这里输入身份证号..."/> <el-input v-model="form.USER_ID_CARD" placeholder="这里输入身份证号..." @change="goCheck()"/>
</el-form-item> </el-form-item>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
@ -717,11 +717,10 @@ export default {
data() { data() {
var hasUser = (rule, value, callback) => { var hasUser = (rule, value, callback) => {
requestFN( requestFN(
'/user/goCheck', '/user/hasUser',
{ {
USERNAME: value, USERNAME: value,
VERIFYUSER_ID: this.form.USER_ID, VERIFYUSER_ID: this.form.USER_ID
USER_ID: this.form.USER_ID
} }
).then((data) => { ).then((data) => {
if (data.result == 'success') { if (data.result == 'success') {
@ -1518,12 +1517,10 @@ export default {
if (this.form.ISSTUDENT) { if (this.form.ISSTUDENT) {
this.uploadImgByZhengshu(this.form.USER_ID) this.uploadImgByZhengshu(this.form.USER_ID)
this.uploadImgByFace(this.form.USER_ID) this.uploadImgByFace(this.form.USER_ID)
// this.goPush(this.form) this.goPush(this.form)
this.$parent.activeName = 'List'
} else { } else {
this.uploadImgByFace(this.form.USER_ID) this.uploadImgByFace(this.form.USER_ID)
// this.goPush(this.form) this.goPush(this.form)
this.$parent.activeName = 'List'
} }
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
@ -1544,12 +1541,10 @@ export default {
if (this.form.ISSTUDENT) { if (this.form.ISSTUDENT) {
this.uploadImgByZhengshu(this.form.USER_ID) this.uploadImgByZhengshu(this.form.USER_ID)
this.uploadImgByFace(this.form.USER_ID) this.uploadImgByFace(this.form.USER_ID)
// this.goPush(this.form) this.goPush(this.form)
this.$parent.activeName = 'List'
} else { } else {
this.uploadImgByFace(this.form.USER_ID) this.uploadImgByFace(this.form.USER_ID)
// this.goPush(this.form) this.goPush(this.form)
this.$parent.activeName = 'List'
} }
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false

View File

@ -798,7 +798,7 @@ export default {
SHIFTDUTYTWO: this.SHIFTDUTYTWO, SHIFTDUTYTWO: this.SHIFTDUTYTWO,
IS_HAZARDCONFIRMER: this.IS_HAZARDCONFIRMER, IS_HAZARDCONFIRMER: this.IS_HAZARDCONFIRMER,
USER_ID: this.USER_ID, USER_ID: this.USER_ID,
ISPUSH: '1' ISPUSH: '2'
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false

View File

@ -320,12 +320,11 @@ export default {
).then((data) => { ).then((data) => {
if (data.list && data.list.length > 0) { if (data.list && data.list.length > 0) {
setTimeout(() => { setTimeout(() => {
console.log(data)
console.log('???????--sparrow')
this.$notify.info({ this.$notify.info({
title: '消息', title: '消息',
message: '您有【' + data.list.length + '】条相关方人员数据待审核', message: '您有【' + data.list.length + '】条相关方人员数据待审核'
onClick: () => {
this.$router.push('/xgf/flow')
}
}) })
}, 3000) }, 3000)
} }

View File

@ -62,7 +62,7 @@
<tr> <tr>
<th>民族</th> <th>民族</th>
<td>{{ userDetailForm.NATIONALITY_NAME ? userDetailForm.NATIONALITY_NAME : '暂无信息' }}</td> <td>{{ userDetailForm.minzuName ? userDetailForm.minzuName : '暂无信息' }}</td>
<th>婚姻状况</th> <th>婚姻状况</th>
<td>{{ userDetailForm.MARITALSTATUS === '0' ? '未婚' : '已婚' }}</td> <td>{{ userDetailForm.MARITALSTATUS === '0' ? '未婚' : '已婚' }}</td>
<th>政治面貌</th> <th>政治面貌</th>