瀏覽代碼

Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power

baiyanting 1 年之前
父節點
當前提交
f537b86401
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 2 2
      src/components/alarm/index.vue
  2. 4 2
      src/components/qushi/qushiDialog.vue

+ 2 - 2
src/components/alarm/index.vue

@@ -22,7 +22,7 @@
             sortable
             sortable
             :prop="item.code"
             :prop="item.code"
             :label="item.title"
             :label="item.title"
-            align="center"
+            :align="item.code == 'description' ? 'left' : 'center'"
             :width="item.width"
             :width="item.width"
           >
           >
             <template #default="{ row }">
             <template #default="{ row }">
@@ -116,7 +116,7 @@ export default {
         pageNum: this.page.currentPage,
         pageNum: this.page.currentPage,
         pageSize: this.page.pagesize,
         pageSize: this.page.pagesize,
         description: "",
         description: "",
-        isclose:false
+        isclose: false,
       }).then(({ data }) => {
       }).then(({ data }) => {
         this.BASE.closeLoading();
         this.BASE.closeLoading();
         if (data.records.length) {
         if (data.records.length) {

+ 4 - 2
src/components/qushi/qushiDialog.vue

@@ -133,7 +133,9 @@
           stripe
           stripe
         >
         >
           <el-table-column
           <el-table-column
-            align="center"
+            :align="
+              item.code == 'tagName' || item.code == 'name' ? 'left' : 'center'
+            "
             v-for="item in tableHeader"
             v-for="item in tableHeader"
             :key="item.code"
             :key="item.code"
             :prop="item.code"
             :prop="item.code"
@@ -196,7 +198,7 @@
           <el-table-column
           <el-table-column
             prop="tagName"
             prop="tagName"
             label="指标名称"
             label="指标名称"
-            align="center"
+            align="left"
             fixed
             fixed
             width="420"
             width="420"
           >
           >