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