@@ -154,7 +154,7 @@ | |||
idNum: form.value.idNum, | |||
userName: form.value.name, | |||
address: form.value.address, | |||
idType: form.value.idType, | |||
idType: 'SFZ', | |||
gender: form.value.gender, | |||
authenticationOpenId: (props.staffOpenId ? props.staffOpenId : sessionStorage.getItem('openId')) ?? '' // 员工管理 | |||
} |
@@ -179,8 +179,8 @@ | |||
<el-dialog title="中心网点管理" v-model="vShowDoalog"> | |||
<crud-template ref="crudRefTwo" :home-data="zxqdFind" @submit="itemAdd" @handleEdit="itemEdit" @add="Adds" | |||
:searchForm="searchForm" @btnSearch="btnSearch2" @CurrentChange="handleCurrentChangeTwo" @handleDelete="itemDelete" | |||
:tableData="tableItemData"> | |||
:searchForm="searchForm2" @btnSearch="btnSearch2" @CurrentChange="handleCurrentChangeTwo" @handleDelete="itemDelete" | |||
:tableData="tableItemData" @refreshLeft="refreshLeft2"> | |||
<template #search> | |||
<el-input maxlength="60" v-trim clearable v-model="searchForm2.id" style="width: 200px" | |||
placeholder="请输入中心网点编号" /> | |||
@@ -443,6 +443,16 @@ function refreshLeft() { | |||
getList() | |||
} | |||
// 搜索重置 | |||
function refreshLeft2() { | |||
searchForm2.value = { | |||
name: '', //网点名称 | |||
id:'', | |||
} | |||
zxqdFind.value.paging.currentPage = 1 | |||
getItmeLiet() | |||
} | |||
//获取列表 | |||
function getList() { | |||
crudRef.value.tableLoding = true |
@@ -259,7 +259,7 @@ | |||
function onSuccess1(response: any, uploadFile: any) { | |||
// console.log("上传身份证1===>",response) | |||
if(response.code == 200){ | |||
ElMessage.success(response.data.msg) | |||
ElMessage.success(response.msg) | |||
form.value.imagePath=response.data.ossFilePath | |||
} | |||
@@ -357,6 +357,15 @@ | |||
width: '80%', | |||
required: true, | |||
maxlength: 11 | |||
}, | |||
{ | |||
prop: "code", | |||
label: "验证码", | |||
type: 'input', | |||
formLabelWidth, | |||
width: '80%', | |||
required: true, | |||
maxlength: 6 | |||
}, | |||
]); | |||
let obj = {} |
@@ -484,7 +484,7 @@ | |||
keyData = key | |||
remark.value = '' | |||
} | |||
const remarkSubmitHandle = () => { | |||
function remarkSubmitHandle () { | |||
let text = keyData === 1 ? '启用' : '停用' | |||
let params = { | |||
id: scopeData.row.id, | |||
@@ -522,7 +522,6 @@ | |||
} | |||
BaseService.postN('/userw/staff/changeLogPage', params).then( | |||
(res: any) => { | |||
// console.log("res.data.result",res.data.result) | |||
if (res && res.code === 0) { | |||
const bizContent = res.data | |||
const data = bizContent.result || [] |