diff --git a/src/views/xm/core/xmQuestion/XmQuestionEdit.vue b/src/views/xm/core/xmQuestion/XmQuestionEdit.vue
index 14e7f15e..a00a6f30 100644
--- a/src/views/xm/core/xmQuestion/XmQuestionEdit.vue
+++ b/src/views/xm/core/xmQuestion/XmQuestionEdit.vue
@@ -14,7 +14,10 @@
{{editForm.taskName}}选任务
-
+
+
+ {{editForm.menuName}}选故事
+
{{i.optionName}}
@@ -34,7 +37,7 @@
- 提出: {{editForm.askUsername}} 创建人: {{userInfo.username}} 时间:{{formateDate(new Date()).substr(0,10)}}
+ 提出: {{editForm.askUsername}} 创建人: {{editForm.createUsername}} 创建时间:{{editForm.createTime}}
{{editForm.handlerUsername}} 指派给提出人指派给创建人选其它人
@@ -115,7 +118,11 @@
-
+
+
+
+
+
@@ -132,6 +139,7 @@
import XmGroupMng from '../xmProjectGroup/XmProjectGroupMng';
import VueEditor from '@/components/VueEditor';
import XmTaskList from '../xmTask/XmTaskList';
+ import xmMenuSelect from '../xmMenu/XmMenuSelect';
export default {
computed: {
@@ -186,6 +194,7 @@
xmQuestionHandles:[],
selectTaskVisible:false,
flowInfoVisible:false,
+ selectMenuVisible:false,
/**end 在上面加自定义属性**/
}//end return
},//end data
@@ -345,13 +354,29 @@
showFlowInfo:function(){
this.flowInfoVisible=true;
this.getXmQuestionHandle();
- }
+ },
/**end 在上面加自定义方法**/
+ showSelectMenu:function(){
+ if(this.selProject==null){
+ this.$message({ message: "请先选项目", type: 'error' });
+ return ;
+ }
+ this.selectMenuVisible=true;
+ },
+ onSelectedMenu(menu){
+ this.editForm.menuId=menu.menuId
+ this.editForm.menuName=menu.menuName
+ this.selectMenuVisible=false;
+ },
+ handleCloseMenuTag:function(){
+ this.editForm.menuId=''
+ this.editForm.menuName=""
+ },
},//end method
components: {
//在下面添加其它组件 'xm-question-edit':XmQuestionEdit
- 'upload': AttachmentUpload,XmGroupMng,VueEditor,XmTaskList
+ 'upload': AttachmentUpload,XmGroupMng,VueEditor,XmTaskList,xmMenuSelect
},
mounted() {
console.log("question_add");
diff --git a/src/views/xm/core/xmQuestion/XmQuestionMng.vue b/src/views/xm/core/xmQuestion/XmQuestionMng.vue
index c3d23fca..5d9dff13 100644
--- a/src/views/xm/core/xmQuestion/XmQuestionMng.vue
+++ b/src/views/xm/core/xmQuestion/XmQuestionMng.vue
@@ -118,13 +118,16 @@
+
+
+
指派给
-
-
+
+