diff --git a/package-lock.json b/package-lock.json index 7ce974b..98fb812 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11394,9 +11394,9 @@ } }, "sortablejs": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.10.1.tgz", - "integrity": "sha512-N6r7GrVmO8RW1rn0cTdvK3JR0BcqecAJ0PmYMCL3ZuqTH3pY+9QyqkmJSkkLyyDvd+AJnwaxTP22Ybr/83V9hQ==" + "version": "1.14.0", + "resolved": "https://registry.nlark.com/sortablejs/download/sortablejs-1.14.0.tgz", + "integrity": "sha1-bS4XzL2yX0ZHNN9iHU811Ks1s9g=" }, "source-list-map": { "version": "2.0.1", diff --git a/package.json b/package.json index b47557d..eb0a836 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "mavon-editor": "^2.6.17", "postcss-px2rem": "^0.3.0", "px2rem-loader": "^0.1.9", + "sortablejs": "^1.14.0", "vue": "^2.6.10", "vue-cropperjs": "^3.0.0", "vue-i18n": "^8.10.0", diff --git a/src/assets/img/cash-sm.png b/src/assets/img/goods/cash-sm.png similarity index 100% rename from src/assets/img/cash-sm.png rename to src/assets/img/goods/cash-sm.png diff --git a/src/assets/img/goods/ckpt.png b/src/assets/img/goods/ckpt.png new file mode 100644 index 0000000..a6247f1 Binary files /dev/null and b/src/assets/img/goods/ckpt.png differ diff --git a/src/assets/img/goods/idcard.png b/src/assets/img/goods/idcard.png new file mode 100644 index 0000000..d4747e5 Binary files /dev/null and b/src/assets/img/goods/idcard.png differ diff --git a/src/assets/img/goods/khsqs.png b/src/assets/img/goods/khsqs.png new file mode 100644 index 0000000..aa32452 Binary files /dev/null and b/src/assets/img/goods/khsqs.png differ diff --git a/src/assets/img/goods/lxqd.png b/src/assets/img/goods/lxqd.png new file mode 100644 index 0000000..b4d75e0 Binary files /dev/null and b/src/assets/img/goods/lxqd.png differ diff --git a/src/assets/img/goods/ptkbpz.png b/src/assets/img/goods/ptkbpz.png new file mode 100644 index 0000000..d7ed8b0 Binary files /dev/null and b/src/assets/img/goods/ptkbpz.png differ diff --git a/src/assets/img/goods/qkpt.png b/src/assets/img/goods/qkpt.png new file mode 100644 index 0000000..50cf45e Binary files /dev/null and b/src/assets/img/goods/qkpt.png differ diff --git a/src/assets/img/goods/xd-zzzp.png b/src/assets/img/goods/xd-zzzp.png new file mode 100644 index 0000000..9ae7ab2 Binary files /dev/null and b/src/assets/img/goods/xd-zzzp.png differ diff --git a/src/assets/img/goods/xjzp.png b/src/assets/img/goods/xjzp.png new file mode 100644 index 0000000..84bd00c Binary files /dev/null and b/src/assets/img/goods/xjzp.png differ diff --git a/src/assets/img/goods/ywsfpz.png b/src/assets/img/goods/ywsfpz.png new file mode 100644 index 0000000..3bf4454 Binary files /dev/null and b/src/assets/img/goods/ywsfpz.png differ diff --git a/src/assets/img/goods/zzpt.png b/src/assets/img/goods/zzpt.png new file mode 100644 index 0000000..ed2f952 Binary files /dev/null and b/src/assets/img/goods/zzpt.png differ diff --git a/src/assets/img/goods/凭证-06.png b/src/assets/img/goods/凭证-06.png new file mode 100644 index 0000000..4a010df Binary files /dev/null and b/src/assets/img/goods/凭证-06.png differ diff --git a/src/assets/img/goods/凭证-07.png b/src/assets/img/goods/凭证-07.png new file mode 100644 index 0000000..28fb8c2 Binary files /dev/null and b/src/assets/img/goods/凭证-07.png differ diff --git a/src/assets/img/goods/凭证-08.png b/src/assets/img/goods/凭证-08.png new file mode 100644 index 0000000..ca164ef Binary files /dev/null and b/src/assets/img/goods/凭证-08.png differ diff --git a/src/assets/img/goods/凭证-09.png b/src/assets/img/goods/凭证-09.png new file mode 100644 index 0000000..a424599 Binary files /dev/null and b/src/assets/img/goods/凭证-09.png differ diff --git a/src/assets/img/goods/凭证-10.png b/src/assets/img/goods/凭证-10.png new file mode 100644 index 0000000..c0ae207 Binary files /dev/null and b/src/assets/img/goods/凭证-10.png differ diff --git a/src/assets/img/goods/凭证-11.png b/src/assets/img/goods/凭证-11.png new file mode 100644 index 0000000..bc7607a Binary files /dev/null and b/src/assets/img/goods/凭证-11.png differ diff --git a/src/assets/img/goods/凭证-15.png b/src/assets/img/goods/凭证-15.png new file mode 100644 index 0000000..e2ba4d5 Binary files /dev/null and b/src/assets/img/goods/凭证-15.png differ diff --git a/src/assets/img/goods/凭证-16.png b/src/assets/img/goods/凭证-16.png new file mode 100644 index 0000000..c93ccb2 Binary files /dev/null and b/src/assets/img/goods/凭证-16.png differ diff --git a/src/assets/img/goods/开户许可证.png b/src/assets/img/goods/开户许可证.png new file mode 100644 index 0000000..8a98766 Binary files /dev/null and b/src/assets/img/goods/开户许可证.png differ diff --git a/src/assets/img/goods/营业执照.png b/src/assets/img/goods/营业执照.png new file mode 100644 index 0000000..64cc127 Binary files /dev/null and b/src/assets/img/goods/营业执照.png differ diff --git a/src/assets/img/goods/身份证背.png b/src/assets/img/goods/身份证背.png new file mode 100644 index 0000000..ccecab7 Binary files /dev/null and b/src/assets/img/goods/身份证背.png differ diff --git a/src/assets/img/seal/Transfer.png b/src/assets/img/seal/Transfer.png new file mode 100644 index 0000000..9c0a5ca Binary files /dev/null and b/src/assets/img/seal/Transfer.png differ diff --git a/src/assets/img/seal/accessory.png b/src/assets/img/seal/accessory.png new file mode 100644 index 0000000..ef1bb07 Binary files /dev/null and b/src/assets/img/seal/accessory.png differ diff --git a/src/assets/img/seal/business.png b/src/assets/img/seal/business.png new file mode 100644 index 0000000..12230f5 Binary files /dev/null and b/src/assets/img/seal/business.png differ diff --git a/src/assets/img/seal/closing.png b/src/assets/img/seal/closing.png new file mode 100644 index 0000000..63bf4f2 Binary files /dev/null and b/src/assets/img/seal/closing.png differ diff --git a/src/assets/img/seal/paid.png b/src/assets/img/seal/paid.png new file mode 100644 index 0000000..31a1266 Binary files /dev/null and b/src/assets/img/seal/paid.png differ diff --git a/src/assets/img/seal/personal.png b/src/assets/img/seal/personal.png new file mode 100644 index 0000000..484a82f Binary files /dev/null and b/src/assets/img/seal/personal.png differ diff --git a/src/assets/img/seal/receipt.png b/src/assets/img/seal/receipt.png new file mode 100644 index 0000000..31a1266 Binary files /dev/null and b/src/assets/img/seal/receipt.png differ diff --git a/src/assets/img/seal/sealed.png b/src/assets/img/seal/sealed.png new file mode 100644 index 0000000..15985ea Binary files /dev/null and b/src/assets/img/seal/sealed.png differ diff --git a/src/assets/img/tooltip/data.png b/src/assets/img/tooltip/data.png new file mode 100644 index 0000000..91b8410 Binary files /dev/null and b/src/assets/img/tooltip/data.png differ diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 10856e3..d0cf833 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -150,7 +150,9 @@ export default { createTime: "", //开始时间 actEndTime: "", //倒计时结束时间 projectId: "", //选中后绑定的对象 - value: [], + value: [ + {projectName:'项目1',projectId:1} + ], experimentalGoal: "", //实验目标 caseDescription: "", //案例描述 experimentSuggests: "", //实验提示 diff --git a/src/main.js b/src/main.js index 5a63a36..785564f 100644 --- a/src/main.js +++ b/src/main.js @@ -18,6 +18,27 @@ import permission from '@/router/permission'; import plugins from '@/plugins'; import filters from '@/plugins/filters' +Vue.directive('focus', {/* 聚焦事件 */ + inserted: function (el, binding) { + if (el.parentNode.querySelector('input').disabled === false) { + el.parentNode.querySelector('input').focus() + } + } +}) +Vue.directive('throttle', {/* 节流 */ + inserted: function (el, binding) { + el.addEventListener('click', () => { + if (!el.disabled) { + el.disabled = true + setTimeout(() => { + el.disabled = false + }, binding.value || 3000) + } + }) + } +}); + + Vue.use(plugins); Object.keys(filters).forEach(item => Vue.filter(item,filters[item])) @@ -43,3 +64,4 @@ new Vue({ store, render: h => h(App) }).$mount('#app'); + diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index d8afced..d6f38a9 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -1,7 +1,7 @@