Commit 53272b5b authored by ytbdmhy's avatar ytbdmhy

领取人员增加详情

parent 073acbd3
...@@ -61,18 +61,17 @@ ...@@ -61,18 +61,17 @@
min-width="15%" min-width="15%"
label="当前月领取标准"> label="当前月领取标准">
</el-table-column> </el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- min-width="15%"--> min-width="10%"
<!-- label="操作">--> label="操作">
<!-- <template slot-scope="scope">--> <template slot-scope="scope">
<!-- <el-button--> <el-button
<!-- type="primary"--> type="primary"
<!-- size="mini"--> size="mini"
<!-- icon="el-icon-s-check"--> icon="el-icon-s-check"
<!-- @click="drawer = true">详情--> @click="handle(scope.$index, scope.row)">详情</el-button>
<!-- </el-button>--> </template>
<!-- </template>--> </el-table-column>
<!-- </el-table-column>-->
</el-table> </el-table>
<el-pagination <el-pagination
class="pone" class="pone"
...@@ -83,12 +82,127 @@ ...@@ -83,12 +82,127 @@
@current-change="current_change" @current-change="current_change"
> >
</el-pagination> </el-pagination>
<!-- <el-drawer-->
<!-- title="我是标题"--> <div>
<!-- :visible.sync="drawer"--> <el-dialog title="详细信息" :visible.sync="dialogTableVisible" width="1200px">
<!-- :before-close="handleClose">--> <el-form :model="data" label-width="auto">
<!-- <span>我来啦!</span>--> <el-row :gutter="20">
<!-- </el-drawer>--> <el-col :span="8">
<el-form-item label="个人编号">
<el-input v-model="data.personNum" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="常住地地址">
<el-input v-model="data.permanentAddress" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="离退休日期">
<el-input v-model="data.retirementDate" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="乡镇">
<el-input v-model="data.townName" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="村(社区)">
<el-input v-model="data.villageName" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="村组">
<el-input v-model="data.groupName" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="银行">
<el-input v-model="data.bank" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="户名">
<el-input v-model="data.householdName" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="银行账号">
<el-input v-model="data.bankAccount" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="视同缴费月数">
<el-input v-model="data.treatAsMonths" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="实际缴费月数">
<el-input v-model="data.realMonths" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="军龄折算月数">
<el-input v-model="data.militaryMonths" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="特殊工种折算月数">
<el-input v-model="data.specialWorkMonths" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="当前月领取标准">
<el-input v-model="data.presentBenchmark" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="个人账户总金额">
<el-input v-model="data.privateAccountTotal" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="省级财政部分所占比例">
<el-input v-model="data.provicePercent" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="市级财政部分所占比例">
<el-input v-model="data.cityPercent" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="县级财政部分所占比例">
<el-input v-model="data.countyPercent" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="集体补助部分所占比例">
<el-input v-model="data.collectivePercent" readonly></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="个人缴费部分所占比例">
<el-input v-model="data.individualPercent" readonly></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-dialog>
</div>
</div> </div>
</template> </template>
...@@ -96,11 +210,9 @@ ...@@ -96,11 +210,9 @@
.op { .op {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.idc { .idc {
min-width: 200px min-width: 200px
} }
...@@ -134,7 +246,6 @@ ...@@ -134,7 +246,6 @@
import CryptoJS from 'crypto-js' import CryptoJS from 'crypto-js'
import {Loading} from 'element-ui'; import {Loading} from 'element-ui';
import {listtown} from '../../utils/address' import {listtown} from '../../utils/address'
// import baseUrl from "../../globe/globeUrl"
export default { export default {
data() { data() {
...@@ -158,7 +269,8 @@ ...@@ -158,7 +269,8 @@
grantState: "", grantState: "",
info: '', info: '',
tableData: [], tableData: [],
drawer: false, dialogTableVisible: false,
data: {}
} }
}, },
methods: { methods: {
...@@ -185,57 +297,6 @@ ...@@ -185,57 +297,6 @@
}); });
}, },
//流程
progress(d, s) {
console.log(s)
this.activities = []
var data = {
recordId: s.id,
type: s.recordtype == "参保登记" ? 1 : s.recordtype == "信息变更" ? 2 : ''
}
this.$api.getlist.progress(data).then((res) => {
for (var i in res.data) {
if (res.data[i].examineState == "进行中") {
this.activities.push({
content: res.data[i].role,
//timestamp:res.data[i].examinePerson+"审核于"+res.data[i].examineTime,
color: '#0bbd87',
size: 'large'
})
} else {
if (res.data[i].examineState == "审核失败") {
this.activities.push({
content: res.data[i].role + ":" + "审核失败",
timestamp: res.data[i].examinePerson ? res.data[i].examineTime : "",
name: res.data[i].examinePerson ? res.data[i].examinePerson : "",
examineRemark: res.data[i].examineRemark ? res.data[i].examineRemark : '',
color: 'black'
})
return
} else {
this.activities.push({
content: res.data[i].role,
timestamp: res.data[i].examinePerson ? res.data[i].examineTime : "",
name: res.data[i].examinePerson ? res.data[i].examinePerson : "",
examineRemark: res.data[i].examineRemark ? res.data[i].examineRemark : '',
color: res.data[i].nowNode ? "#97E5CE" : "lightgray"
})
}
}
}
}).catch((res) => {
})
},
tableRowClassName({row, rowIndex}) {
// console.log(row)
// if (row.recordtype ==="参保登记") {
// return 'warning-row';
// } else if (row.recordtype === "信息变更") {
// return 'success-row';
// }
// return '';
},
current_change(ss) { current_change(ss) {
let data = { let data = {
pageNum: ss, pageNum: ss,
...@@ -269,8 +330,12 @@ ...@@ -269,8 +330,12 @@
}); });
}, },
//查看 //查看
handle(s, d) { handle(index, row) {
this.dialogTableVisible = true;
this.data = row;
let d = new Date(this.data.retirementDate);
let mon = (parseInt(d.getMonth()) + 1);
this.data.retirementDate = d.getFullYear() + "-" + mon + "-" + d.getDate();
}, },
handleDelete(g, h) { handleDelete(g, h) {
console.log(g) console.log(g)
...@@ -341,32 +406,12 @@ ...@@ -341,32 +406,12 @@
this.tableData = res.data.content this.tableData = res.data.content
this.totals = res.data.totalSize this.totals = res.data.totalSize
this.pageNum = res.data.pageNum this.pageNum = res.data.pageNum
}).catch((res) => { }).catch((res) => {
let loadingInstance = Loading.service(); let loadingInstance = Loading.service();
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
loadingInstance.close(); loadingInstance.close();
}); });
}); });
// var that=this
// baseUrl.setToken()
// $.ajax({
// url:baseUrl.baseUrl+"examine/listExamining",
// type:'post',
// data:{
// userId:1
// },
// success(res){
// for(var i in res.data.list){
// res.data.list[i].idcard=that.decrypt(res.data.list[i].idcard)
// res.data.list[i].name=that.decrypt(res.data.list[i].name)
// res.data.list[i].recordtype=res.data.list[i].recordtype==1?"参保登记":""
// }
// that.tableData=res.data.list
// that.totals=res.data.total
// that.page=res.data.total.pageNum
// }
// })
} }
} }
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment