Commit 9a74efcb by liyuhang19990520

通话记录

parent da9ed07b
/*
* @Author: your name
* @Date: 2021-09-22 15:09:59
* @LastEditTime: 2021-09-22 15:56:59
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\xxtk\thjl.js
*/
import { post, postform, postdown } from "@/utils/http.js";
import base from "@/api/base";
//新增人员通话记录道信息
......@@ -8,7 +16,7 @@ export const updategzryThjl = params =>
postform(`${base.alyIP}/gzryThjl/updategzryThjl`, params);
//人员通话记录信息删除
export const deletegzryThjlById = params =>
postform(`${base.alyIP}/gzryThjl/deletegzryThjlById`, params);
post(`${base.alyIP}/gzryThjl/deletegzryThjlById`, params);
//查询人员通话记录详情信息
export const selectThjlById = params =>
postform(`${base.alyIP}/gzryThjl/selectThjlById`, params);
post(`${base.alyIP}/gzryThjl/selectThjlById`, params);
......@@ -402,11 +402,21 @@ const menuLayouts = [
path: "/addThjl",
name: "addThjl",
meta: {
title: '通话记录信息管理'
title: '通话记录信息管理',
isAdd: true
},
component: () => import("@/views/xxtk/thjl/addThjl.vue")
},
{
path: "/detailThjl",
name: "detailThjl",
meta: {
title: '通话记录信息详情',
isAdd: true
},
component: () => import("@/views/xxtk/thjl/detailThjl.vue")
},
{
path: "/queryThjl",
name: "queryThjl",
meta: {
......
......@@ -14,7 +14,7 @@ import formCompontent from "@c/form.vue";
import {
insertgzryThjl,
updategzryThjl,
selectThjlById
selectThjlById,
} from "@/api/xxtk/thjl.js";
import { rythjl } from "@/utils/params.js";
export default {
......@@ -27,7 +27,7 @@ export default {
propFormField: [
//基本信息
{
title: "新增人员话单信息",
title: "新增通话记录信息",
id: 1,
objStr: "",
index: 0,
......@@ -42,12 +42,14 @@ export default {
isActive: false,
},
{
name: "机动车信息列表",
name: "通话记录信息列表",
to: "/queryThjl",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员通话记录信息" : "新增人员通话记录信息",
name: this.$route.query.xxzjbh
? "修改通话记录信息"
: "新增通话记录信息",
to: "/addThjl",
isActive: true,
},
......@@ -106,7 +108,7 @@ export default {
selectThjlById({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.jsjdc;
var result = res.data.rows;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
......@@ -126,7 +128,7 @@ export default {
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.xxzjbh) {
this.$set(this.propFormField[0], "title", "修改人员通话记录信息");
this.$set(this.propFormField[0], "title", "修改通话记录信息");
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
......
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-10 17:05:06
* @LastEditTime: 2021-09-22 15:55:58
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
......@@ -128,13 +128,13 @@ export default {
isActive: false,
},
{
name: "人员话单信息列表",
to: "/queryRyhd",
name: "通话记录信息列表",
to: "/queryThjl",
isActive: false,
},
{
name: "人员话单信息详情",
to: "/detailRyhd",
name: "通话记录信息详情",
to: "/detailThjl",
isActive: true,
},
],
......@@ -147,7 +147,7 @@ export default {
selectThjlById({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.jsjdc;
var result = res.data.rows;
_this.filterTreeCode(result);
});
},
......
......@@ -32,11 +32,6 @@ export default {
limit: 10,
page: 1,
glxxXxzjbh: "",
// ryjsjdcJdchpzldm: "",
// ryjsjdcJdchphm: "",
// xxdjdwGajgjgdm: "",
// djkssj: "",
// djjssj: "",
},
cxQueryField: [
{
......@@ -47,7 +42,6 @@ export default {
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
......@@ -56,7 +50,7 @@ export default {
},
{
label: "常用证件",
prop: "cyzjCyzjdm",
prop: "cyzjCyzjdmStr",
},
{
label: "证件号码",
......@@ -64,23 +58,19 @@ export default {
width: "200",
},
{
label: "移动电话",
prop: "yddh",
label: "联系电话",
prop: "lxdh",
},
{
label: "IMSI_服务标识号",
prop: "imsiFwbzh",
label: "服务请求发起方",
prop: "fwqqfqfPdbz",
},
{
label: "ICCID_物品标识号",
prop: "iccidWpbzh",
},
{
label: "IMEI_物品标识号",
prop: "imeiWpbzh",
label: "通话对象联系电话",
prop: "thdxLxdh",
},
],
cxUrl: "/gzryHd/selectgzryHd",
cxUrl: "/gzryThjl/selectgzryThjl",
};
},
created() {},
......
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