|
@@ -101,7 +101,9 @@
|
|
multiple
|
|
multiple
|
|
tree-line
|
|
tree-line
|
|
:tree-data="subjectTrees.organizationTree"
|
|
:tree-data="subjectTrees.organizationTree"
|
|
- tree-node-filter-prop="label">
|
|
|
|
|
|
+ tree-node-filter-prop="label"
|
|
|
|
+ @change="onOrgTreeChange"
|
|
|
|
+ >
|
|
</a-tree-select>
|
|
</a-tree-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -391,12 +393,12 @@ export default defineComponent({
|
|
businessType: [] as any[],
|
|
businessType: [] as any[],
|
|
selectBusinessType: [] as any[]
|
|
selectBusinessType: [] as any[]
|
|
})
|
|
})
|
|
- const wellPurposeTree =ref([]);
|
|
|
|
|
|
+ const wellPurposeTree = ref([]);
|
|
get('wellInfo/getWellPurposeTree', {}).then(data => {
|
|
get('wellInfo/getWellPurposeTree', {}).then(data => {
|
|
wellPurposeTree.value = data;
|
|
wellPurposeTree.value = data;
|
|
});
|
|
});
|
|
|
|
|
|
- const wellTypeTree =ref([]);
|
|
|
|
|
|
+ const wellTypeTree = ref([]);
|
|
get('wellInfo/getWellTypeTree', {}).then(data => {
|
|
get('wellInfo/getWellTypeTree', {}).then(data => {
|
|
wellTypeTree.value = data;
|
|
wellTypeTree.value = data;
|
|
});
|
|
});
|
|
@@ -645,9 +647,18 @@ export default defineComponent({
|
|
loadData();
|
|
loadData();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- function filterUnitTree(treeData){
|
|
|
|
|
|
+ const orgUnitList :any= ref([]);
|
|
|
|
+
|
|
|
|
+ function filterUnitTree(treeData) {
|
|
return treeData;
|
|
return treeData;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ function onOrgTreeChange() {
|
|
|
|
+ postData('wellInfo/getOrgProjectList', {orgList: formState.orgList}).then(data => {
|
|
|
|
+ orgUnitList.value = data;
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
const showDoc = (id) => {
|
|
const showDoc = (id) => {
|
|
get('wellInfo/getWellDocumentList', {wellId: id}).then(data => {
|
|
get('wellInfo/getWellDocumentList', {wellId: id}).then(data => {
|
|
docList.value = data;
|
|
docList.value = data;
|
|
@@ -662,13 +673,13 @@ export default defineComponent({
|
|
route, selectedRowKeys, loading, activeTab, showTree, onSelectChange, data,
|
|
route, selectedRowKeys, loading, activeTab, showTree, onSelectChange, data,
|
|
expand, onQuery, loadData, onRangeChange, showQuery, wellTypeList, wellPurposeList, replaceFields,
|
|
expand, onQuery, loadData, onRangeChange, showQuery, wellTypeList, wellPurposeList, replaceFields,
|
|
formRef, viewModel, handleTableChange, detail,
|
|
formRef, viewModel, handleTableChange, detail,
|
|
- formState, isShowDoc, showDoc, docKey, docList, resetFields, showColumnType, filterColumns,filterUnitTree,
|
|
|
|
|
|
+ formState, isShowDoc, showDoc, docKey, docList, resetFields, showColumnType, filterColumns, filterUnitTree,
|
|
labelCol, getTdColor, downFile,
|
|
labelCol, getTdColor, downFile,
|
|
tabChange, onCheckboxChange, treeRef, colspan,
|
|
tabChange, onCheckboxChange, treeRef, colspan,
|
|
treeOnExpand,
|
|
treeOnExpand,
|
|
- subjectTrees, fileOptions, onBusTypeChange,
|
|
|
|
|
|
+ subjectTrees, fileOptions, onBusTypeChange, onOrgTreeChange,
|
|
getSubjectTree, searchTree,
|
|
getSubjectTree, searchTree,
|
|
- treeOnSelect, pagination, getSettingColoumns,wellPurposeTree,wellTypeTree,numberToCurrencyNo,
|
|
|
|
|
|
+ treeOnSelect, pagination, getSettingColoumns, wellPurposeTree, wellTypeTree, numberToCurrencyNo,
|
|
handleResizeColumn: (w, col) => {
|
|
handleResizeColumn: (w, col) => {
|
|
col.width = w;
|
|
col.width = w;
|
|
}
|
|
}
|