¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | title="设å¤å°è´¦-ä¿å
»æ å" |
| | | > |
| | | <!-- æ¥è¯¢åºå --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form |
| | | layout="inline" |
| | | @keyup.enter.native="searchQuery" |
| | | > |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="è®¾å¤æå±åç±»" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | dictCode="mom_eam_equipment_category,name,id" |
| | | placeholder="请è¾å
¥æç´¢æ¡ä»¶å¹¶éæ©" |
| | | v-model="queryParam.equipmentCategoryId" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | label="ç»ä¸ç¼ç " |
| | | > |
| | | <a-input |
| | | placeholder="请è¾å
¥è®¾å¤ç»ä¸ç¼ç æ¥è¯¢" |
| | | v-model="queryParam.num" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | label="设å¤åç§°" |
| | | > |
| | | <a-input |
| | | placeholder="请è¾å
¥è®¾å¤åç§°æ¥è¯¢" |
| | | v-model="queryParam.name" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="åå·" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-input |
| | | v-model="queryParam.model" |
| | | placeholder="请è¾å
¥åå·" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="å·¥åº" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="è¯·éæ©å·¥åº" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_area,name,id,del_flag!='1'" |
| | | v-model="queryParam.factoryModelId" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="使ç¨é¨é¨" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-tree-select |
| | | style="width: 100%" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | :tree-data="treeData" |
| | | placeholder="è¯·éæ©ä½¿ç¨é¨é¨" |
| | | tree-default-expand-all |
| | | v-model="queryParam.useId" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="ABCæ è¯" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="è¯·éæ©ABCæ è¯" |
| | | :triggerChange="true" |
| | | dictCode="ABC-standard-result" |
| | | v-model="queryParam.equipmentImportanceId" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="ææ¯ç¶æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="è¯·éæ©ææ¯ç¶æ" |
| | | :triggerChange="true" |
| | | dictCode="technology_status" |
| | | v-model="queryParam.technologyStatus" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="设å¤ç¶æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="è¯·éæ©è®¾å¤ç¶æ" |
| | | :triggerChange="true" |
| | | dictCode="equipment_status" |
| | | v-model="queryParam.equipmentStatus" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-item |
| | | label="å
³é®è®¾å¤æ è¯" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :triggerChange="true" |
| | | placeholder="è¯·éæ©å
³é®è®¾å¤æ è¯" |
| | | dictCode="specific_equipment" |
| | | v-model="queryParam.specificEquipment" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | <div class="table-operator"> |
| | | <a-button |
| | | type="primary" |
| | | @click="searchQuery" |
| | | icon="search" |
| | | >æ¥è¯¢</a-button> |
| | | <a-button |
| | | @click="searchReset" |
| | | icon="reload" |
| | | >éç½®</a-button> |
| | | </div> |
| | | <div> |
| | | <a-table |
| | | ref="table" |
| | | size="small" |
| | | bordered |
| | | rowKey="id" |
| | | :scroll="{x:true}" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange, type:'checkbox'}" |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | <span |
| | | slot="yseNoPrecisionParameters" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoInspectionStandard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoMaintenance2Standard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoMaintenance3Standard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | </a-table> |
| | | </div> |
| | | <a-tabs defaultActiveKey="1"> |
| | | <a-tab-pane |
| | | tab="设å¤ç²¾åº¦" |
| | | key="2" |
| | | forceRender |
| | | > |
| | | <EquipmentPrecisionParametersList |
| | | :isOpen="isOpenPrecision" |
| | | :mainId="precisionParametersTemplateId" |
| | | /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="æ¥ä¿æ å" |
| | | key="7" |
| | | forceRender |
| | | > |
| | | <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="äºä¿æ å" |
| | | key="8" |
| | | forceRender |
| | | > |
| | | <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="ä¸ä¿æ å" |
| | | key="9" |
| | | forceRender |
| | | > |
| | | <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { getAction } from '@/api/manage' |
| | | import EquipmentPrecisionParametersList from './modules/equipmentNew/EquipmentPrecisionParametersList' |
| | | import '@/assets/less/TableExpand.less' |
| | | import JSearchSelectTag from '../../components/dict/JSearchSelectTag.vue' |
| | | import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' |
| | | import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' |
| | | import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' |
| | | import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' |
| | | import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' |
| | | |
| | | export default { |
| | | name: "EquipmentList", |
| | | mixins: [JeecgListMixin, mixinDevice], |
| | | components: { |
| | | EquipmentPrecisionParametersList, |
| | | JSearchSelectTag, |
| | | StandardOfInspection, |
| | | StandardOfMaintenance, |
| | | DailyMaintenanceList, |
| | | SecondMaintenanceList, |
| | | ThirdMaintenanceList, |
| | | }, |
| | | data() { |
| | | return { |
| | | description: '设å¤å°è´¦-ä¿å
»æ å', |
| | | caytegoryParam: 'all', |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | align: 'center', |
| | | customRender: function (t, r, index) { |
| | | return parseInt(index) + 1 |
| | | }, |
| | | width: 50, |
| | | }, |
| | | { |
| | | title: '设å¤ç±»å', |
| | | align: "center", |
| | | dataIndex: 'categoryName', |
| | | }, |
| | | { |
| | | title: 'ç»ä¸ç¼ç ', |
| | | align: "center", |
| | | dataIndex: 'equipmentNum', |
| | | }, |
| | | { |
| | | title: '设å¤åç§°', |
| | | align: "center", |
| | | dataIndex: 'equipmentName', |
| | | }, |
| | | { |
| | | title: 'åå·', |
| | | align: "center", |
| | | dataIndex: 'equipmentModel', |
| | | }, |
| | | { |
| | | title: '使ç¨é¨é¨', |
| | | align: "center", |
| | | dataIndex: 'departName', |
| | | }, |
| | | { |
| | | title: 'ABCæ è¯', |
| | | align: "center", |
| | | dataIndex: 'abc', |
| | | }, |
| | | { |
| | | title: 'å
³é®è®¾å¤æ è¯', |
| | | align: "center", |
| | | dataIndex: 'specificEquipment', |
| | | }, |
| | | { |
| | | title: 'ææ¯ç¶æ', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus', |
| | | }, |
| | | { |
| | | title: 'ææ ç²¾åº¦', |
| | | align: "center", |
| | | dataIndex: 'yseNoPrecisionParameters', |
| | | scopedSlots: { customRender: 'yseNoPrecisionParameters' } |
| | | }, |
| | | { |
| | | title: 'ææ æ¥ä¿æ å', |
| | | align: "center", |
| | | dataIndex: 'yseNoInspectionStandard', |
| | | scopedSlots: { customRender: 'yseNoInspectionStandard' } |
| | | }, |
| | | { |
| | | title: 'ææ äºä¿æ å', |
| | | align: "center", |
| | | dataIndex: 'yseNoMaintenance2Standard', |
| | | scopedSlots: { customRender: 'yseNoMaintenance2Standard' } |
| | | }, |
| | | { |
| | | title: 'ææ ä¸ä¿æ å', |
| | | align: "center", |
| | | dataIndex: 'yseNoMaintenance3Standard', |
| | | scopedSlots: { customRender: 'yseNoMaintenance3Standard' } |
| | | }, |
| | | // { |
| | | // title: 'æä½', |
| | | // align: "center", |
| | | // dataIndex: 'action', |
| | | // scopedSlots: { |
| | | // customRender: 'action', |
| | | // }, |
| | | // width: 147, |
| | | // fixed: 'right', |
| | | // }, |
| | | ], |
| | | url: { |
| | | list: "/eam/equipment/getEquipmentListAllStandard", |
| | | loadOptions: '/sys/sysDepart/loadDepartTreeOptions', |
| | | }, |
| | | dictOptions: { |
| | | }, |
| | | /* å页忰 */ |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 20, |
| | | pageSizeOptions: ['5', '10', '20', '50'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + "-" + range[1] + " å
±" + total + "æ¡" |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | selectedMainId: '', |
| | | // superFieldList: [], |
| | | equipmentProcessParametersMainId: '', |
| | | equipmentDocumentMainId: '', |
| | | equipmentPrecisionParametersMainId: '', |
| | | precisionParametersTemplateId: '', |
| | | isOpenPrecision: true, |
| | | isOpenProcess: true, |
| | | treeData: [], |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 5 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 16 }, |
| | | }, |
| | | mainId: '', |
| | | } |
| | | }, |
| | | created() { |
| | | // this.getSuperFieldList(); |
| | | this.initOptions(); |
| | | }, |
| | | computed: { |
| | | importExcelUrl: function () { |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | } |
| | | }, |
| | | methods: { |
| | | initDictConfig() { |
| | | }, |
| | | clickThenSelect(record) { |
| | | return { |
| | | on: { |
| | | click: () => { |
| | | this.onSelectChange(record.id.split(","), [record]); |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | onClearSelected() { |
| | | this.selectedRowKeys = []; |
| | | this.selectionRows = []; |
| | | this.selectedMainId = '' |
| | | }, |
| | | onSelectChange(selectedRowKeys, selectionRows) { |
| | | if (selectedRowKeys.length == 1) { |
| | | this.selectedMainId = selectedRowKeys[0] |
| | | this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId; |
| | | // this.isOpenProcess = selectionRows[0].processParameters == 1; |
| | | this.isOpenPrecision = selectionRows[0].precisionParameters == 1; |
| | | } else { |
| | | this.selectedMainId = '' |
| | | this.precisionParametersTemplateId = '' |
| | | } |
| | | this.selectedRowKeys = selectedRowKeys; |
| | | this.selectionRows = selectionRows; |
| | | }, |
| | | loadData(arg) { |
| | | if (!this.url.list) { |
| | | this.$message.error("请设置url.list屿§!") |
| | | return |
| | | } |
| | | //å è½½æ°æ® è¥ä¼ å
¥åæ°1åå 载第ä¸é¡µçå
容 |
| | | if (arg === 1) { |
| | | this.ipagination.current = 1; |
| | | } |
| | | this.onClearSelected() |
| | | var params = this.getQueryParams();//æ¥è¯¢æ¡ä»¶ |
| | | this.loading = true; |
| | | getAction(this.url.list, params).then((res) => { |
| | | if (res.success) { |
| | | this.dataSource = res.result.records; |
| | | this.ipagination.total = res.result.total; |
| | | } |
| | | if (res.code === 510) { |
| | | this.$message.warning(res.message) |
| | | } |
| | | this.loading = false; |
| | | }) |
| | | }, |
| | | // getSuperFieldList() { |
| | | // let fieldList = []; |
| | | // fieldList.push({ type: 'string', value: 'num', text: 'ç»ä¸ç¼ç ', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'name', text: '设å¤åç§°', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'model', text: 'åå·', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'specification', text: 'è§æ ¼', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentStatus', text: '设å¤ç¶æ', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'technologyStatus', text: 'technologyStatus', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'assetNumber', text: 'assetNumber', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentCategoryId', text: 'equipmentCategoryId', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'specificEquipment', text: 'specificEquipment', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentPhoto', text: 'equipmentPhoto', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'constructorId', text: 'èµäº§å¶é å', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'supplierId', text: 'supplierId', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'factoryNumber', text: 'factoryNumber', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'leaveFactoryDate', text: 'åºåæ¥æ', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'acceptanceCheckDate', text: 'éªæ¶æ¥æ', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'affiliationId', text: 'affiliationId', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'manageId', text: 'ç»´æ¤é¨é¨ID', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'manager', text: 'manager', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'useId', text: '使ç¨é¨é¨ID', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'functionary', text: 'functionary', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'location', text: 'location', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentImportanceId', text: 'ABCæ è¯ID', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'processParameters', text: 'processParameters', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'processParametersTemplateId', text: 'processParametersTemplateId', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'precisionParameters', text: 'precisionParameters', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'precisionParametersTemplateId', text: 'precisionParametersTemplateId', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'verification', text: 'verification', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'verificationPeriod', text: 'verificationPeriod', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'lastVerificationDate', text: 'lastVerificationDate', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'nextVerificationDate', text: 'nextVerificationDate', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'status', text: 'status', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'remark', text: 'remark', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentUda1', text: 'å·¥åº', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentUda2', text: 'å®è£
ä½ç½®', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentUda3', text: 'éé', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentUda4', text: 'éé计éåä½ID', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'equipmentUda5', text: 'åè½ä½ç½®', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'tenantId', text: 'tenantId', dictCode: '' }) |
| | | // fieldList.push({ type: 'int', value: 'delFlag', text: 'delFlag', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'teamId', text: 'ç»´ä¿®çç»ID', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'sourceId', text: 'sourceId', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'fundSource', text: 'èµéæ¥æº', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'factoryNo', text: 'åºåç¼å·', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'mfr', text: 'å¶é å', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'sourceCountry', text: 'èµäº§æ¥æºå½å®¶', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'gpo', text: 'æ»åç', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'keyEquipmentIdentification', text: 'å
³é®è®¾å¤æ è¯', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'securityConfiguration', text: 'å®å
¨é
ç½®', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'coolingSystem', text: 'å·å´ç³»ç»', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'fireExtinguisher', text: 'çç«å¨', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'fireExtinguisherValidityPeriod', text: 'çç«å¨æææ', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'operatingSystem', text: 'æä½ç³»ç»', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'system', text: 'ç³»ç»', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'port', text: '端å£', dictCode: '' }) |
| | | // fieldList.push({ type: 'BigDecimal', value: 'coordinateNum', text: 'åæ æ°é', dictCode: '' }) |
| | | // fieldList.push({ type: 'string', value: 'projectApprovalNo', text: 'ç«é¡¹å¡å·', dictCode: '' }) |
| | | // this.superFieldList = fieldList |
| | | // }, |
| | | initOptions() { |
| | | getAction(this.url.loadOptions).then(res => { |
| | | if (res.success) { |
| | | this.treeData = res.result |
| | | } else { |
| | | this.$message.warning(res.message) |
| | | } |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |