diff --git a/src/api/cdc/collect.js b/src/api/cdc/collect.js new file mode 100644 index 0000000..86b209d --- /dev/null +++ b/src/api/cdc/collect.js @@ -0,0 +1,20 @@ +import {createAPI} from "../../utils/httpRequest"; + +export const selectCollectList = (data)=>createAPI(`/collect/info/list`,'post',data) + +export const saveCollect = (data)=>createAPI(`/collect/info/save`,'post',data) + +export const removeCollect = (data)=>createAPI(`/collect/info/remove`,'post',data) + +export const editCollect = (data)=>createAPI(`/collect/info/edit`,'post',data) +export const selectCollectListDetail = (data)=>createAPI(`/collect/detail/list`,'post',data) + +export const saveCollectDetail = (data)=>createAPI(`/collect/detail/save`,'post',data) + +export const removeCollectDetail = (data)=>createAPI(`/collect/detail/remove`,'post',data) + +export const editCollectDetail = (data)=>createAPI(`/collect/detail/edit`,'post',data) + +export const selectCollectRecordList = (data)=>createAPI(`/collect/record/list`,'post',data) +export const selectCollectHistoryList = (data)=>createAPI(`/collect/history/list`,'post',data) +export const selectCollectHistoryDetailList = (data)=>createAPI(`/collect/history/detail/list`,'post',data) diff --git a/src/api/cdc/device.js b/src/api/cdc/device.js new file mode 100644 index 0000000..b07d95d --- /dev/null +++ b/src/api/cdc/device.js @@ -0,0 +1,9 @@ +import {createAPI} from "../../utils/httpRequest"; + +export const selectDeviceList = (data)=>createAPI(`/device/info/list`,'post',data) + +export const saveDevice = (data)=>createAPI(`/device/info/save`,'post',data) + +export const removeDevice = (data)=>createAPI(`/device/info/remove`,'post',data) + +export const editDevice = (data)=>createAPI(`/device/info/edit`,'post',data) diff --git a/src/main.js b/src/main.js index c79fddc..a7a47d1 100644 --- a/src/main.js +++ b/src/main.js @@ -21,6 +21,7 @@ import getLodop from '@/utils/LodopFuncs.js' import pdf from 'vue-pdf' import { debounce,throttle} from '@/utils/common.js' import selectDiv from '@/views/common/selectDiv.vue' +import {resetForm} from "./utils/system"; Vue.component('downloadExcel', JsonExcel) Vue.component('pdf', pdf) @@ -34,6 +35,7 @@ if (process.env.NODE_ENV !== 'production') { } // 挂载全局 +Vue.prototype.resetForm = resetForm Vue.prototype.$http = httpRequest // ajax请求方法 Vue.prototype.isAuth = isAuth // 权限方法 Vue.prototype.accessField = accessField // 权限方法 diff --git a/src/utils/system.js b/src/utils/system.js new file mode 100644 index 0000000..9bdfa3e --- /dev/null +++ b/src/utils/system.js @@ -0,0 +1,6 @@ +// 表单重置 +export function resetForm(refName) { + if (this.$refs[refName]) { + this.$refs[refName].resetFields(); + } +} diff --git a/src/views/modules/cdc/collect.vue b/src/views/modules/cdc/collect.vue new file mode 100644 index 0000000..316a5c1 --- /dev/null +++ b/src/views/modules/cdc/collect.vue @@ -0,0 +1,725 @@ + + + + + diff --git a/src/views/modules/cdc/collect/collectError.vue b/src/views/modules/cdc/collect/collectError.vue new file mode 100644 index 0000000..99f3505 --- /dev/null +++ b/src/views/modules/cdc/collect/collectError.vue @@ -0,0 +1,303 @@ + + + + + diff --git a/src/views/modules/cdc/collectHistory.vue b/src/views/modules/cdc/collectHistory.vue new file mode 100644 index 0000000..fcbf5b1 --- /dev/null +++ b/src/views/modules/cdc/collectHistory.vue @@ -0,0 +1,334 @@ + + + + + diff --git a/src/views/modules/cdc/collectRecord.vue b/src/views/modules/cdc/collectRecord.vue new file mode 100644 index 0000000..6439567 --- /dev/null +++ b/src/views/modules/cdc/collectRecord.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/modules/cdc/device.vue b/src/views/modules/cdc/device.vue new file mode 100644 index 0000000..6ddabe6 --- /dev/null +++ b/src/views/modules/cdc/device.vue @@ -0,0 +1,425 @@ + + + + + diff --git a/src/views/modules/quotation/sellForQuotation/customerContact.vue b/src/views/modules/quotation/sellForQuotation/customerContact.vue new file mode 100644 index 0000000..fd8a1c7 --- /dev/null +++ b/src/views/modules/quotation/sellForQuotation/customerContact.vue @@ -0,0 +1,299 @@ + + + diff --git a/src/views/modules/quotation/sellForQuotation/customerInfo.vue b/src/views/modules/quotation/sellForQuotation/customerInfo.vue new file mode 100644 index 0000000..555233e --- /dev/null +++ b/src/views/modules/quotation/sellForQuotation/customerInfo.vue @@ -0,0 +1,168 @@ + + + +