Merge remote-tracking branch 'origin/master'
7 files modified
1 files added
| | |
| | | "script-loader": "^0.7.2", |
| | | "vue": "^2.6.10", |
| | | "vue-axios": "^2.1.2", |
| | | "vue-cron": "^1.0.9", |
| | | "vue-i18n": "^8.7.0", |
| | | "vue-router": "^3.0.1", |
| | | "vuex": "^3.1.1" |
| | |
| | | "vue": ">= 1.0.0" |
| | | } |
| | | }, |
| | | "node_modules/vue-cron": { |
| | | "version": "1.0.9", |
| | | "resolved": "https://registry.npmjs.org/vue-cron/-/vue-cron-1.0.9.tgz", |
| | | "integrity": "sha512-r8JnAjqpDsDj3a545156m7bca1xkrnIktks+N94KQA80OuKAiqhoz3Cq1JCyO+0ONXAOnLwvkjHiVCfL38XNbA==", |
| | | "dependencies": { |
| | | "babel-polyfill": "^6.26.0", |
| | | "babel-runtime": "^6.26.0", |
| | | "element-ui": "^2.0.7", |
| | | "vue": "^2.5.9" |
| | | } |
| | | }, |
| | | "node_modules/vue-eslint-parser": { |
| | | "version": "2.0.3", |
| | | "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", |
| | |
| | | "integrity": "sha512-th5xVbInVoyIoe+qY+9GCflEVezxAvztD4xpFF39SRQYqpoKD2qkmX8yv08jJG9a2SgNOCjirjJGSwg/wTrbmA==", |
| | | "requires": {} |
| | | }, |
| | | "vue-cron": { |
| | | "version": "1.0.9", |
| | | "resolved": "https://registry.npmjs.org/vue-cron/-/vue-cron-1.0.9.tgz", |
| | | "integrity": "sha512-r8JnAjqpDsDj3a545156m7bca1xkrnIktks+N94KQA80OuKAiqhoz3Cq1JCyO+0ONXAOnLwvkjHiVCfL38XNbA==", |
| | | "requires": { |
| | | "babel-polyfill": "^6.26.0", |
| | | "babel-runtime": "^6.26.0", |
| | | "element-ui": "^2.0.7", |
| | | "vue": "^2.5.9" |
| | | } |
| | | }, |
| | | "vue-eslint-parser": { |
| | | "version": "2.0.3", |
| | | "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", |
| | |
| | | "script-loader": "^0.7.2", |
| | | "vue": "^2.6.10", |
| | | "vue-axios": "^2.1.2", |
| | | "vue-cron": "^1.0.9", |
| | | "vue-i18n": "^8.7.0", |
| | | "vue-router": "^3.0.1", |
| | | "vuex": "^3.1.1" |
| New file |
| | |
| | | Stack trace: |
| | | Frame Function Args |
| | | 000FFFFB540 00180064365 (00180275F10, 00180266FD1, 000FFFFCA60, 000FFFFBA20) |
| | | 000FFFFBA70 001800499D2 (00100002000, 0018034EB10, 00000000001, 00000000150) |
| | | 000FFFFCA80 00180049A11 (00000000001, 0018034EE20, 000FFFFCA60, 00000000008) |
| | | 000FFFFCB10 0018005CFCD (00000000000, 000FFFFCC40, 001800DC3EF, 00000000000) |
| | | 000FFFFCBF0 0018005D12B (000FFFFCDF0, 00000000000, FFFFFFFFFFFFFFD7, 00000000000) |
| | | 000FFFFCCE0 0018004A1A8 (00000000000, 00000000000, 00000000000, 00000000000) |
| | | 000FFFFCDA0 00180048A2A (00000000000, 00000000000, 00000000000, 00000000000) |
| | | 000FFFFCE50 00180048AEC (00000000000, 00000000000, 00000000000, 00000000000) |
| | | End of stack trace |
| | |
| | | if (["edit", "view"].includes(type)) { |
| | | getGridWorkLog(this.form.id).then((res) => { |
| | | this.form = res.data.data |
| | | if (this.form.url) { |
| | | if (this.form.url.length > 0) { |
| | | var urls = [] |
| | | var names = this.form.url.split(",") |
| | |
| | | }) |
| | | this.form.url = urls.join(",") |
| | | } |
| | | |
| | | } |
| | | getPersonPublicSelect({ |
| | | id: this.form.householdId |
| | | }).then(res => { |
| | |
| | | this.page.total = data.total |
| | | this.data = data.records |
| | | this.data.forEach(item => { |
| | | if (item.url) { |
| | | if (item.url.length > 0) { |
| | | var urls = [] |
| | | var names = item.url.split(",") |
| | |
| | | }) |
| | | item.url = urls.join(",") |
| | | } |
| | | } |
| | | }) |
| | | this.loading = false |
| | | this.selectionClear() |
| | |
| | | <template slot-scope="{row, size}" slot="category"> |
| | | <el-tag :size="size">{{ row.categoryName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row, size}" slot="category"> |
| | | <el-tag :size="size">{{ row.categoryName }}</el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{type,disabled}" slot="cronForm"> |
| | | <el-input placeholder="请选择cron"> |
| | | <el-button slot="append" icon="el-icon-s-tools" @click="cronPopover = true"></el-button> |
| | | </el-input> |
| | | </template> |
| | | |
| | | |
| | | </avue-crud> |
| | | |
| | | <el-dialog title="对象存储上传调试" append-to-body :visible.sync="box" width="550px"> |
| | | <avue-form ref="form" :option="debugOption" v-model="debugForm" @submit="handleSubmit" /> |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-popover v-model="cronPopover"> |
| | | <vueCron @change="changeCron" @close="cronPopover=false" i18n="cn"/> |
| | | <!-- <el-input |
| | | slot="reference" |
| | | v-model="ruleForm.execTime" |
| | | placeholder="定时策略" |
| | | @click="cronPopover=true" |
| | | /> --> |
| | | </el-popover> |
| | | |
| | | </basic-container> |
| | | </template> |
| | | |
| | |
| | | import { getList, getDetail, add, update, remove, enable } from "@/api/resource/oss" |
| | | import { mapGetters } from "vuex" |
| | | import func from "@/util/func" |
| | | |
| | | import vueCron from 'vue-cron' |
| | | export default { |
| | | components:{ |
| | | vueCron |
| | | }, |
| | | data () { |
| | | return { |
| | | form: {}, |
| | | query: {}, |
| | | loading: true, |
| | | box: false, |
| | | cronPopover:false, |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | |
| | | }, |
| | | { |
| | | label: 'Cron', |
| | | prop: '' |
| | | prop: 'cron', |
| | | formslot:true, |
| | | } |
| | | ] |
| | | }, |
| | |
| | | prop: 'jbxx', |
| | | column: [ |
| | | { |
| | | label: '调度类型', |
| | | label: '运行模式', |
| | | prop: '', |
| | | type: 'select', |
| | | }, |
| | | { |
| | | label: 'Cron', |
| | | label: 'JobHandler', |
| | | prop: '' |
| | | }, |
| | | { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | changeCron(val){ |
| | | console.log("===>",val); |
| | | }, |
| | | |
| | | rowSave (row, done, loading) { |
| | | add(row).then(() => { |
| | | this.onLoad(this.page) |
| | |
| | | value: '#EBEDF0' |
| | | }, { |
| | | label: '绿', |
| | | value: '#30D17C' |
| | | // value: '#30D17C' |
| | | value:'green' |
| | | }, { |
| | | label: '黄', |
| | | value: '#FFB42B' |
| | | // value: '#FFB42B' |
| | | value:'yellow' |
| | | }, { |
| | | label: '红', |
| | | value: '#EA1F1F' |
| | | // value: '#EA1F1F' |
| | | value:'red' |
| | | }], |
| | | rules: [{ |
| | | required: true, |
| | |
| | | row: true, |
| | | dicData: [{ |
| | | label: '撤销', |
| | | value: '#EBEDF0' |
| | | // value: '#EBEDF0' |
| | | }, { |
| | | label: '绿', |
| | | value: '#30D17C' |
| | | // value: '#30D17C' |
| | | value:'green' |
| | | }, { |
| | | label: '黄', |
| | | value: '#FFB42B' |
| | | // value: '#FFB42B' |
| | | value:'yellow' |
| | | }, { |
| | | label: '红', |
| | | value: '#EA1F1F' |
| | | // value: '#EA1F1F' |
| | | value:'red' |
| | | }], |
| | | rules: [{ |
| | | required: true, |
| | |
| | | proxy: { |
| | | "/api": { |
| | | //本地服务接口地址 |
| | | // target: "https://srgdjczzxtpt.com:2080/api", |
| | | target: "https://srgdjczzxtpt.com:2080/api", |
| | | // target: "http://z4042833u6.wicp.vip", |
| | | target: "http://localhost:9528", |
| | | // target: "http://localhost:9528", |
| | | // target:"http://192.168.0.109:9528", |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.cn/api', |