linwei
2024-01-16 6131772a952245f065f6d6bba272ce8dec1f5511
Merge remote-tracking branch 'origin/master'
7 files modified
1 files added
105 ■■■■ changed files
package-lock.json 23 ●●●●● patch | view | raw | blame | history
package.json 1 ●●●● patch | view | raw | blame | history
sh.exe.stackdump 11 ●●●●● patch | view | raw | blame | history
src/views/cGovernance/gridWorkLog.vue 5 ●●●● patch | view | raw | blame | history
src/views/resource/distapch.vue 41 ●●●●● patch | view | raw | blame | history
src/views/userHouse/houseHoldList.vue 9 ●●●●● patch | view | raw | blame | history
src/views/userHouse/houseList.vue 11 ●●●●● patch | view | raw | blame | history
vue.config.js 4 ●●●● patch | view | raw | blame | history
package-lock.json
@@ -25,6 +25,7 @@
        "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"
@@ -15587,6 +15588,17 @@
        "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",
@@ -29741,6 +29753,17 @@
      "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",
package.json
@@ -28,6 +28,7 @@
    "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"
sh.exe.stackdump
New file
@@ -0,0 +1,11 @@
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
src/views/cGovernance/gridWorkLog.vue
@@ -468,6 +468,7 @@
            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(",")
@@ -476,7 +477,7 @@
                        })
                        this.form.url = urls.join(",")
                    }
                    }
                    getPersonPublicSelect({
                        id: this.form.householdId
                    }).then(res => {
@@ -517,6 +518,7 @@
                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(",")
@@ -525,6 +527,7 @@
                        })
                        item.url = urls.join(",")
                    }
                    }
                })
                this.loading = false
                this.selectionClear()
src/views/resource/distapch.vue
@@ -26,11 +26,34 @@
            <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>
@@ -38,14 +61,18 @@
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,
@@ -227,7 +254,8 @@
              },
              {
                label: 'Cron',
                prop: ''
                prop: 'cron',
                formslot:true,
              }
            ]
          }, 
@@ -236,12 +264,12 @@
            prop: 'jbxx',
            column: [
              {
                label: '调度类型',
                label: '运行模式',
                prop: '',
                type: 'select',
              },
              {
                label: 'Cron',
                label: 'JobHandler',
                prop: ''
              },
              {
@@ -353,6 +381,11 @@
        }
    },
    methods: {
        changeCron(val){
             console.log("===>",val);
        },
        rowSave (row, done, loading) {
            add(row).then(() => {
                this.onLoad(this.page)
src/views/userHouse/houseHoldList.vue
@@ -695,13 +695,16 @@
              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,
src/views/userHouse/houseList.vue
@@ -162,16 +162,19 @@
                    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,
vue.config.js
@@ -26,9 +26,9 @@
    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',