|
@@ -62,6 +62,7 @@
|
|
|
<el-form-item prop="presetCase" label="预设案由">
|
|
<el-form-item prop="presetCase" label="预设案由">
|
|
|
<div style="display: flex;justify-content: flex-end; margin-bottom: 10px">
|
|
<div style="display: flex;justify-content: flex-end; margin-bottom: 10px">
|
|
|
<el-button type="primary" @click="selectMaterials">参考演练范本库</el-button>
|
|
<el-button type="primary" @click="selectMaterials">参考演练范本库</el-button>
|
|
|
|
|
+ <el-button type="primary" @click="rehearsalBranchHandler">本网点预案</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<k-textarea v-model="formData.presetCase" :row="10" placeholder="请输入预设案由" :length="2000"/>
|
|
<k-textarea v-model="formData.presetCase" :row="10" placeholder="请输入预设案由" :length="2000"/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -122,6 +123,13 @@
|
|
|
@select="drillDictionarySelect"
|
|
@select="drillDictionarySelect"
|
|
|
:orgId="this.$store.getters.orgId">
|
|
:orgId="this.$store.getters.orgId">
|
|
|
</dialog-drill-dictionary-select>
|
|
</dialog-drill-dictionary-select>
|
|
|
|
|
+
|
|
|
|
|
+ <dialog-drill-dictionary-branch-select
|
|
|
|
|
+ ref="DialogDrillDictionaryBranchSelect"
|
|
|
|
|
+ :defaultSelect=defaultSelect
|
|
|
|
|
+ @select="drillDictionarySelect"
|
|
|
|
|
+ :orgId="this.$store.getters.orgId">
|
|
|
|
|
+ </dialog-drill-dictionary-branch-select>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -134,8 +142,9 @@ import KSelect from "@/components/common/userselect.vue";
|
|
|
import imgUpload from "@/components/ImageUpload/index.vue";
|
|
import imgUpload from "@/components/ImageUpload/index.vue";
|
|
|
import KFileUpload from "@/components/K-FileUpload/index.vue";
|
|
import KFileUpload from "@/components/K-FileUpload/index.vue";
|
|
|
import DialogDrillDictionarySelect from "@/views/core/drill/task/dialog.select.drillDictionary.vue";
|
|
import DialogDrillDictionarySelect from "@/views/core/drill/task/dialog.select.drillDictionary.vue";
|
|
|
|
|
+import DialogDrillDictionaryBranchSelect from "@/views/core/drill/task/dialog.select.drillDictionary.branch.vue";
|
|
|
export default {
|
|
export default {
|
|
|
- components: {KTextarea, KSelect, imgUpload,KFileUpload,DialogDrillDictionarySelect},
|
|
|
|
|
|
|
+ components: {KTextarea, KSelect, imgUpload,KFileUpload,DialogDrillDictionarySelect,DialogDrillDictionaryBranchSelect},
|
|
|
data() {
|
|
data() {
|
|
|
const params = this.$route.params;
|
|
const params = this.$route.params;
|
|
|
return {
|
|
return {
|
|
@@ -418,6 +427,10 @@ export default {
|
|
|
console.log("selectMaterials",this.formData)
|
|
console.log("selectMaterials",this.formData)
|
|
|
this.$refs["DialogDrillDictionarySelect"].show(this.formData.type);
|
|
this.$refs["DialogDrillDictionarySelect"].show(this.formData.type);
|
|
|
},
|
|
},
|
|
|
|
|
+ rehearsalBranchHandler() {
|
|
|
|
|
+ console.log("selectMaterials",this.formData)
|
|
|
|
|
+ this.$refs["DialogDrillDictionaryBranchSelect"].show(this.formData.type);
|
|
|
|
|
+ },
|
|
|
drillDictionarySelect(data){
|
|
drillDictionarySelect(data){
|
|
|
// console.log("selectMaterials",this.formData)
|
|
// console.log("selectMaterials",this.formData)
|
|
|
/*if(this.formData.type==null)
|
|
/*if(this.formData.type==null)
|
|
@@ -440,6 +453,6 @@ export default {
|
|
|
.el-textarea__inner {
|
|
.el-textarea__inner {
|
|
|
font-size: 15px !important;
|
|
font-size: 15px !important;
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</style> -->
|
|
</style> -->
|