Commit 9a93c64d by gao_yingdong

线索核办

parent 2672d304
......@@ -37,15 +37,23 @@ const menuLayouts = [
path: "/xsbk",
name: "xsbk",
meta: {
title: '线索布控'
title: '我发起的线索布控'
},
component: () => import("@/views/xshb/xsbk/xsbk.vue")
},
{
path: "/xsbksp",
name: "xsbksp",
meta: {
title: '我审批的线索布控'
},
component: () => import("@/views/xshb/xsbk/xsbksp.vue")
},
{
path: "/detailXsbks",
name: "detailXsbks",
meta: {
title: '线索布控详情'
title: '我发起的线索布控详情'
},
component: () => import("@/views/xshb/xsbk/detailXsbks.vue")
},
......@@ -53,7 +61,7 @@ const menuLayouts = [
path: "/adjustXsbks",
name: "adjustXsbks",
meta: {
title: '线索布控新增'
title: '我发起的线索布控新增'
},
component: () => import("@/views/xshb/xsbk/adjustXsbks.vue")
},
......@@ -61,7 +69,7 @@ const menuLayouts = [
path: "/queryXsbkResult",
name: "queryXsbkResult",
meta: {
title: '线索布控结果查询'
title: '我发起的线索布控结果查询'
},
component: () => import("@/views/xshb/xsbk/queryXsbkResult.vue")
},
......
......@@ -631,12 +631,20 @@ export default {
},
{
id: "xsbk",
label: "线索布控",
label: "我发起的线索布控",
index: "xsbk",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "xsbksp",
label: "我审批的线索布控",
index: "xsbksp",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
selectArr: [],
revokeVisiable: false,
......
......@@ -321,7 +321,7 @@ export default {
},
created() {
if (this.$route.query.xxzjbh) {
this.title = "修改线索布控信息";
this.title = "修改我发起的线索布控信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
} else {
......
......@@ -40,12 +40,12 @@
@click="toCk(scope.scope)"
>撤控</span
>
<span
<!-- <span
v-if="scope.scope.row.bkzt == '0' && scope.scope.row.spjgPdbz == '0'"
class="hbyp"
@click="toXXSP(scope.scope)"
>审批</span
>
> -->
<span
v-if="
(scope.scope.row.bkzt == '1' || scope.scope.row.bkzt == '2') &&
......@@ -58,7 +58,7 @@
<span
v-if="
scope.scope.row.bkzt == '0' &&
(scope.scope.row.spjgPdbz != '0' || scope.scope.row.spjgPdbz != '1')
scope.scope.row.spjgPdbz != '0' && scope.scope.row.spjgPdbz != '1'
"
class="hbyp"
@click="tqsp(scope.scope)"
......@@ -201,7 +201,7 @@ export default {
Menu: [
{
id: "xsbk",
label: "线索布控",
label: "我发起的线索布控",
index: "xsbk",
auth: "M0101",
className: "iconfont iconrizhi",
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor="toInfor"
ref="rightContent"
>
<template #btnGroup="scope">
<span class="hbyp" @click="toXXSP(scope.scope)">审批</span>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {
backBkxx,
bkxxSp,
getTaskResult,
deleteBkxx,
bkxxTqsp,
bkxxChsp,
} from "@/api/xshb/xsbk.js";
export default {
name: "xsbk",
components: {
rightContent,
},
data() {
return {
header: "线索核办",
pageBs: "xsbk",
cxFormData: {
limit: 10,
page: 1,
bkdxLxdm: "",
bkdxHm: "",
sqrXm: "",
djsjStart: "",
djsjEnd: "",
spjgPdbz : "0",
},
cxQueryField: [
// {
// name: "线索编号",
// id: "xsbh",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "3",
// },
{
name: "布控对象类型",
id: "bkdxLxdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_BKLXDM",
},
{
name: "布控对象号码",
id: "bkdxHm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
// {
// name: "布控状态",
// id: "bkzt",
// type: "codeTreeDialog",
// props: [], //字典弹框需要的字段
// value: "",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_BKZTDM",
// },
{
name: "申请人",
id: "sqrXm",
type: "text",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "申请时间",
id: "djsjStart",
id2: "djsjEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息主键编号",
prop: "xxzjbh",
toInfor: true,
width: "250",
},
{
label: "布控对象类型",
prop: "bkdxLxdmStr",
width: "200",
},
{
label: "布控对象号码",
prop: "bkdxHm",
width: "200",
},
{
label: "布控要求",
prop: "bkyq",
width: "300",
},
{
label: "布控依据",
prop: "bkyj",
width: "300",
},
{
label: "申请人",
prop: "sqrXm",
width: "200",
},
{
label: "申请时间",
prop: "djsj",
width: "200",
},
],
cxUrl: "/xsbk/getBkxxList",
Menu: [
{
id: "xsbksp",
label: "我审批的线索布控",
index: "xsbksp",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
selectArr: [],
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
toInfor(row) {
this.$router.pushToTab({
path: "/detailXsbks",
query: {
xxzjbh: row.xxzjbh,
},
});
},
toXXSP(scope) {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
backBkxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$alert("审批成功!", "提示", {
confirmButtonText: "确定",
type: "success",
});
loading.close();
} else {
this.$message({
type: "error",
message: res.message,
});
}
});
},
},
watch: {},
};
</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">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
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