Compare commits

..

10 Commits

Author SHA1 Message Date
huangyuxuan 82d63b32db Merge branch 'pet' into dev 2024-10-23 17:40:01 +08:00
shanao 8ca527e9b0 修复事故事件管理附件不显示的问题 2024-10-23 17:25:08 +08:00
huangyuxuan 97de0aaa08 Merge remote-tracking branch 'origin/pet' into pet 2024-10-23 14:36:30 +08:00
huangyuxuan 338158eb3b [新增功能](pet)
用户信息修改页面用户名和身份证号校验
2024-10-23 14:36:14 +08:00
shanao ef3c04dfb5 Merge remote-tracking branch 'origin/pet' into pet 2024-10-23 14:24:37 +08:00
huangyuxuan 83e7cd595a Merge branch 'hyx_2024-9-25_tongbu' into pet 2024-10-21 09:28:40 +08:00
huangyuxuan ef06a7f9cd [新增功能](hyx_2024-9-25_tongbu)
用户信息详情 民族字段修改
2024-10-21 08:49:40 +08:00
liujun 828dc50ee5 企业端点击待审批消息自动跳转至审批页面 2024-10-16 11:26:52 +08:00
fufeifei b5f7c2e98e 测试提交 2024-10-14 17:19:22 +08:00
huangyuxuan fa3bdadaed [新增功能](hyx_2024-9-25_tongbu)
人员信息同步
2024-10-12 08:53:10 +08:00
7 changed files with 25 additions and 20 deletions

View File

@ -59,9 +59,7 @@
<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,11 +431,12 @@ 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 const address = this.infoForm.fileAddressList[0]
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.length === 0 ? address[0].remotePathName : '', attachmentAddress: address == null ? '' : address.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 const address = this.infoForm.fileAddressList[0]
const params = { const params = {
...this.infoForm, ...this.infoForm,
photos: this.infoForm.fileList[0].remotePathName, photos: this.infoForm.fileList[0].remotePathName,
attachmentAddress: address == null || address.length === 0 ? address[0].remotePathName : '', attachmentAddress: address == null ? '' : address.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="默认用户手机号码..." @change="goCheck()"/> <el-input v-model="form.USERNAME" placeholder="默认用户手机号码..." @blur="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="这里输入身份证号..." @change="goCheck()"/> <el-input v-model="form.USER_ID_CARD" placeholder="这里输入身份证号..."/>
</el-form-item> </el-form-item>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
@ -717,10 +717,11 @@ export default {
data() { data() {
var hasUser = (rule, value, callback) => { var hasUser = (rule, value, callback) => {
requestFN( requestFN(
'/user/hasUser', '/user/goCheck',
{ {
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') {
@ -1517,10 +1518,12 @@ 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
@ -1541,10 +1544,12 @@ 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: '2' ISPUSH: '1'
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false

View File

@ -320,11 +320,12 @@ 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.minzuName ? userDetailForm.minzuName : '暂无信息' }}</td> <td>{{ userDetailForm.NATIONALITY_NAME ? userDetailForm.NATIONALITY_NAME : '暂无信息' }}</td>
<th>婚姻状况</th> <th>婚姻状况</th>
<td>{{ userDetailForm.MARITALSTATUS === '0' ? '未婚' : '已婚' }}</td> <td>{{ userDetailForm.MARITALSTATUS === '0' ? '未婚' : '已婚' }}</td>
<th>政治面貌</th> <th>政治面貌</th>