diff --git a/src/loveflow/components/data/imageView.vue b/src/loveflow/components/data/imageView.vue new file mode 100644 index 0000000..3becb49 --- /dev/null +++ b/src/loveflow/components/data/imageView.vue @@ -0,0 +1,44 @@ + + + diff --git a/src/loveflow/components/modal/formDialog.vue b/src/loveflow/components/modal/formDialog.vue index 725ea22..6f9535c 100644 --- a/src/loveflow/components/modal/formDialog.vue +++ b/src/loveflow/components/modal/formDialog.vue @@ -5,6 +5,7 @@ :width="width" :before-close="handleClose" :close-on-click-modal="false" + :class="{ pageNoAllowOpt: formDisabled }" > 取消 - 确定 关闭 @@ -269,4 +273,20 @@ export default { } } } +.pageNoAllowOpt { + .el-textarea, + .el-select, + .el-input, + .el-btn, + .el-calendar, + .el-calendar-picker, + .el-checkbox-input, + .el-checkbox, + .el-checkbox-wrapper, + .el-input-number { + cursor: not-allowed; + -ms-pointer-events: none; + pointer-events: none; + } +} diff --git a/src/main.js b/src/main.js index 0e5a3e1..3355365 100644 --- a/src/main.js +++ b/src/main.js @@ -1,57 +1,57 @@ -import Vue from 'vue' -import App from './App.vue' -import ElementUI from 'element-ui'; -import HighchartsVue from 'highcharts-vue' -import highcharts from 'highcharts' -import highcharts3d from 'highcharts/highcharts-3d' -import 'element-ui/lib/theme-chalk/index.css'; -import router from './router' -import store from './store' -import Message from './components/message'; +import Vue from "vue"; +import App from "./App.vue"; +import ElementUI from "element-ui"; +import HighchartsVue from "highcharts-vue"; +import highcharts from "highcharts"; +import highcharts3d from "highcharts/highcharts-3d"; +import "element-ui/lib/theme-chalk/index.css"; +import router from "./router"; +import store from "./store"; +import Message from "./components/message"; import erupload from "./components/upload"; -import lkyTable from "./components/publicModule/lkyTable" // 本组件样式包含普通表格、分页 -import lkyPagination from "./components/publicModule/lkyPagination" // 本组件单独抽离分页样式 - -import "@/loveflow/assets/index.less" -import "@/loveflow/assets/reset.less" -import "@/loveflow/assets/reset.scss" -import * as cusRule from '@/loveflow/rules' -import { registerPlugins } from '@/loveflow/plugins/index' -import FormDialog from '@/loveflow/components/modal/formDialog.vue' -import gMainTable from '@/loveflow/components/data/table.vue' -import gScreenTable from '@/loveflow/components/data/screenTable.vue' -import gDict from '@/loveflow/components/data/dict.vue' -import gTab from '@/loveflow/components/data/tabWrap.vue' -import gChart from '@/loveflow/components/echart/chart.vue' +import lkyTable from "./components/publicModule/lkyTable"; // 本组件样式包含普通表格、分页 +import lkyPagination from "./components/publicModule/lkyPagination"; // 本组件单独抽离分页样式 + +import "@/loveflow/assets/index.less"; +import "@/loveflow/assets/reset.less"; +import "@/loveflow/assets/reset.scss"; +import * as cusRule from "@/loveflow/rules"; +import { registerPlugins } from "@/loveflow/plugins/index"; +import FormDialog from "@/loveflow/components/modal/formDialog.vue"; +import gMainTable from "@/loveflow/components/data/table.vue"; +import gScreenTable from "@/loveflow/components/data/screenTable.vue"; +import gDict from "@/loveflow/components/data/dict.vue"; +import gTab from "@/loveflow/components/data/tabWrap.vue"; +import gChart from "@/loveflow/components/echart/chart.vue"; +import gImageView from "@/loveflow/components/data/imageView.vue"; import * as echarts from "echarts"; Vue.prototype.$echarts = echarts; -highcharts3d(highcharts) +highcharts3d(highcharts); -Vue.prototype.$rules = cusRule -registerPlugins(Vue) +Vue.prototype.$rules = cusRule; +registerPlugins(Vue); Vue.use(ElementUI); Vue.use(Message); -Vue.use(HighchartsVue) -Vue.component('erupload', erupload) -Vue.component('lkyTable', lkyTable) -Vue.component('lkyPagination',lkyPagination) -Vue.component('FormDialog', FormDialog) -Vue.component('gMainTable', gMainTable) -Vue.component('gScreenTable', gScreenTable) -Vue.component('gDict', gDict) -Vue.component('gTab', gTab) -Vue.component('gChart', gChart) +Vue.use(HighchartsVue); +Vue.component("erupload", erupload); +Vue.component("lkyTable", lkyTable); +Vue.component("lkyPagination", lkyPagination); +Vue.component("FormDialog", FormDialog); +Vue.component("gMainTable", gMainTable); +Vue.component("gScreenTable", gScreenTable); +Vue.component("gDict", gDict); +Vue.component("gTab", gTab); +Vue.component("gChart", gChart); +Vue.component("gImageView", gImageView); const vm = new Vue({ - el: '#app', + el: "#app", router, store, - render: h => h(App) -}).$mount('#app') - - + render: (h) => h(App), +}).$mount("#app"); -export default vm +export default vm; diff --git a/src/views/applySupermarket/businessConsulting/index.vue b/src/views/applySupermarket/businessConsulting/index.vue index 87a9dab..3b72f25 100644 --- a/src/views/applySupermarket/businessConsulting/index.vue +++ b/src/views/applySupermarket/businessConsulting/index.vue @@ -56,7 +56,7 @@ v-if="item.auditState == '1'" @click="examine(item)" > - 审核 + 回复
详情
@@ -130,10 +130,10 @@ export default { }, methods: { checkDetail(obj) { - this.$refs.formDialog.openDialog("detail", obj); + this.$refs.formDialog.openDialog("detail", obj, "业务咨询详情"); }, examine(obj) { - this.$refs.formDialog.openDialog("other", obj, "业务咨询审核"); + this.$refs.formDialog.openDialog("other", obj, "业务咨询回复"); }, reset() { this.queryParam = {}; diff --git a/src/views/applySupermarket/keyPerson/components/detailDialog.vue b/src/views/applySupermarket/keyPerson/components/detailDialog.vue index b1e01ac..303b5c3 100644 --- a/src/views/applySupermarket/keyPerson/components/detailDialog.vue +++ b/src/views/applySupermarket/keyPerson/components/detailDialog.vue @@ -49,13 +49,7 @@ diff --git a/src/views/applySupermarket/keyPerson/components/examineDialog.vue b/src/views/applySupermarket/keyPerson/components/examineDialog.vue index c45747b..3a06add 100644 --- a/src/views/applySupermarket/keyPerson/components/examineDialog.vue +++ b/src/views/applySupermarket/keyPerson/components/examineDialog.vue @@ -35,13 +35,7 @@ rowKey="id" > diff --git a/src/views/applySupermarket/personBack/components/examineDialog.vue b/src/views/applySupermarket/personBack/components/examineDialog.vue index defd1e4..7fec67d 100644 --- a/src/views/applySupermarket/personBack/components/examineDialog.vue +++ b/src/views/applySupermarket/personBack/components/examineDialog.vue @@ -35,13 +35,14 @@ rowKey="id" >