|
@@ -70,18 +70,18 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import exhibitionBaseInformation from "@/components/old-adm/ledger/details/detail/exhibitionBaseInformation";
|
|
|
-import exhibitionFile from "@/components/old-adm/ledger/details/detail/exhibitionFile";
|
|
|
-import exhibitionImage from "@/components/old-adm/ledger/details/detail/exhibitionImage";
|
|
|
-import exhibitionVideo from "@/components/old-adm/ledger/details/detail/exhibitionVideo";
|
|
|
-import exhibitionCrux from "@/components/old-adm/ledger/details/detail/exhibitionCrux";
|
|
|
-import exhibitionEnergy from "@/components/old-adm/ledger/details/detail/exhibitionEnergy";
|
|
|
-import exhibitionMaintain from "@/components/old-adm/ledger/details/detail/exhibitionMaintain";
|
|
|
-import selectRadio from "@/components/old-adm/ledger/details/detail/selectRadio";
|
|
|
+import exhibitionBaseInformation from "@/components/old-adm/ledger/components/details/detail/exhibitionBaseInformation";
|
|
|
+import exhibitionFile from "@/components/old-adm/ledger/components/details/detail/exhibitionFile";
|
|
|
+import exhibitionImage from "@/components/old-adm/ledger/components/details/detail/exhibitionImage";
|
|
|
+import exhibitionVideo from "@/components/old-adm/ledger/components/details/detail/exhibitionVideo";
|
|
|
+import exhibitionCrux from "@/components/old-adm/ledger/components/details/detail/exhibitionCrux";
|
|
|
+import exhibitionEnergy from "@/components/old-adm/ledger/components/details/detail/exhibitionEnergy";
|
|
|
+import exhibitionMaintain from "@/components/old-adm/ledger/components/details/detail/exhibitionMaintain";
|
|
|
+import selectRadio from "@/components/old-adm/ledger/components/details/detail/selectRadio";
|
|
|
import tools from "@/utils/old-adm/scan/tools"
|
|
|
-import {BeatchQueryParam} from "@/api/scan/request";
|
|
|
-import {getDataDictionary} from "@/api/dict";
|
|
|
-import {queryEquip} from "@/api/object/equip"
|
|
|
+import ScanController from "@/controller/old-adm/ScanController";
|
|
|
+import Dic from "@/controller/old-adm/dicController";
|
|
|
+import EquipController from "@/controller/old-adm/equipController";
|
|
|
import {mapGetters} from "vuex";
|
|
|
|
|
|
export default {
|
|
@@ -191,12 +191,12 @@ export default {
|
|
|
filters: `id='${this.id}'`,
|
|
|
};
|
|
|
let promise1 = new Promise((resolve, reject) => {
|
|
|
- getDataDictionary(params1, res => {
|
|
|
+ Dic.getDataDictionary(params1, res => {
|
|
|
resolve(res)
|
|
|
})
|
|
|
})
|
|
|
let promise2 = new Promise((resolve, reject) => {
|
|
|
- queryEquip(params2, res => {
|
|
|
+ EquipController.queryEquip(params2).then(res => {
|
|
|
resolve(res)
|
|
|
})
|
|
|
})
|
|
@@ -239,7 +239,7 @@ export default {
|
|
|
}
|
|
|
params.data = this.criterias
|
|
|
if (this.criterias.length) {
|
|
|
- BeatchQueryParam(params, res => {
|
|
|
+ ScanController.BeatchQueryParam(params, res => {
|
|
|
this.criteriasArray = res.data;
|
|
|
res.data.length && res.data.map(child => {
|
|
|
this.pointData.map(head => {
|