Commit 32364d89 by liyuhang19990520

Merge branch 'dev_zwpt' of http://39.99.224.27:9022/changchao/founder_vue into dev_zwpt

parents 0739596f 2d21d068
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组 4</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="活体采集" transform="translate(-1462.000000, -528.000000)">
<g id="编组-4" transform="translate(1462.000000, 528.000000)">
<circle id="椭圆形备份" stroke="#00B47A" transform="translate(8.000000, 8.000000) rotate(-90.000000) translate(-8.000000, -8.000000) " cx="8" cy="8" r="7.5"></circle>
<path d="M15.7508207,15.9961932 C11.4478378,15.8645429 8,12.3349143 8,8 C8,3.581722 11.581722,0 16,0 L16,0 L16,16 Z" id="形状结合" fill="#00B47A" opacity="0.5" transform="translate(12.000000, 8.000000) rotate(-180.000000) translate(-12.000000, -8.000000) "></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>ic_成功</title>
<defs>
<circle id="path-1" cx="8" cy="8" r="8"></circle>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="活体采集" transform="translate(-1462.000000, -472.000000)">
<g id="ic_成功" transform="translate(1462.000000, 472.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="椭圆形" fill="#00B47A" fill-rule="nonzero" xlink:href="#path-1"></use>
<path d="M11.0697475,5.12 L11.7768542,5.82710678 L6.924,10.679 L6.82652771,10.7824756 L4.12,8.07710678 L4.82710678,7.37 L6.822,9.367 L11.0697475,5.12 Z" id="合并形状" fill="#FFFFFF" fill-rule="nonzero" mask="url(#mask-2)"></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -46,6 +46,20 @@ export default [
component: () => import('@/views/zzwlr/xzry.vue')
},
{
path: '/xzry/:type',
// redirect: "/fingerprintIndex/R4300000000002021125008/admin",
name: 'xzry',
hidden: true,
// icon_d: '/img/zzwcj_d.png',
// icon_a: '/img/zzwcj_a.png',
meta: {
parentId: 'zzwlr',
title: '新增人员',
// auth: 'A'
},
component: () => import('@/views/zzwlr/xzry.vue')
},
{
path: '/zzwlr',
name: 'zzwlr',
hidden: false,
......
......@@ -103,7 +103,7 @@
>筛选</el-button>
</div>
</div>
<el-divider></el-divider>
<!-- <el-divider></el-divider> -->
<!-- 三 -->
<div class="options">
<div class="left">
......@@ -852,8 +852,13 @@ export default {
padding: 0 24px;
font-family: HarmonyOS_Sans_SC;
.head {
margin-top: 10px;
height: 55px;
padding: 24px;
background: #f6f8fa;
box-shadow: inset 0px 0px 3px 0px rgba(5, 95, 231, 0.2);
border-radius: 10px;
box-sizing: border-box;
margin-top: 24px;
display: flex;
justify-content: space-between;
align-items: center;
......
......@@ -4,6 +4,38 @@
direction="vertical"
>
<!-- 一 -->
<div class="buttons">
<div class="left">
<el-radio-group
v-model="showType"
size="small"
>
<el-radio
label="1"
v-if="roleArr.includes('B-2-1')"
>人员
</el-radio>
<el-radio
label="3"
v-if="roleArr.includes('B-2-2')"
>案件
</el-radio>
<el-radio
label="2"
v-if="roleArr.includes('B-2-3')"
>比中关系
</el-radio>
</el-radio-group>
</div>
<div class="right">
<!-- <el-button
type="text"
@click="clear"
>清空</el-button> -->
</div>
</div>
<!-- 二 -->
<div
class="head"
v-if="showType == 1||showType ==3"
......@@ -212,39 +244,8 @@
>筛选</el-button>
</div>
</div>
<!-- 二 -->
<div class="buttons">
<div class="left">
<el-radio-group
v-model="showType"
size="small"
>
<el-radio
label="1"
v-if="roleArr.includes('B-2-1')"
>人员
</el-radio>
<el-radio
label="3"
v-if="roleArr.includes('B-2-2')"
>案件
</el-radio>
<el-radio
label="2"
v-if="roleArr.includes('B-2-3')"
>比中关系
</el-radio>
</el-radio-group>
</div>
<div class="right">
<!-- <el-button
type="text"
@click="clear"
>清空</el-button> -->
</div>
</div>
<el-divider style="background-color: #EEEEEE !important;"></el-divider>
<!-- <el-divider style="background-color: #EEEEEE !important;"></el-divider> -->
<!-- 三 -->
<div class="options">
<div class="left">
......@@ -1667,8 +1668,13 @@ export default {
padding: 0 24px;
font-family: HarmonyOS_Sans_SC;
.head {
margin-top: 10px;
height: 55px;
background: #f6f8fa;
box-shadow: inset 0px 0px 3px 0px rgba(5, 95, 231, 0.2);
border-radius: 10px;
padding: 24px;
box-sizing: border-box;
margin-top: 24px;
display: flex;
align-items: center;
justify-content: space-between;
......
......@@ -25,6 +25,7 @@
class="item"
effect="dark"
placement="bottom"
:open-delay="300"
style="width: auto !important">
<span>{{ item.name }}</span>
<div slot="content" class="tooTipBtn">
......@@ -55,8 +56,7 @@
v-for="item in scope.row.groups"
:class="{divtext:item.type === 1}"
:title="item.name"
:key="item.id"
>
:key="item.id">
<div v-if="item.type === 1 && item.user && item.user.length >0">
<el-tooltip
class="item"
......@@ -205,14 +205,14 @@ export default {
this.width5 = (this.width5 * w2) / w1
this.width6 = (this.width6 * w2) / w1
this.initTestData()
// this.initTestData()
// this.getList()
},
methods: {
getRowKeys(row) {
return row.logicId
},
loadData() {
loadData() { // 如果是新增重新加载, 如果是编辑刷新当前页数据
this.getList()
},
initTestData() {
......
......@@ -14,16 +14,16 @@
<el-table-column prop="sjkyh" label="数据库用户组/用户" :width="width2">
<template slot-scope="scope">
<div class="tagsBox">
<div v-for="item in strArr(scope.row.groups)"
<div v-for="item in strArr(scope.row.groups)" :key="item.logicId"
:class="{ tags: true, tagszu: item.type === 1 }"
:key="item.logicId"
v-show="item !== ''">
<div v-if="item.type === 1 && item.user && item.user.length >0">
<el-tooltip
class="item"
effect="dark"
placement="bottom"
:open-delay="300"
style="width: auto !important">
<span>{{ item.name }}</span>
<div slot="content" class="tooTipBtn">
......@@ -50,23 +50,21 @@
<span style="margin-left: 5px">...</span>
<div slot="content" class="tooTipBtn">
<div
v-for="item in scope.row.groups"
:class="{divtext:item.type === 1}"
:title="item.name">
<div v-for="item in scope.row.groups">
<div v-if="item.type === 1 && item.user && item.user.length >0">
<el-tooltip
class="item"
effect="dark"
placement="right"
style="width: auto !important">
<span>{{ item.name }}</span>
style="width: auto !important;">
<div :class="{divtext:item.type === 1}">
<span>{{ item.name }}</span>
</div>
<div slot="content" class="tooTipBtn">
<div
v-for="it in item.user"
:title="it.name"
:key="it.id"
>
:key="it.id">
{{ it.name }}
</div>
</div>
......@@ -204,14 +202,14 @@ export default {
this.width5 = (this.width5 * w2) / w1
this.width6 = (this.width6 * w2) / w1
this.initTestData()
// this.initTestData()
this.getList()
},
methods: {
getRowKeys(row) {
return row.logicId
},
loadData() {
loadData() { // 如果是新增重新加载, 如果是编辑刷新当前页数据
this.getList()
},
initTestData() {
......
......@@ -7,7 +7,7 @@
:hide-on-click="true"
@visible-change="visibleChange">
<div style="float: left;" class="opt-select">
<div style="float: left;" class="opt-select" @click="toggleDropdown()">
<div v-if="getSelectSize() === 0">{{ selValue}}</div>
<div v-else class="select-item-layout">
{{getFirstSelectItem() }}
......@@ -112,6 +112,12 @@ export default {
this.isShowing = false
},
methods: {
toggleDropdown() {
this.isShowing = !this.isShowing
if (!this.isShowing) {
this.updateSelectSet()
}
},
deleteItem() {
if (this.userSelectSet.has(this.firstSelectItem.id)) {
this.userSelectSet.delete(this.firstSelectItem.id)
......@@ -281,7 +287,6 @@ export default {
this.userGroupArr = res.detail.userGroups
this.userArr = res.detail.users
}
})
}
}
......
......@@ -755,9 +755,15 @@ $tableHeight: var(--tableHeight, 550px);
}
}
.head {
background: #f6f8fa;
box-shadow: inset 0px 0px 3px 0px rgba(5, 95, 231, 0.2);
border-radius: 10px;
padding: 24px 0;
box-sizing: border-box;
display: flex;
justify-content: space-between;
margin-top: 24px;
margin: 24px;
.left {
/deep/.el-form-item {
margin-left: 24px;
......
......@@ -17,12 +17,12 @@
@click="yjhg"
v-if="roleArr.includes('D-1-9')"
>一键合格</el-button>
<!-- <el-button
<el-button
class='bhg'
v-if="personStatus!=null&&leftStatus!=null&&rightStatus!=null&&palmStatus!=null&&faceStatus!=null"
@click="tjjg"
>提交结果</el-button>
<el-button
<!-- <el-button
class='jh'
v-else
>提交结果</el-button> -->
......
......@@ -85,8 +85,8 @@
}
}
.top_sec_rig{
margin-right: 24px;
margin-left:300px ;
// margin-right: 24px;
margin-left:340px;
span{
font-size: 14px;
width: 28px;
......@@ -118,9 +118,6 @@
height: 36px;
line-height: 36px;
}
.middle_lef{
}
.middle_rig{
display: flex;
.btn{
......
......@@ -17,7 +17,7 @@
</div>
<div class="filter xb">
<span style="width: 51px;">性别:</span>
<SelectCode ref="xbdm" codeUrl="/api/code/sex" :clearable="true" :multiple="false" :form="ruleForm" class="xb"
<SelectCode ref="xbdm" codeUrl="/api/code/sex" :clearable="true" :multiple="false" :form="ruleForm" class="xb" v-model="liveCollectionTo.sex"
id="sex"></SelectCode>
</div>
<div class="filter sfzh">
......@@ -31,8 +31,7 @@
<div class="top_sec_lef">
<div class="filter cjdw">
<span>采集单位:</span>
<Cascader ref="cascader" :form="ruleForm"
id="collectionDw" class="cjdw"></Cascader>
<Cascader ref="cascader" :form="ruleForm" id="collectionDw" class="cjdw"></Cascader>
</div>
<div class="filter cjr">
<span>采集人:</span>
......@@ -42,8 +41,8 @@
</div>
<div class="filter nysj">
<span>捺印日期:</span>
<el-date-picker v-model="liveCollectionTo.printingTimeStart" style="display: flex; align-items: center"
type="daterange" range-separator="-" start-placeholder="开始时间" end-placeholder="结束时间" :picker-options="{
<el-date-picker v-model="startEndDate" style="display: flex; align-items: center" type="daterange"
range-separator="-" start-placeholder="开始时间" end-placeholder="结束时间" :picker-options="{
disabledDate: disabledDate,
}">
</el-date-picker>
......@@ -66,8 +65,7 @@
</div>
<!-- 右边 -->
<div class="middle_rig">
<div class="btn"
v-clipboard:copy="ysxtAsjxgrybh" @click="getBarcode" v-clipboard:success="onCopy"
<div class="btn" v-clipboard:copy="ysxtAsjxgrybh" @click="getBarcode" v-clipboard:success="onCopy"
v-clipboard:error="onError">复制条码</div>
<div class="btn" @click="delMore">删除</div>
<div class="btn xzry" @click="toAdd">
......@@ -109,6 +107,10 @@
<el-table-column prop="palmCount" label="掌纹" :width="width5">
</el-table-column>
<el-table-column prop="completeness" label="完整度" :width="width5">
<template slot-scope="scope">
<img v-show="scope.row.completeness == 0" src="../../assets/img/htcj/不完整.svg"></img>
<img v-show="scope.row.completeness == 1" src="../../assets/img/htcj/完整.svg"></img>
</template>
</el-table-column>
<el-table-column :formatter="dateTimeFormat" prop="stampTime" label="捺印时间" :width="width4">
</el-table-column>
......@@ -151,6 +153,7 @@
data() {
return {
ysxtAsjxgrybh: null,
startEndDate: null,
isShowTip: false, //批量操作提示
multipleSelection: [], // 表单选择项目
ruleForm: { //性别和采集单位
......@@ -173,6 +176,7 @@
"pageSize": 10, //页面数据数 int类型
"currPage": 1, //当前页 int类型
"total": 0, //表格条数
"completeness": ''
},
// page: {
// pageSize: 10, //当前选择要显示的条数
......@@ -213,27 +217,42 @@
return false;
}
},
// 格式化参数
getParam() {
if (this.startEndDate !== null) {
this.liveCollectionTo.printingTimeStart = moment(
this.startEndDate[0]
).format("YYYY-MM-DD");
this.liveCollectionTo.printingTimeEnd = moment(
this.startEndDate[1]
).format("YYYY-MM-DD");
} else {
this.liveCollectionTo.printingTimeStart = ""
this.liveCollectionTo.printingTimeEnd = ""
}
},
handleClick(row) {
// console.log(row);
this.$store.commit('layout/delcachePageName', 'xzry')
this.$router.push({ path: "/xzry/edit/", query: {barcode:row.barcode} });
this.$router.push({ path: "/xzry/edit/", query: { barcode: row.barcode } });
},
toAdd(){
toAdd() {
this.$store.commit('layout/delcachePageName', 'xzry')
this.$router.push('/xzry');
},
clear() { //清空按钮
this.liveCollectionTo.name = '',
this.liveCollectionTo.name = '',
this.liveCollectionTo.barcode = '',
this.liveCollectionTo.idCard = '',
this.liveCollectionTo.collectionName = '',
// this.liveCollectionTo.collectionDw = '',
this.ruleForm.sex="",
this.ruleForm.collectionDw="",
this.ruleForm.sex = "",
this.ruleForm.collectionDw = "",
// this.liveCollectionTo.sex= '',
this.liveCollectionTo.printingTimeStart = ''
this.liveCollectionTo.printingTimeEnd = ''
this.startEndDate=''
this.search()
},
batch() { //批量操作弹出
this.disabled = !this.disabled;
......@@ -256,10 +275,16 @@
},
search() { // 获取全部人员列表请求
// console.info("请求===>", this.liveCollectionTo);
this.liveCollectionTo.sex = this.ruleForm.sex
this.liveCollectionTo.collectionDw = this.ruleForm.collectionDw
this.getParam()
delete this.liveCollectionTo.total
delete this.liveCollectionTo.completeness
console.log(this.liveCollectionTo);
this.$axios
.post("/api/liveCollection/getLiveCollectionList", this.liveCollectionTo)
.then(response => {
// console.log(response.data);
console.log(this.liveCollectionTo,response.data);
if (response.data.code === 200) {
this.tableDate = response.data.detail.persons;
this.liveCollectionTo.total = response.data.detail.total;
......@@ -300,18 +325,21 @@
// 封装删除的psns为数组
let psns = [];
for (let i = 0; i < this.multipleSelection.length; i++) {
psns.push(this.multipleSelection[i].id);
psns.push(this.multipleSelection[i].personId);
}
this.doDelete(psns);
})
.catch(_ => { });
}
// // 封装删除的psns为数组
// let psns = [];
// for (let i = 0; i < this.multipleSelection.length; i++) {
// psns.push(this.multipleSelection[i].id);
// }
// this.doDelete(psns);
},
// 单选删除
delOne(val) {
//console.log("删除数据");
// 将传入的psns转为数组
let psns = [];
psns.push(val);
//console.info("删除接口里的psns:", psns);
this.doDelete(psns);
},
// 请求删除接口
doDelete(psns) {
......@@ -389,10 +417,10 @@
this.$message.error("请选择需要复制条码号的数据!");
} else {
this.multipleSelection.forEach((item) => {
console.log(item,111);
// console.log(item, 111);
this.ysxtAsjxgrybh.push(item.barcode);
});
console.log(this.ysxtAsjxgrybh,222);
console.log(this.ysxtAsjxgrybh, 222);
this.ysxtAsjxgrybh = this.ysxtAsjxgrybh.join(",");
}
// else if (this.multipleSelection.length === 1) {
......@@ -403,7 +431,6 @@
},
// 复制成功时的回调函数
onCopy({ val, e }) {
console.log(val);
if (this.multipleSelection.length != 0) {
this.$message({
type: "success",
......
......@@ -11,7 +11,7 @@
<div class="top">
<div class="fir">
<div class="cir">1</div>
<span>{{edit}}</span>
<span>人员信息 </span>
<div class="dashed"></div>
</div>
<div class="unactive">
......@@ -36,7 +36,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="人员编号:" prop="ysxtAsjxgrybh">
<el-input v-model.trim="ruleForm.ysxtAsjxgrybh" placeholder="请输入人员编号" maxlength="22" class="inputBh"
<el-input v-model.trim="ruleForm.ysxtAsjxgrybh" placeholder="请输入人员编号" maxlength="22" class="inputBh"
show-word-limit clearable>
<template slot="prepend">R</template>
</el-input>
......@@ -110,8 +110,9 @@
</el-col>
<el-col :span="12">
<el-form-item label="出生日期:" prop="csrq">
<el-date-picker type="date" placeholder="请选择出生日期" v-model="ruleForm.csrq" style="width: 100%"
></el-date-picker>
<el-date-picker type="date" placeholder="请选择出生日期" v-model="ruleForm.csrq" style="width: 100%" :picker-options="{
disabledDate: disabledDate,
}"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -138,7 +139,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="证件号码:" prop="zjhm">
<el-input v-model.trim="ruleForm.zjhm" placeholder="请输入证件号码" maxlength="30" show-word-limit clearable>
<el-input v-model.trim="ruleForm.zjhm" placeholder="请输入证件号码" maxlength="18" show-word-limit clearable>
</el-input>
</el-form-item>
</el-col>
......@@ -187,7 +188,8 @@
</el-row>
<el-row class="flexBox">
<div style="margin: 15px 0"></div>
<el-checkbox-group v-model="checkedTargets">
<el-checkbox-group v-model="checkedTargets" style="
padding-right: 110px">
<el-checkbox v-for="(value,key) in targets" :key="key" :label="value.code">{{ value.name }}</el-checkbox>
</el-checkbox-group>
</el-row>
......@@ -215,8 +217,11 @@
<el-row>
<el-col :span="12">
<el-form-item label="捺印日期:" prop="nysj">
<el-date-picker type="date" placeholder="请输入捺印日期" v-model="ruleForm.nysj" style="width: 100%"
></el-date-picker>
<el-date-picker
type="date"
placeholder="请输入捺印日期" v-model="ruleForm.nysj" style="width: 100%" :picker-options="{
disabledDate: disabledDate,
}"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
......@@ -233,7 +238,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="捺印人联系电话:" prop="nyryLxdh">
<el-input v-model="ruleForm.nyryLxdh" placeholder="请输入捺印人联系电话" maxlength="18" show-word-limit clearable>
<el-input v-model="ruleForm.nyryLxdh" placeholder="请输入捺印人联系电话" maxlength="11" show-word-limit clearable>
</el-input>
</el-form-item>
</el-col>
......@@ -264,7 +269,8 @@
},
data() {
return {
edit:'新增人员',
ryInfo: {},
edit: '新增人员',
dialogVisible: false, // 弹窗状态
labelPosition: "left", // 数据项对齐方式
checkedTargets: ['1'], // 选定的目标逻辑库
......@@ -315,7 +321,7 @@
logicList: [],// 逻辑库代码
rules: {
ysxtAsjxgrybh: [
{ min: 23, max: 23, message: '编号长度有误!', trigger: 'change' },
{ min: 22, max: 22, message: '编号长度有误!', trigger: 'change' },
{ required: true, message: "请输入人员条码号", trigger: "blur" },
],
jzrybh: [
......@@ -390,16 +396,14 @@
mounted() {
this.dialogVisible = this.isShowXzry;
// console.log(this.$route.query.barcode)
// console.log(this.$route.params.type)
// this.getRyinfo (this.$route.query.barcode)
if(this.$route.params.type === 'edit' ){
if (this.$route.params.type === 'edit') {
this.edit = '修改人员'
this.getRyinfo (this.$route.query.barcode)
}else{
console.log(this.$route.params.type==='edit');
this.getRyinfo(this.$route.query.barcode)
} else {
// console.log(this.$route.params.type==='edit');
this.edit = '新增人员'
}
}
},
watch: {
isShowXzry(newVal, oldVal) {
......@@ -410,13 +414,13 @@
},
},
methods: {
// disabledDate(a) {
// if (a.getTime() > new Date().getTime()) {
// return true;
// } else {
// return false;
// }
// },
disabledDate(a) {
if (a.getTime() > new Date().getTime()) {
return true;
} else {
return false;
}
},
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
......@@ -437,6 +441,7 @@
this.$axios
.post("/api/personstore/personadd", reqParam)
.then((response) => {
console.log(response);
if (response.data.code === 0) {
this.$message.success("新增成功");
this.dialogVisible = false;
......@@ -493,31 +498,62 @@
this.$refs[formName].resetFields();
this.dialogVisible = false;
},
handleClose(done) {
this.dialogVisible = false;
this.$refs[formName].resetFields();
initData() {
// 赋值
this.ruleForm.id = this.ryInfo.id
this.ruleForm.rybh = this.ryInfo.ysxtAsjxgrybh
this.ruleForm.jzrybh = this.ryInfo.jzrybh
// 人员档案信息
if (this.ryInfo.cjxxyydm) {
this.ruleForm.cjxxyydm = this.ryInfo.cjxxyydm.split(',')
}
this.ruleForm.zzhwkbh = this.ryInfo.zzhwkbh
this.ruleForm.asjxgrybh = this.ryInfo.asjxgrybh
this.ruleForm.xm = this.ryInfo.xm
this.ruleForm.bmch = this.ryInfo.bmch
this.ruleForm.xbdm = this.ryInfo.xbdm
this.ruleForm.csrq = this.ryInfo.csrq
this.ruleForm.gjdm = this.ryInfo.gjdm
this.ruleForm.mzdm = this.ryInfo.mzdm
this.ruleForm.cyzjdm = this.ryInfo.cyzjdm
this.ruleForm.zjhm = this.ryInfo.zjhm
this.ruleForm.hjdzXzqhdm = this.ryInfo.hjdzXzqhdm
this.ruleForm.hjdzDzmc = this.ryInfo.hjdzDzmc
this.ruleForm.xzzXzqhdm = this.ryInfo.xzzXzqhdm
this.ruleForm.xzzDzmc = this.ryInfo.xzzDzmc
this.ruleForm.bz = this.ryInfo.bz
// 人员逻辑分库
// let ryljfk = this.ryInfo.logicdbtype.split('')
// this.ruleForm.logicdbtype = ryljfk
if (this.ryInfo.logicDatabaseCode && this.ryInfo.logicDatabaseCode.length > 0) {
this.ruleForm.logicdbtype2 = this.ryInfo.logicDatabaseCode.split(',')
} else {
this.ruleForm.logicdbtype2 = []
}
this.ruleForm.nydwGajgjgdm = this.ryInfo.nydwGajgjgdm
this.ruleForm.nyryXm = this.ryInfo.nyryXm
this.ruleForm.nysj = this.ryInfo.nysj
this.ruleForm.nyryGmsfhm = this.ryInfo.nyryGmsfhm
this.ruleForm.nyryLxdh = this.ryInfo.nyryLxdh
},
getRyinfo (code) {
getRyinfo(code) {
let self = this
this.reqParam.personStoreCustomSearch.ysxtAsjxgrybh = code
this.$axios
.post("/api/personstore/person/list", this.reqParam)
.then(response => {
if (response.data.code === 0) {
console.log(response);
self.ryInfo = response.data.ret.list[0]
// self.initData()
console.log(self.ryInfo)
self.initData()
this.ruleForm = self.ryInfo
this.ruleForm.ysxtAsjxgrybh = self.ryInfo.ysxtAsjxgrybh.toString().substr(1)
} else {
self.$message.error(response.data.message);
}
});
},
}
};
};
</script>
<style lang="scss" scoped>
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2022-01-11 16:46:42
* @LastEditTime: 2022-01-11 18:24:00
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -113,12 +113,12 @@ module.exports = {
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.114:8099", // 湖南-张呈光
target: "http://192.168.128.114:8099", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
target: "http://zwpt.xzclub.top:9333/",
// target: "http://zwpt.xzclub.top:9333/",
// target: "http://192.168.128.106:8099", // 江
ws: true,
changeOrigin: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment