|
|
@ -104,7 +104,7 @@ |
|
|
|
<j-dict-select-tag v-model="model.functionId" placeholder="请选择功能" |
|
|
|
<j-dict-select-tag v-model="model.functionId" placeholder="请选择功能" |
|
|
|
:dict-code="functionx" |
|
|
|
:dict-code="functionx" |
|
|
|
style="width: 80%" @change="fillFunctionName()"></j-dict-select-tag> |
|
|
|
style="width: 80%" @change="fillFunctionName()"></j-dict-select-tag> |
|
|
|
<a-button @click="handleAdd1" type="primary" icon="plus" style="width: 20%;" ></a-button> |
|
|
|
<a-button @click="handleAdd1(model.moduleId)" type="primary" icon="plus" style="width: 20%;" ></a-button> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
@ -112,7 +112,7 @@ |
|
|
|
<!-- <a-input v-model="model.ruleId" placeholder="请输入规则id" rulex,rule_no,id></a-input>--> |
|
|
|
<!-- <a-input v-model="model.ruleId" placeholder="请输入规则id" rulex,rule_no,id></a-input>--> |
|
|
|
<j-dict-select-tag v-model="model.ruleId" placeholder="请选择规则" :dict-code="rulex" |
|
|
|
<j-dict-select-tag v-model="model.ruleId" placeholder="请选择规则" :dict-code="rulex" |
|
|
|
style="width: 80%"></j-dict-select-tag> |
|
|
|
style="width: 80%"></j-dict-select-tag> |
|
|
|
<a-button @click="handleAdd2" type="primary" icon="plus" style="width: 20%;"></a-button> |
|
|
|
<a-button @click="handleAdd2(model.functionId,model.moduleId)" type="primary" icon="plus" style="width: 20%;"></a-button> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
</a-row> |
|
|
|
</a-row> |
|
|
@ -194,7 +194,7 @@ import JMultiSelectTag from "@/components/dict/JMultiSelectTag" |
|
|
|
import TaskModal from "@views/task/modules/TaskModal.vue"; |
|
|
|
import TaskModal from "@views/task/modules/TaskModal.vue"; |
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
|
|
|
import {mixinDevice} from "@/utils/mixin"; |
|
|
|
import {mixinDevice} from "@/utils/mixin"; |
|
|
|
import modulexModal from "@views/modulex/modules/ModulexModal.vue"; |
|
|
|
import modulexModal from "@views/modulex/modules/ModulexModal__Style#Drawer.vue"; |
|
|
|
import FunctionxModal from "@views/functionx/modules/FunctionxModal__Style#Drawer.vue"; |
|
|
|
import FunctionxModal from "@views/functionx/modules/FunctionxModal__Style#Drawer.vue"; |
|
|
|
import RulexModal from "@views/rulex/modules/RulexModal__Style#Drawer.vue"; |
|
|
|
import RulexModal from "@views/rulex/modules/RulexModal__Style#Drawer.vue"; |
|
|
|
|
|
|
|
|
|
|
@ -399,13 +399,20 @@ export default { |
|
|
|
this.$refs.modalForm3.title = "新增"; |
|
|
|
this.$refs.modalForm3.title = "新增"; |
|
|
|
this.$refs.modalForm3.disableSubmit = false; |
|
|
|
this.$refs.modalForm3.disableSubmit = false; |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleAdd1: function () { |
|
|
|
// handleAdd1: function (moduleId) { |
|
|
|
this.$refs.modalForm1.add(); |
|
|
|
// console.log(this.moduleId,'1111') |
|
|
|
|
|
|
|
// this.$refs.modalForm1.add(); |
|
|
|
|
|
|
|
// this.$refs.modalForm1.title = "新增"; |
|
|
|
|
|
|
|
// this.$refs.modalForm1.disableSubmit = false; |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
handleAdd1(moduleId){ |
|
|
|
|
|
|
|
console.log(moduleId+"22222222222222") |
|
|
|
|
|
|
|
this.$refs.modalForm1.add1(moduleId) |
|
|
|
this.$refs.modalForm1.title = "新增"; |
|
|
|
this.$refs.modalForm1.title = "新增"; |
|
|
|
this.$refs.modalForm1.disableSubmit = false; |
|
|
|
this.$refs.modalForm1.disableSubmit = false; |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleAdd2: function () { |
|
|
|
handleAdd2: function (functionId,moduleId) { |
|
|
|
this.$refs.modalForm2.add(); |
|
|
|
this.$refs.modalForm2.add1(functionId,moduleId); |
|
|
|
this.$refs.modalForm2.title = "新增"; |
|
|
|
this.$refs.modalForm2.title = "新增"; |
|
|
|
this.$refs.modalForm2.disableSubmit = false; |
|
|
|
this.$refs.modalForm2.disableSubmit = false; |
|
|
|
}, |
|
|
|
}, |
|
|
|