任务待办

This commit is contained in:
shidongli 2024-08-01 16:39:53 +08:00
parent 20bcb81abc
commit b906523ca9
5 changed files with 29 additions and 373 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

BIN
src/assets/images/right.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

View File

@ -169,329 +169,6 @@ export default {
nodes: [],
edges: [],
},
// form: {
// nodes: [{
// color
// :
// "#FA8C16",
// id
// :
// "655c5165",
// index
// :
// 0,
// label
// :
// "",
// nodetype
// :
// "startNode",
// shape
// :
// "flow-circle",
// size
// :
// "72*72",
// type
// :
// "node",
// x
// :
// 441.5124969482422,
// y
// :
// 60.79999542236328,
// }, {
// color
// :
// "#1890ff",
// id
// :
// "8660695d",
// index
// :
// 1,
// label
// :
// "",
// size
// :
// "100*50",
// type
// :
// "node",
// x
// :
// 242.5124969482422,
// y
// :
// 183.5999984741211,
// },
// {
// color
// :
// "#1890ff",
// id
// :
// "59c9ceed",
// index
// :
// 2,
// label
// :
// "",
// size
// :
// "100*50",
// type
// :
// "node",
// x
// :
// 606.5124969482422,
// y
// :
// 187.5999984741211,
// }, {
// color
// :
// "#722ED1",
// id
// :
// "16f4c8ba",
// index
// :
// 5,
// label
// :
// "##",
// shape
// :
// "flow-capsule",
// size
// :
// "200*48",
// type
// :
// "node",
// x
// :
// 433.5124969482422,
// y
// :
// 125.5999984741211,
// }, {
// color
// :
// "#722ED1",
// id
// :
// "e4839dcc",
// index
// :
// 6,
// label
// :
// "",
// shape
// :
// "flow-capsule",
// size
// :
// "80*48",
// type
// :
// "node",
// x
// :
// 233.5124969482422,
// y
// :
// 251.5999984741211,
// }, {
// color
// :
// "#1890ff",
// id
// :
// "392ca0b8",
// index
// :
// 7,
// label
// :
// "",
// size
// :
// "100*50",
// type
// :
// "node",
// x
// :
// 55.51249694824219,
// y
// :
// 299.5999984741211
// }, {
// color
// :
// "#1890ff",
// id
// :
// "6bcab22d",
// index
// :
// 8,
// label
// :
// "",
// size
// :
// "100*50",
// type
// :
// "node",
// x
// :
// 384.5124969482422,
// y
// :
// 307.5999984741211
// },
// {
// color
// :
// "#722ED1",
// id
// :
// "dc5de91f",
// index
// :
// 11,
// label
// :
// " ",
// shape
// :
// "flow-capsule",
// size
// :
// "200*48",
// type
// :
// "node",
// x
// :
// 55.51249694824219,
// y
// :
// 366.5
// }],
// edges: [{
// id: "b04d23c7",
// index
// :
// 3,
// label
// :
// "",
// shape
// :
// "flow-polyline-round",
// source
// :
// "655c5165",
// sourceAnchor
// :
// 1,
// target
// :
// "59c9ceed",
// targetAnchor
// :
// 0,
// }, {
// id
// :
// "7894068d",
// index
// :
// 4,
// label
// :
// "",
// shape
// :
// "flow-polyline-round",
// source
// :
// "655c5165",
// sourceAnchor
// :
// 3,
// target
// :
// "8660695d",
// targetAnchor
// :
// 0,
// }, {
// id
// :
// "6aa429cc",
// index
// :
// 9,
// label
// :
// "",
// shape
// :
// "flow-polyline-round",
// source
// :
// "8660695d",
// sourceAnchor
// :
// 3,
// target
// :
// "392ca0b8",
// targetAnchor
// :
// 0,
// },
// {
// id
// :
// "02bfc4d0",
// index
// :
// 10,
// label
// :
// "",
// shape
// :
// "flow-polyline-round",
// source
// :
// "8660695d",
// sourceAnchor
// :
// 1,
// target
// :
// "6bcab22d",
// targetAnchor
// :
// 0
// }
// ]
// },
//
nodeAttributeForm: {
label: "",

View File

@ -91,9 +91,7 @@
<!-- 问卷模板处理 -->
<div
class="right"
v-if="
$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'
"
v-if="$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'"
>
<div
class="sport"
@ -233,14 +231,19 @@
<!-- 电话外呼 -->
<div class="right" v-if="$route.query.taskNodeType == 'PHONE_OUTBOUND'">
<div class="sport">
<span
><hamburger
@toggleClick="toggleSideBar"
id="hamburger-container"
:is-active="sidebar.opened"
class="hamburger-container"
style="display: inline-block" /></span
>话术预览
<img
src="@/assets/images/right.jpg"
class="login-code-img"
v-if="isshow == true"
@click="toggleSideBar"
/>
<img
src="@/assets/images/bitton.jpg"
class="login-code-img"
v-if="isshow == false"
@click="toggleSideBar"
/>
话术预览
</div>
<Scriptpreview
:phoneNodeContent="formlist.phoneNodeContent"
@ -266,10 +269,7 @@
ref="questiondata"
v-if="$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'"
>
<el-form-item
label="任务处理信息"
prop="routeHandleRemark"
>
<el-form-item label="任务处理信息" prop="routeHandleRemark">
<el-input
type="textarea"
placeholder="请输入任务处理信息"
@ -287,22 +287,15 @@
v-if="$route.query.taskNodeType == 'PHONE_OUTBOUND'"
>
<el-form-item label="是否接通" prop="phone">
<el-radio
v-model="formlist.phoneConnectStatus"
label="CONNECTED"
<el-radio v-model="formlist.phoneConnectStatus" label="CONNECTED"
>已接通</el-radio
>
<el-radio
v-model="formlist.phoneConnectStatus"
label="NOTCONNECTED"
<el-radio v-model="formlist.phoneConnectStatus" label="NOTCONNECTED"
>未接通</el-radio
>
</el-form-item>
<el-form-item
label="任务处理信息"
prop="routeHandleRemark"
>
<el-form-item label="任务处理信息" prop="routeHandleRemark">
<el-input
type="textarea"
placeholder="请输入任务处理信息"
@ -315,7 +308,6 @@
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import message from "../../system/components/message.vue";
import Scriptpreview from "../../system/components/Scriptpreviewopen.vue";
@ -403,12 +395,6 @@ export default {
parentDictCode: "",
};
},
computed: {
...mapGetters([
'sidebar',
]),
},
created() {
this.id = this.$route.query.manageRouteId;
this.info();
@ -416,7 +402,7 @@ export default {
this.infolistword();
if (this.$route.query.taskNodeType == "QUESTIONNAIRE_SCALE") {
this.activeName = "first"
this.questioninfo();
this.questioninfo();
} else if (this.$route.query.taskNodeType == "PHONE_OUTBOUND") {
this.activeName = "four"
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
@ -443,10 +429,7 @@ export default {
},
methods: {
toggleSideBar() {
this.$store.dispatch('app/toggleSideBar')
this.isshow = !this.isshow
console.log(9999999)
},
//
infoleft() {
@ -734,6 +717,12 @@ export default {
};
</script>
<style lang="scss" scoped>
::v-deep {
#vue-g6-editor #page canvas {
width: 100% !important;
height: 100% !important;
}
}
::v-deep .el-form-item {
display: inline-block;
}
@ -847,15 +836,9 @@ export default {
padding: 10px 50px 10px 10px;
font-size: 20px;
font-weight: 600;
.hamburger-container {
height: 100%;
cursor: pointer;
transition: background 0.3s;
-webkit-tap-highlight-color: transparent;
&:hover {
background: rgba(0, 0, 0, 0.025);
}
.login-code-img {
top: 10px;
position: relative;
}
}

View File

@ -317,14 +317,10 @@ export default {
},
methods: {
getlist() {
// console.log(this.$route.query)
// console.log(this.phoneNodeContent,'this.form = JSON.parse(this.phoneNodeContent)')
// getFlowScheme(this.$route.query.id).then(res => {
// this.form = JSON.parse(this.$route.query.id)
if(this.phoneNodeContent){
this.form = JSON.parse(this.phoneNodeContent);
this.editor.getCurrentPage().read(this.form);
// })
}
},
//