diff --git a/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue b/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue
index 4b216ed..db95e8d 100644
--- a/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue
+++ b/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue
@@ -16,13 +16,13 @@
/>
-
+
+
+
+
+
+
+
@@ -76,23 +76,27 @@
-
-
-
+
+
+ 新增模块
-
+
+ :dict-code="functionx"
+ style="width: 100%" @change="fillFunctionName()">
+ 新增功能
-
-
+
+
+ 新增规则
@@ -125,7 +129,7 @@
-
+
@@ -166,6 +170,9 @@
+
+
+
@@ -176,12 +183,23 @@ import {httpAction, getAction} from '@api/manage'
import {validateDuplicateValue} from '@/utils/util'
import JVxeDateCell from "@comp/jeecg/JVxeTable/components/cells/JVxeDateCell";
import JMultiSelectTag from "@/components/dict/JMultiSelectTag"
+import TaskModal from "@views/task/modules/TaskModal.vue";
+import {JeecgListMixin} from '@/mixins/JeecgListMixin'
+import {mixinDevice} from "@/utils/mixin";
+import modulexModal from "@views/modulex/modules/ModulexModal.vue";
+import FunctionxModal from "@views/functionx/modules/FunctionxModal__Style#Drawer.vue";
+import RulexModal from "@views/rulex/modules/RulexModal__Style#Drawer.vue";
export default {
name: 'TaskForm',
+ mixins: [JeecgListMixin, mixinDevice],
components: {
+ RulexModal,
+ FunctionxModal,
+ modulexModal,
+ TaskModal,
JVxeDateCell,
- JMultiSelectTag
+ JMultiSelectTag,
},
props: {
//表单禁用
@@ -193,6 +211,12 @@ export default {
},
data() {
return {
+ modulex: "modulex,module_name,id",
+ functionx: "functionx,function_name,id",
+ rulex: "rulex,rule_no,id",
+ task: "task,task_name,id",
+ value: new Date(),
+
model: {
workLevel: 2,
workStatus: 0,
@@ -318,6 +342,8 @@ export default {
}
,
fillTaskName() {
+ this.modulex = "modulex,module_name,id,project_id='"+this.model.projectId+"'";
+
let that = this;
let fillTaskName = "";
let param = {
@@ -343,7 +369,31 @@ export default {
}
}
,
-
+ fillLevelName(){
+ this.task = "task,task_name,id,level='"+this.model.level+"'";
+ }
+ ,
+ handleAdd3: function () {
+ this.$refs.modalForm3.add();
+ this.$refs.modalForm3.title = "新增";
+ this.$refs.modalForm3.disableSubmit = false;
+ },
+ handleAdd1: function () {
+ this.$refs.modalForm1.add();
+ this.$refs.modalForm1.title = "新增";
+ this.$refs.modalForm1.disableSubmit = false;
+ },
+ handleAdd2: function () {
+ this.$refs.modalForm2.add();
+ this.$refs.modalForm2.title = "新增";
+ this.$refs.modalForm2.disableSubmit = false;
+ },
+ fillModuleName() {
+ this.functionx = "functionx,function_name,id,module_id='"+this.model.moduleId+"'";
+ },
+ fillFunctionName(){
+ this.rulex = "rulex,rule_no,id,function_id='"+this.model.functionId+"'";
+ },
// 获取当前日期的方法
getProjectNum() {
const projectTime = new Date() // 当前中国标准时间