任务待办

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: [], nodes: [],
edges: [], 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: { nodeAttributeForm: {
label: "", label: "",

View File

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

View File

@ -317,14 +317,10 @@ export default {
}, },
methods: { methods: {
getlist() { 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){ if(this.phoneNodeContent){
this.form = JSON.parse(this.phoneNodeContent); this.form = JSON.parse(this.phoneNodeContent);
this.editor.getCurrentPage().read(this.form); this.editor.getCurrentPage().read(this.form);
// })
} }
}, },
// //