|
|
@ -50,7 +50,7 @@ |
|
|
<div class="div_btn"> |
|
|
<div class="div_btn"> |
|
|
<el-button size="small" type="primary " @click="handleAdd">新增</el-button> |
|
|
<el-button size="small" type="primary " @click="handleAdd">新增</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<el-table :data="tableData" border class="m-table-item" style="width: 100%" :height="maxTableHeight" > |
|
|
<el-table :data="tableData" border class="m-table-item" style="width: 100%" :height="maxTableHeight"> |
|
|
<el-table-column label="" fixed="left" type="selection" align="center" width="50" /> |
|
|
<el-table-column label="" fixed="left" type="selection" align="center" width="50" /> |
|
|
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> |
|
|
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> |
|
|
|
|
|
|
|
|
@ -79,11 +79,11 @@ |
|
|
|
|
|
|
|
|
<el-table-column fixed="right" label="操作" align="center" width="200px"> |
|
|
<el-table-column fixed="right" label="操作" align="center" width="200px"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button @click="handleWatch(scope.row)" type="text" size="small">查看</el-button> |
|
|
<el-button @click=" handleInfo(scope.row)" type="text" size="small">查看</el-button> |
|
|
<!-- 取消操作需要做密码校验 --> |
|
|
<!-- 取消操作需要做密码校验 --> |
|
|
<el-button @click="handleCancel(scope.row)" type="text" size="small" class="">取消</el-button> |
|
|
<el-button @click="handleCancel(scope.row)" type="text" size="small" class="">取消</el-button> |
|
|
<!-- 取消后可进行删除 --> |
|
|
<!-- 取消后可进行删除 --> |
|
|
<el-button @click="handleDel(scope.row)" type="text" size="small" class="">取消</el-button> |
|
|
<el-button @click="handleDel(scope.row)" type="text" size="small" class="">删除</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
@ -97,11 +97,8 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div v-if="pageType == 'info'"> |
|
|
<div v-if="pageType == 'info'"> |
|
|
|
|
|
<excel-info></excel-info> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
@ -109,8 +106,10 @@ |
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
import nextTick from "dai-js/tools/nextTick"; |
|
|
import nextTick from "dai-js/tools/nextTick"; |
|
|
import { mapGetters } from "vuex"; |
|
|
import { mapGetters } from "vuex"; |
|
|
|
|
|
import excelInfo from "./cpts/excel-info"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
components: {}, |
|
|
components: { excelInfo, }, |
|
|
|
|
|
|
|
|
data() { |
|
|
data() { |
|
|
let endDisabledDate = (time) => { |
|
|
let endDisabledDate = (time) => { |
|
|
@ -191,9 +190,11 @@ export default { |
|
|
this.getOrgTreeList() |
|
|
this.getOrgTreeList() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
handleAdd(){ |
|
|
handleAdd() { |
|
|
this.pageType = 'add'; |
|
|
this.pageType = 'add'; |
|
|
|
|
|
}, |
|
|
|
|
|
handleInfo() { |
|
|
|
|
|
this.pageType = 'info' |
|
|
}, |
|
|
}, |
|
|
handleChangeAgency(val) { |
|
|
handleChangeAgency(val) { |
|
|
this.sarr = [] |
|
|
this.sarr = [] |
|
|
|