Commit 38396870 by liupeng

修改人力情报线索

parent 2c3dfb0b
......@@ -29,8 +29,12 @@ export const insertTqsp = params =>
//审批
export const insertSpgn = params =>
post(`${base.alyIP}/rlqb/insertSpgn`, params);
//提取人力情报xxzjbh
export const TqRlqbxx = params =>
postform(`${base.alyIP}/rlqb/TqRlqbxx`, params);
//一键分析
export const doAnalyse = params =>
postform(`${base.alyIP}/rlqb/doAnalyse`, params);
......@@ -525,10 +525,10 @@
:disabled="item4.disabled"
@focus="item4.focus || ''"
>
<template slot="append"
<template slot="append"
><span
@click="
messageTq(formLabelAlign[item.id])
messageTq(formLabelAlign[item2.id][0])
"
>提取</span
></template
......@@ -908,7 +908,15 @@ export default {
this.$emit("ajtq", item);
},
messageTq(item) {
this.$emit("ajtq", item);
console.log(item);
var itemSend = {}
if(item.xm && item.xm != "") {
itemSend.xm = item.xm
}
if(item.zjhm && item.zjhm != "") {
itemSend.zjhm = item.zjhm
}
this.$emit("messageTq", itemSend);
},
choosePeople(item) {
console.log(item);
......@@ -1513,6 +1521,7 @@ export default {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2, index2) => {
//遍历list数组
debugger
if (val2 == obj) {
//通过比较两个对象是否相等 将formLabelAlign里绑定的数据复制了一份
addObj = JSON.parse(
......
......@@ -291,6 +291,12 @@
<slot name="listOperation"></slot>
<div
class="flTtitle Add"
@click="oneClickAnalize"
v-if="pageBs == 'queryRlqbxs'">
一键分析
</div>
<div
class="flTtitle Add"
@click="add"
v-if="
pageBs != 'zdryGl' &&
......@@ -1075,6 +1081,12 @@
v-if="pageBs == 'queryRlqbxsSH'"
>审核</span
>
<span
@click="send(scope)"
class="edit"
v-if="pageBs == 'queryRlqbxs'"
>发送消息</span
>
<!-- <span
@click="$emit('qxfp', scope)"
class="dele"
......@@ -1652,6 +1664,9 @@ export default {
audit(scope) {
this.$emit("audit", scope.row);
},
send(scope) {
this.$emit("send", scope.row);
},
bqDetail(item, zjhm) {
this.bqShuju = [];
if (item == "团伙作案" || item == "结伙作案") {
......@@ -1850,6 +1865,9 @@ export default {
editMenu(scope) {
this.$emit("editMenu", scope);
},
oneClickAnalize() {
this.$emit("oneClickAnalize");
},
add() {
this.$emit("add");
},
......
......@@ -122,7 +122,7 @@ const xstgz = [
{
name: "姓名:",
id: "xm",
type: "text",
type: "textTq",
prop: 'checkEmpty',
value: "",
placeholder: "请输入",
......@@ -355,7 +355,7 @@ const jdcxsgl = [
value: "",
placeholder: "请输入",
col: "2",
prop: "wpNumbers",
// prop: "wpNumbers",
},
{
name: "警综物品编号:",
......@@ -364,7 +364,7 @@ const jdcxsgl = [
value: "",
placeholder: "请输入",
col: "2",
prop: "wpNumbers",
// prop: "wpNumbers",
},
{
name: "机动车使用性质:",
......@@ -561,6 +561,7 @@ const fjdcxsgl = [
value: "",
placeholder: "请选择",
col: "2",
prop: 'checkEmpty',
},
{
name: "物品颜色补充:",
......@@ -587,6 +588,7 @@ const fjdcxsgl = [
codeOptions: [],
value: "",
placeholder: "请选择",
prop: 'checkEmpty',
col: "2",
},
]
......
......@@ -7,8 +7,40 @@
:propTitle="title"
:pageBs="pageBs"
@examine="examine"
@messageTq="messageTq"
>
</form-compontent>
<el-dialog
title="提取信息"
:visible.sync="dialogVisiable"
width="35%"
>
<el-table
:data="resultTq"
style="width: 100%">
<el-table-column
align="center"
prop="xxzjbh"
label="信息主键编号"
width="500">
</el-table-column>
<el-table-column
label="操作"
width="150">
<template slot-scope="scope">
<span
@click="extra(scope.row)"
style="margin-right: 16px;color:blue;cursor: pointer;"
>提取</span
>
</template>
</el-table-column>
</el-table>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisiable = false">取 消</el-button>
<el-button type="primary" @click="dialogVisiable = false">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
......@@ -20,6 +52,7 @@ import {
updateKyxsxx,
getKyxsByxxzjbh,
insertTqsp,
TqRlqbxx
} from "@/api/rlqbxs.js";
export default {
name: "addRlqbxs",
......@@ -174,6 +207,8 @@ export default {
isActive: true,
},
],
dialogVisiable: false,
resultTq: [],
};
},
methods: {
......@@ -217,6 +252,33 @@ export default {
}
console.log(this.xxzjbh);
},
messageTq(item) {
console.log(item);
var params = new FormData()
params.append("xm",item.xm)
params.append("zjhm",item.zjhm)
TqRlqbxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$message.success("提取成功")
var result = res.data.rows
// this.resultTq =result
result.map((item,index) => {
// this.resultTq.push({ xxzjbh:item })
this.$set(this.resultTq,index,{xxzjbh:item})
})
console.log(this.resultTq);
this.dialogVisiable = true
} else {
loading.close();
this.$message.error("提取失败")
}
});
},
extra(item) {
console.log(item);
this.xxzjbh = item.xxzjbh
this.getshuju()
},
getshuju() {
var self = this;
let loading = this.$loading({
......
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