src/page/wel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/common/ztt-table.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
vue.config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/page/wel.vue
@@ -1,6 +1,6 @@ <template> <div class="dashboard-main"> <div class="body"> <!-- <div class="body"> <el-row> <el-col :span="12"> <p class="todo-title"><i class="el-icon-bell"></i><span> 生产调度 · 待办</span></p> @@ -63,11 +63,6 @@ </template> </el-calendar> <div class="todo-span"><span>待办</span></div> <!-- <el-table :data="todoByDayList"> <el-table-column label="序号" align="center" type="index" width="50"></el-table-column> <el-table-column prop="product_type" label="产品类型" align="center" min-width="50"></el-table-column> <el-table-column prop="total" label="待办数量" align="center" min-width="50"></el-table-column> </el-table> --> <div class="todo-info" v-for="(item,index) in 10" :key="index"> <div class="todo-info-state"></div> </div> @@ -94,7 +89,7 @@ </el-card> </el-col> </el-row> </div> </div> --> </div> </template> <style scoped="scoped" lang="scss"> src/views/common/ztt-table.vue
@@ -150,6 +150,7 @@ v-on="$listeners" :highlight-current-row="true" :row-key="rowKey" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @row-dblclick="dbClickRow" @row-contextmenu="contextMenu" @header-click="headClick" @@ -325,7 +326,7 @@ <template v-else> <template v-if="!item.render"> <template v-if="item.formatter"> <span v-if="item.isTag" style="text-align: center;"> <span v-if="item.isTag&&scope.row[item.prop]!=null" style="text-align: center;"> <el-tag style="width:60px;margin: 3px;" :type="scope.row[item.prop] == 0 ? 'success' : 'info'"> <span v-html="item.formatter(scope.row, item, scope.row[item.prop])"></span> </el-tag> vue.config.js
@@ -7,7 +7,7 @@ // const url = 'http://192.168.2.7:9999' // const url = 'https://ztms-mes.chinaztt.cn/' const url = 'http://192.168.0.104:9999' const url = 'http://127.0.0.1:9999' const localUrl = 'http://localhost:8089'