Commit 089e420c authored by renjintao's avatar renjintao

reorder ing....

parent e8139db6
<style lang="less">
@import "../execute/execute.less";
</style>
@import "../execute/execute.less";
</style>
<template>
<div>
<DataGrid
......@@ -35,10 +35,21 @@
<Modal v-model="transModal" title="确认转续" width="900">
<div class="zhuanx mt30">
<p class="line_p">
<Input prefix="ios-contact-outline" placeholder="请输入人员编号" style="width: auto" />
<Input
prefix="ios-contact-outline"
v-model="userId"
placeholder="请输入人员编号"
style="width: auto"
/>
</p>
<p class="line_p">
<Input prefix="ios-lock-outline" placeholder="请输入人员密码" style="width: auto" />
<Input
prefix="ios-lock-outline"
type="password"
v-model="userPwd"
placeholder="请输入人员密码"
style="width: auto"
/>
</p>
</div>
<div slot="footer">
......@@ -151,7 +162,7 @@ export default {
"op",
{
attrs: { oprate: "edit" },
on: { click: () => this.openTrans(params.row) },
on: { click: () => this.openTrans(params.row.id) },
style: params.row.status == 1 ? "display:none" : ""
},
"确认转续"
......@@ -159,7 +170,9 @@ export default {
]);
}
}
]
],
userId: "",
userPwd: ""
};
},
created() {
......@@ -181,21 +194,27 @@ export default {
this.easySearch.keys.value = this.easySearch.keys.value.trim();
this.$refs.grid.reload(this.easySearch);
},
openTrans() {
openTrans(val) {
if (val&&val>0) {
this.$refs.grid.selectAll(false);
this.arrayIds = [];
this.arrayIds.push(val);
}
this.transModal = true;
},
transOk() {
alert("确定转续");
let params={
ids:this.arrayIds,
user:this.userId,
pwd:this.userPwd
}
alert(JSON.stringify(params));
},
onSelect(a, b) {
//alert(JSON.stringify(a));
//批量选择
let selectRows = a;
this.arrayIds = [];
this.rowDataArry = a;
selectRows.forEach(e => {
this.arrayIds.push(e.id);
});
this.arrayIds = selectRows.map(e => e.id);
},
l(key) {
let vkey = "mes_plan" + "." + key;
......
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