Commit bc99b9be by liyuhang19990520

更改

parent e9708d3e
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<el-form <el-form
ref="formLabelAlign" ref="formLabelAlign"
label-position="right" label-position="right"
label-width="120px" label-width="120px"
:model="formLabelAlign" :model="formLabelAlign"
style="margin-bottom: 40px" style="margin-bottom: 40px"
> >
...@@ -903,7 +903,7 @@ export default { ...@@ -903,7 +903,7 @@ export default {
}, },
submit() { submit() {
var self = this; var self = this;
debugger // debugger;
this.$refs.formLabelAlign.validate((valid) => { this.$refs.formLabelAlign.validate((valid) => {
if (valid) { if (valid) {
//使用FormData构造函数创建一个空对象 //使用FormData构造函数创建一个空对象
...@@ -911,13 +911,19 @@ export default { ...@@ -911,13 +911,19 @@ export default {
this.propFormField.forEach((itemData) => { this.propFormField.forEach((itemData) => {
let objStr = itemData.objStr ? `${itemData.objStr}.` : ""; let objStr = itemData.objStr ? `${itemData.objStr}.` : "";
itemData.data.forEach((item) => { itemData.data.forEach((item) => {
if (self.formLabelAlign[item.id] || self.formLabelAlign[item.id_1] ) { if (
debugger self.formLabelAlign[item.id] ||
self.formLabelAlign[item.id_1]
) {
// debugger;
if (item.type !== "file") { if (item.type !== "file") {
//1.1二级字典处理 //1.1二级字典处理
if (item.type == "lazyCodeTree" || item.type == "codeTree") { if (item.type == "lazyCodeTree" || item.type == "codeTree") {
if (item.multiple) { if (item.multiple) {
let str = `#${self.formLabelAlign[item.id].join("#")}`; let str = `#${self.formLabelAlign[item.id].join("#")}`;
if (item.id == "zljsdwdm") {
str = self.formLabelAlign[item.id].join(",");
}
params.append(objStr + item.id, str); params.append(objStr + item.id, str);
} else { } else {
params.append( params.append(
...@@ -965,8 +971,8 @@ export default { ...@@ -965,8 +971,8 @@ export default {
} }
} }
} else if (item.type == "datetime") { } else if (item.type == "datetime") {
params.append(item['id_1'],this.formLabelAlign[item.id_1]) params.append(item["id_1"], this.formLabelAlign[item.id_1]);
params.append(item['id_2'],this.formLabelAlign[item.id_2]) params.append(item["id_2"], this.formLabelAlign[item.id_2]);
} }
//1.2普通字段处理 //1.2普通字段处理
else { else {
...@@ -1250,7 +1256,7 @@ export default { ...@@ -1250,7 +1256,7 @@ export default {
const isJPG = /^.*\.(jpg|jpeg|png|mp4|pdf|docx|doc)$/i.test( const isJPG = /^.*\.(jpg|jpeg|png|mp4|pdf|docx|doc)$/i.test(
file.name.substring(index) file.name.substring(index)
); );
debugger; // debugger;
if (item.type == "photo") { if (item.type == "photo") {
if (isJPG) { if (isJPG) {
this.$set(self.imageUrl, item.id, file.raw); this.$set(self.imageUrl, item.id, file.raw);
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-10-14 15:35:19 * @Date: 2021-10-14 15:35:19
* @LastEditTime: 2021-10-22 11:39:26 * @LastEditTime: 2021-10-28 09:47:24
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\zczl.js * @FilePath: \founder_vue\src\router\modules\zczl.js
...@@ -25,6 +25,14 @@ const menuLayouts = [ ...@@ -25,6 +25,14 @@ const menuLayouts = [
component: () => import("@/views/zczl/zczl/wfqdzczl.vue") component: () => import("@/views/zczl/zczl/wfqdzczl.vue")
}, },
{ {
path: "/jszls",
name: "jszls",
meta: {
title: '接受指令数'
},
component: () => import("@/views/zczl/zczl/jszls.vue")
},
{
path: "/xywspdzczl", path: "/xywspdzczl",
name: "xywspdzczl", name: "xywspdzczl",
meta: { meta: {
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-09-07 15:09:40 * @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-10-27 16:50:43 * @LastEditTime: 2021-10-28 12:54:55
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js * @FilePath: \founder_vue\src\utils\params.js
...@@ -7670,7 +7670,7 @@ const xckyxx_blxx = [ ...@@ -7670,7 +7670,7 @@ const xckyxx_blxx = [
const ssdy_jbxx = [ const ssdy_jbxx = [
// 案事件编号 // 案事件编号
// 物品编号 // 物品编号
] ]
//损失弹药弹药信息 //损失弹药弹药信息
const ssdy_dyxx = [ const ssdy_dyxx = [
...@@ -7801,9 +7801,9 @@ const ssydtxsb_jbxx = [ ...@@ -7801,9 +7801,9 @@ const ssydtxsb_jbxx = [
{ {
name: "品牌型号:", name: "品牌型号:",
id: "ssydtxsbPpxh", id: "ssydtxsbPpxh",
type: "codeTree", type: "text",
codeTree: "CODE_DXZP_FWBSHS", // codeTree: "CODE_DXZP_FWBSHS",
codeOptions: [], // codeOptions: [],
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
...@@ -7854,7 +7854,7 @@ const ssydtxsb_jbxx = [ ...@@ -7854,7 +7854,7 @@ const ssydtxsb_jbxx = [
}, },
{ {
name: "物品价值(元):", name: "物品价值(元):",
id: "sjxyrs", id: "ssydtxsbWpjzrmby",
type: "text", type: "text",
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
...@@ -7876,7 +7876,7 @@ const ssydtxsb_jbxx = [ ...@@ -7876,7 +7876,7 @@ const ssydtxsb_jbxx = [
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
prop: 'checkEmpty' // prop: 'checkEmpty'
}, },
{ {
name: "网综串码:", name: "网综串码:",
...@@ -7969,7 +7969,7 @@ const gxrxx_jbxx = [ ...@@ -7969,7 +7969,7 @@ const gxrxx_jbxx = [
] ]
//服务标识号基本信息 //服务标识号基本信息
const fwbsh_jbxx = [ const fwbsh_jbxx = [
] ]
//人员照片信息 //人员照片信息
const ryzpxx = [ const ryzpxx = [
...@@ -7981,55 +7981,55 @@ const ajxx_zczz = [ ...@@ -7981,55 +7981,55 @@ const ajxx_zczz = [
] ]
//案件基本信息 //案件基本信息
const ajxx_jbxx = [ const ajxx_jbxx = [
] ]
//案件案发地信息 //案件案发地信息
const ajxx_afdxx = [ const ajxx_afdxx = [
] ]
//案件分析信息 //案件分析信息
const ajxx_ajfx = [ const ajxx_ajfx = [
] ]
//案件作案手段信息 //案件作案手段信息
const ajxx_zasd = [ const ajxx_zasd = [
] ]
//侦查终结基本信息 //侦查终结基本信息
const zczj_jbxx = [ const zczj_jbxx = [
] ]
//侦查终结案件分析信息 //侦查终结案件分析信息
const zczj_ajfx = [ const zczj_ajfx = [
] ]
//侦查终结作案手段信息 //侦查终结作案手段信息
const zczj_zasd = [ const zczj_zasd = [
] ]
//侦查终结办理信息 //侦查终结办理信息
const zczj_blxx = [ const zczj_blxx = [
] ]
//抓捕犯罪嫌疑人基本信息 //抓捕犯罪嫌疑人基本信息
const zbfzxyr_jbxx = [ const zbfzxyr_jbxx = [
] ]
//抓捕犯罪嫌疑人办理信息 //抓捕犯罪嫌疑人办理信息
const zbfzxyr_blxx = [ const zbfzxyr_blxx = [
] ]
//抓捕犯罪嫌疑人人员信息 //抓捕犯罪嫌疑人人员信息
const zbfzxyr_ryxx = [ const zbfzxyr_ryxx = [
] ]
//抓捕犯罪嫌疑人侦察信息 //抓捕犯罪嫌疑人侦察信息
const zbfzxyr_zcxx = [ const zbfzxyr_zcxx = [
] ]
//抓捕犯罪嫌疑人法律文书 //抓捕犯罪嫌疑人法律文书
const zbfzxyr_flws = [ const zbfzxyr_flws = [
] ]
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-09-08 17:35:31 * @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-27 16:50:14 * @LastEditTime: 2021-10-28 12:59:36
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue * @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
...@@ -76,7 +76,6 @@ export default { ...@@ -76,7 +76,6 @@ export default {
}, },
methods: { methods: {
submit(params) { submit(params) {
params.append("glxxXxzjbh", this.glxxXxzjbh);
let loading = this.$loading({ let loading = this.$loading({
lock: true, lock: true,
text: "正在保存...", text: "正在保存...",
...@@ -90,8 +89,8 @@ export default { ...@@ -90,8 +89,8 @@ export default {
} }
}, },
windowRefresh() { windowRefresh() {
window.opener.location.reload();
window.close(); window.close();
window.opener.location.reload();
}, },
addSubmit(params, loading) { addSubmit(params, loading) {
insertssydtxsb(params).then((res) => { insertssydtxsb(params).then((res) => {
...@@ -101,7 +100,7 @@ export default { ...@@ -101,7 +100,7 @@ export default {
type: "success", type: "success",
callback: () => { callback: () => {
loading.close(); loading.close();
this.$router.push("queryCase"); this.windowRefresh();
}, },
}); });
} else { } else {
...@@ -119,7 +118,7 @@ export default { ...@@ -119,7 +118,7 @@ export default {
type: "success", type: "success",
callback: () => { callback: () => {
loading.close(); loading.close();
this.$router.push("queryCase"); this.windowRefresh();
}, },
}); });
} else { } else {
...@@ -165,6 +164,8 @@ export default { ...@@ -165,6 +164,8 @@ export default {
this.title = "修改损失移动通讯设备"; this.title = "修改损失移动通讯设备";
this.xxzjbh = this.$route.query.xxzjbh; this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju(); this.getshuju();
} else {
this.$set(this.formLabelAlign, "asjbh", this.$route.query.asjbh);
} }
}, },
}; };
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-08-31 09:52:33 * @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-27 16:45:17 * @LastEditTime: 2021-10-28 11:18:46
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue * @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
...@@ -20,7 +20,11 @@ ...@@ -20,7 +20,11 @@
<script> <script>
import rightContent from "@c/PersonInfor.vue"; import rightContent from "@c/PersonInfor.vue";
import { selectSaById } from "@/api/xxtk/rysa.js"; import {
insertssydtxsb,
updatessydtxsb,
queryByXxzjbh,
} from "@/api/qgccj/ssydtxsb.js";
import axios from "@/utils/http.js"; import axios from "@/utils/http.js";
export default { export default {
name: "queryAj", name: "queryAj",
...@@ -167,7 +171,7 @@ export default { ...@@ -167,7 +171,7 @@ export default {
spinner: "el-icon-loading", spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)", background: "rgba(255, 255, 255, 0.7)",
}); });
selectSaById({ queryByXxzjbh({
xxzjbh: _this.xxzjbh, xxzjbh: _this.xxzjbh,
}).then((res) => { }).then((res) => {
var result = res.data.rows; var result = res.data.rows;
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
prop: "ssydtxsbWptzms", prop: "ssydtxsbWptzms",
}, },
], ],
cxUrl: "/gzryFwbzhgj/selectFwbzhgj", cxUrl: "/ssydtxsb/queryAll",
query: {}, query: {},
}; };
}, },
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
}); });
}, },
toInfor(obj) { toInfor(obj) {
this.$router.push({ this.$router.pushToTab({
path: "/detailssydtxsb", path: "/detailssydtxsb",
query: { query: {
xxzjbh: obj.xxzjbh, xxzjbh: obj.xxzjbh,
...@@ -111,7 +111,6 @@ export default { ...@@ -111,7 +111,6 @@ export default {
path: "/addssydtxb", path: "/addssydtxb",
query: { query: {
xxzjbh: obj.row.xxzjbh, xxzjbh: obj.row.xxzjbh,
glxxXxzjbh: obj.row.glxxXxzjbh,
}, },
}); });
}, },
......
...@@ -84,6 +84,7 @@ export default { ...@@ -84,6 +84,7 @@ export default {
codeOptions: [], codeOptions: [],
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
multiple: true,
prop: "checkEmpty", prop: "checkEmpty",
col: "2", col: "2",
}, },
...@@ -136,7 +137,7 @@ export default { ...@@ -136,7 +137,7 @@ export default {
return; return;
} }
queryLlys({ unitcodes: params.get("zljsdwdm") }).then((res) => { queryLlys({ unitcodes: params.get("zljsdwdm") }).then((res) => {
console.log(res);
}); });
// params.append("glxxXxzjbh", this.glxxXxzjbh); // params.append("glxxXxzjbh", this.glxxXxzjbh);
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
ref="rightContent"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx } from "@/api/rlqbxs.js";
export default {
name: "rlqbxsxx",
components: {
rightContent,
},
data() {
return {
header: "本辖区接受的侦查指令",
pageBs: "bxqjsdzczl",
cxFormData: {
zlwh: "",
zllx: "",
ywlx: "",
fbsj_s: "",
fbsj_e: "",
ywbh: "",
zljsdwdm: "",
zlsy: "",
spsftg: "",
zlsffp: "",
zlsfhb: "",
limit: 10,
page: 1,
},
cxQueryField: [
{
name: "侦察指令编号",
id: "qszt",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "发布时间",
id: "fbsh_s",
id2: "fbsh_e",
placeholder: "请选择",
type: "zdyDate",
value: "",
col: "3",
},
{
name: "签收状态",
id: "qszt",
placeholder: "请输入",
selectData: [
{
name: "已签收",
value: "0",
},
{
name: "超期签收",
value: "1",
},
{
name: "未签收",
value: "2",
},
{
name: "超期未签收",
value: "3",
},
],
type: "select",
value: "",
col: "3",
},
{
name: "回报状态",
id: "hbzt",
placeholder: "请输入",
selectData: [
{
name: "已回报",
value: "0",
},
{
name: "超期回报",
value: "1",
},
{
name: "未回报",
value: "2",
},
{
name: "超期未回报",
value: "3",
},
],
type: "select",
value: "",
col: "3",
},
{
name: "评价等级",
id: "pjdj",
placeholder: "请输入",
selectData: [
{
name: "不合格",
value: "0",
},
{
name: "合格",
value: "1",
},
{
name: "优秀",
value: "2",
},
],
type: "select",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息编号",
prop: "zlsy",
},
{
label: "姓名",
prop: "ywmc",
},
{
label: "指令回报个数",
prop: "zlhbcs",
},
{
label: "回报期限",
prop: "hbqx",
},
{
label: "指令类型",
prop: "zllx_str",
},
{
label: "指令签收个数",
prop: "zlqsgs",
},
{
label: "指令分派个数",
prop: "zlfpgs",
},
{
label: "指令文号",
prop: "zlwh",
},
{
label: "侦查指令编号",
prop: "zczlbh",
},
{
label: "业务类型",
prop: "ywlx_str",
},
{
label: "工作要求",
prop: "gzyq",
},
{
label: "发布时间",
prop: "fbsj",
},
{
label: "审批是否通过",
prop: "spsftg",
},
],
cxUrl: "/zczl/getJszlCountList",
Menu: [
{
id: "bxqjsdzczl",
label: "本辖区接受的侦查指令",
index: "bxqjsdzczl",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailRlqbxs",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
},
mounted() {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
</style>
...@@ -302,6 +302,14 @@ export default { ...@@ -302,6 +302,14 @@ export default {
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
disabled: false, disabled: false,
}, },
{
id: "jszls",
label: "接收指令数",
index: "jszls",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
], ],
}, },
{ {
......
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