xiejun
2023-12-01 93c7226d536d312fc083a57619629192ba076413
Source/UBCS-WEB/src/views/monitor/log/operateLog.vue
@@ -14,6 +14,11 @@
               @size-change="sizeChange"
               @refresh-change="refreshChange"
               @on-load="onLoad">
    <template slot="description" slot-scope="scope">
      <avue-text-ellipsis :text="scope.row.description" :height="50">
        <small slot="more">...</small>
      </avue-text-ellipsis>
    </template>
    </avue-crud>
  </basic-container>
</template>
@@ -89,7 +94,10 @@
            {
              label: "描述",
              prop: "description",
              width:'300'
              span: 24,
              minRows: 20,
              type: "textarea",
              slot: true,
            },
          ]
        },
@@ -130,14 +138,6 @@
      },
      underscoreName(key) {
        return key.replace(/([A-Z])/g, "_$1").toLowerCase();
      },
      beforeOpen(done, type) {
        if (["edit", "view"].includes(type)) {
          getUsualLogs(this.form.id).then(res => {
            this.form = res.data.data;
          });
        }
        done();
      },
      currentChange(currentPage){
        this.page.currentPage = currentPage;