Commit b70a288a by zhangzhijie

Merge remote-tracking branch 'origin/dev_xzeq' into dev_xzeq

parents 1976f108 af58485a
...@@ -28,4 +28,9 @@ export const getUserInfo = params => ...@@ -28,4 +28,9 @@ export const getUserInfo = params =>
//审批人员添加 //审批人员添加
export const addSpy = params => export const addSpy = params =>
post(`${base.alyIP}/zczl/addSpy`, params); post(`${base.alyIP}/zczl/addSpy`, params);
//移交前查询
export const doSearchOtherLlyxx = params =>
post(`${base.alyIP}/zczl/doSearchOtherLlyxx`, params);
//移交
export const doUpdateZlxxByLly = params =>
post(`${base.alyIP}/zczl/doUpdateZlxxByLly`, params);
...@@ -657,7 +657,6 @@ ...@@ -657,7 +657,6 @@
pageBs == 'queryRole' || pageBs == 'queryRole' ||
pageBs == 'queryZdjyhd' || pageBs == 'queryZdjyhd' ||
pageBs == 'zdxxgl' || pageBs == 'zdxxgl' ||
pageBs == 'queryZjcl' ||
pageBs == 'zdryGl' || pageBs == 'zdryGl' ||
pageBs == 'queryQzlb' || pageBs == 'queryQzlb' ||
pageBs == 'qyeryrlqbxsBJ' pageBs == 'qyeryrlqbxsBJ'
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
index: 0, index: 0,
data: [ data: [
{ {
name: "比对目标:", name: "比对目标编号:",
id: "bdmbXxzjbh", id: "bdmbXxzjbh",
type: "text", type: "text",
value: "", value: "",
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
col: "2", col: "2",
}, },
{ {
name: "比对源:", name: "比对源编号:",
id: "bdyXxzjbh", id: "bdyXxzjbh",
type: "text", type: "text",
value: "", value: "",
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
index: 0, index: 0,
data: [ data: [
{ {
name: "比对目标_信息主键编号:", name: "比对目标编号:",
id: "bdmbXxzjbh", id: "bdmbXxzjbh",
type: "text", type: "text",
value: "", value: "",
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
col: "2", col: "2",
}, },
{ {
name: "比对源_信息主键编号:", name: "比对源编号:",
id: "bdyXxzjbh", id: "bdyXxzjbh",
type: "text", type: "text",
value: "", value: "",
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
col: "2", col: "2",
}, },
{ {
name: "比中单位_公安机关名称:", name: "比中单位:",
id: "bzdwGajgmc", id: "bzdwGajgmc",
type: "text", type: "text",
value: "", value: "",
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
col: "2", col: "2",
}, },
{ {
name: "比中人_姓名:", name: "比中人姓名:",
id: "bzrXm", id: "bzrXm",
type: "text", type: "text",
value: "", value: "",
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
return { return {
tableOperation:true, tableOperation:true,
tableOperationWidth:100, tableOperationWidth:100,
header: "DNA比中结果", header: "多生物特征信息",
pageBs: "dswtzxxlbxx", pageBs: "dswtzxxlbxx",
cxFormData: { cxFormData: {
xyrZjhm: "", xyrZjhm: "",
...@@ -56,11 +56,11 @@ ...@@ -56,11 +56,11 @@
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "比对目标", label: "比对目标编号",
prop: "bdmbXxzjbh", prop: "bdmbXxzjbh",
}, },
{ {
label: "比对源", label: "比对源编号",
prop: "bdyXxzjbh", prop: "bdyXxzjbh",
}, },
{ {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
return { return {
tableOperation:true, tableOperation:true,
tableOperationWidth:100, tableOperationWidth:100,
header: "DNA比中结果", header: "多生物特征信息",
pageBs: "dswtzxxlbxx", pageBs: "dswtzxxlbxx",
cxFormData: { cxFormData: {
sfzh: "", sfzh: "",
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
return { return {
tableOperation:true, tableOperation:true,
tableOperationWidth:100, tableOperationWidth:100,
header: "DNA比中结果", header: "多生物特征信息",
pageBs: "dswtzxxlbxx", pageBs: "dswtzxxlbxx",
cxFormData: { cxFormData: {
xyrZjhm: "", xyrZjhm: "",
...@@ -56,11 +56,11 @@ ...@@ -56,11 +56,11 @@
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "比对目标", label: "比对目标编号",
prop: "bdmbXxzjbh", prop: "bdmbXxzjbh",
}, },
{ {
label: "比对源", label: "比对源编号",
prop: "bdyXxzjbh", prop: "bdyXxzjbh",
}, },
{ {
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
@edit="edit" @edit="edit"
@dele="dele" @dele="dele"
@add="add" @add="add"
@toInfor="toInfor"
ref="rightContent" ref="rightContent"
> >
<template #btnGroup="scope"> <template #btnGroup="scope">
...@@ -42,7 +41,7 @@ ...@@ -42,7 +41,7 @@
return { return {
tableOperation:true, tableOperation:true,
tableOperationWidth:800, tableOperationWidth:800,
header: "人员信息列表", header: "多生物特征信息",
pageBs: "dswtzxxlbxx", pageBs: "dswtzxxlbxx",
cxFormData: { cxFormData: {
rybh: "", rybh: "",
...@@ -118,7 +117,6 @@ ...@@ -118,7 +117,6 @@
{ {
label: "人员编号", label: "人员编号",
prop: "rybh", prop: "rybh",
toInfor: true,
}, },
{ {
label: "姓名", label: "姓名",
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
<div class="Content"> <div class="Content">
<right-content <right-content
:pageBs="pageBs" :pageBs="pageBs"
:tableOperation="true"
:tableOperationWidth="300"
:header="header" :header="header"
:cxFormData="cxFormData" :cxFormData="cxFormData"
:cxQueryField="cxQueryField" :cxQueryField="cxQueryField"
...@@ -11,14 +13,20 @@ ...@@ -11,14 +13,20 @@
@toRyYj="llyyj" @toRyYj="llyyj"
@dele="dele" @dele="dele"
ref="rightContent" ref="rightContent"
></right-content> >
<template #btnGroup="scope">
<el-button v-if="scope.scope.row.sflly === '1'" @click="llyyj(scope.scope)" type="text">移交</el-button>
<el-button v-if="scope.scope.row.sflly === '1'" @click="dele(scope.scope)" type="text">删除</el-button>
<el-button v-if="scope.scope.row.sflly === '0' " @click="szlly(scope.scope)" type="text">设置联络员</el-button>
</template>
</right-content>
</div> </div>
</template> </template>
<script> <script>
import rightContent from "@c/ptCxForm_components.vue"; import rightContent from "@c/ptCxForm_components.vue";
import { checkLly, setLly } from "@/api/zczl/xxgl.js"; import { checkLly, setLly } from "@/api/zczl/xxgl.js";
import { llyDel } from "@/api/zczl/xxgl.js"; import { llyDel,doSearchOtherLlyxx, doUpdateZlxxByLly } from "@/api/zczl/xxgl.js";
export default { export default {
name: "rlqbxsxx", name: "rlqbxsxx",
components: { components: {
...@@ -27,7 +35,7 @@ export default { ...@@ -27,7 +35,7 @@ export default {
data() { data() {
return { return {
header: "联络员管理", header: "联络员管理",
pageBs: "llycx", pageBs: "xywspdzczl",
cxFormData: { cxFormData: {
unitcode: "", unitcode: "",
truename: "", truename: "",
...@@ -148,7 +156,51 @@ export default { ...@@ -148,7 +156,51 @@ export default {
}); });
}); });
}, },
llyyj(){ llyyj(scope){
let xxzjbh = scope.row.xxzjbh
doSearchOtherLlyxx({xxzjbh}).then(res=>{
if(res.code === 200){
if(res.data.xxzjbh){
this.$alert(`是否继续移交${res.data.trueName}`, '', {
confirmButtonText: '确定',
callback: action => {
if(action === 'cancel'){
this.$message({
message: '移交取消'
});
}
else {
doUpdateZlxxByLly({oldXxzjbh:xxzjbh,newXxzjbh:res.data.xxzjbh}).then(put=>{
if(put.code===200 && put.data.message === '1'){
this.$message({
type: "success",
message: '移交成功'
});
this.$refs.rightContent.doQuery("yes");
}else {
this.$message({
type: "error",
message: '移交失败'
});
}
})
}
}
});
}
else {
this.$message('您是该单位唯一的联络员,无法移交');
}
}
else {
this.$message({
type: "error",
message: '移交失败'
});
}
})
console.log("人员移交") console.log("人员移交")
}, },
dele(scope) { dele(scope) {
......
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