Commit 48ba7b9b by gao_yingdong

Merge branch 'dev_xzeq' of http://47.92.108.28/changchao/founder_vue into dev_xzeq

parents 6fd120ca fd2da11e
......@@ -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);
......@@ -17,7 +17,12 @@
v-for="groupItem in propFormField"
:key="groupItem.index"
>
<div v-if="(groupItem.title != '法律文书') || (groupItem.title == '法律文书' && groupItem.showPage == true)">
<div
v-if="
groupItem.title != '法律文书' ||
(groupItem.title == '法律文书' && groupItem.showPage == true)
"
>
<div class="subTitle" v-if="groupItem.title">
<div>{{ groupItem.title }}</div>
</div>
......@@ -253,7 +258,10 @@
>
</el-checkbox-group>
</div>
<div class="zdyInputW" v-else-if="item.type == 'checkboxList'">
<div
class="zdyInputW"
v-else-if="item.type == 'checkboxList'"
>
<el-checkbox-group
v-model="formLabelAlign[item.id]"
size="small"
......@@ -439,7 +447,9 @@
:file-list="fileLists[item.fileId || item.id]"
:accept="item.acceptType"
v-model="formLabelAlign[item.id]"
v-else-if="item.type == 'flwsfile' && groupItem.showPage == true"
v-else-if="
item.type == 'flwsfile' && groupItem.showPage == true
"
>
<el-button size="small" type="primary">选择上传</el-button>
</el-upload>
......@@ -506,6 +516,26 @@
</el-input>
</div>
<div
v-if="item4.type == 'textTq'"
style="position: relative"
>
<el-input
:placeholder="item4.placeholder"
v-model="reakData[item4.id]"
:disabled="item4.disabled"
@focus="item4.focus || ''"
>
<template slot="append"
><span
@click="
messageTq(formLabelAlign[item2.id][0])
"
>提取</span
></template
>
</el-input>
</div>
<div
v-else-if="item4.type == 'datetime'"
style="display: flex; padding-right: 78px"
>
......@@ -796,11 +826,11 @@
>保存</el-button
>
<el-button
style="width: 110px"
@click="submit('draft')"
class="finish"
v-if="draft"
>保存并提交</el-button
style="width: 110px"
@click="submit('draft')"
class="finish"
v-if="draft"
>保存并提交</el-button
>
<el-button
@click="examine"
......@@ -822,7 +852,6 @@
<el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt="" />
</el-dialog> -->
</div>
</template>
......@@ -836,7 +865,7 @@ export default {
SelectTreeDialog,
},
props: {
draft:{
draft: {
type: Boolean,
default: false,
},
......@@ -878,6 +907,17 @@ export default {
ajTq(item) {
this.$emit("ajtq", item);
},
messageTq(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);
this.$emit("choosePeople", item);
......@@ -1321,7 +1361,7 @@ export default {
}
}
//另一种状态保存
if(flag === 'draft'){
if (flag === "draft") {
this.$emit("draft");
}
this.$emit("submit", params);
......@@ -1386,27 +1426,27 @@ export default {
var self = this;
let isLt1M = "";
isLt1M = file.raw.size / 1024 / 1024 < 101;
// debugger;
if (self.fileLists[item.id].length == 0) {
self.$set(self.fileLists, item.id, []);
}
if (isLt1M) {
this.fileLists[item.id].push(file);
// this.$refs.formLabelAlign.clearValidate();
} else {
this.$confirm("上传文件不能超过100M", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
fileList.forEach((item, index) => {
if (file.raw.uid == item.uid) {
fileList.splice(index, 1);
}
});
// debugger;
if (self.fileLists[item.id].length == 0) {
self.$set(self.fileLists, item.id, []);
}
if (isLt1M) {
this.fileLists[item.id].push(file);
// this.$refs.formLabelAlign.clearValidate();
} else {
this.$confirm("上传文件不能超过100M", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
fileList.forEach((item, index) => {
if (file.raw.uid == item.uid) {
fileList.splice(index, 1);
}
});
}
this.$emit("flwsInsert",file)
});
}
this.$emit("flwsInsert", file);
},
flwsRemove(file, fileList, item, parentItem) {
this.$emit("flwsRemove", file);
......@@ -1481,6 +1521,7 @@ export default {
if (val.childrenAsAdd) {
val.childrenAsAdd.forEach((val2, index2) => {
//遍历list数组
debugger
if (val2 == obj) {
//通过比较两个对象是否相等 将formLabelAlign里绑定的数据复制了一份
addObj = JSON.parse(
......@@ -1554,7 +1595,6 @@ export default {
});
} else if (val2.type == "code" || val2.type == "codeTree") {
if (val2.isLazy) {
} else {
if (val2.codeOptions.length == 0) {
axios
......
......@@ -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' &&
......@@ -1087,6 +1093,12 @@
v-if="pageBs == 'queryRlqbxsSH'"
>审核</span
>
<span
@click="send(scope)"
class="edit"
v-if="pageBs == 'queryRlqbxs'"
>发送消息</span
>
<!-- <span
@click="$emit('qxfp', scope)"
class="dele"
......@@ -1664,6 +1676,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 == "结伙作案") {
......@@ -1862,6 +1877,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: "请输入",
......@@ -131,7 +131,7 @@ const xstgz = [
{
name: "证件号码:",
id: "zjhm",
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