Commit e34872f1 by yuhao

添加多生物时间

parent 10098317
<template>
<div class="Content">
<right-content
:tableOperation="tableOperation"
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
ref="rightContent"
>
<right-content :tableOperation="tableOperation"
:tableOperationWidth="tableOperationWidth"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
ref="rightContent">
<template #listOperation="scope">
<span class="hbyps" @click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span
>
<span class="hbyps"
@click="add(scope.scope)">
<i class="el-icon-plus"></i>新增</span>
</template>
<template #btnGroup="scope">
<!-- <el-button @click="dele(scope.scope)" type="text">删除</el-button> -->
<el-button @click="modelList(scope.scope)" type="text">修改</el-button>
<el-button @click="RouteName(scope.scope, 'swtzxxgl')" type="text"
>生物特征信息管理</el-button
>
<el-button @click="modelList(scope.scope)"
type="text">修改</el-button>
<el-button @click="RouteName(scope.scope, 'swtzxxgl')"
type="text">生物特征信息管理</el-button>
</template>
</right-content>
</div>
......@@ -38,7 +36,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
tableOperation: true,
tableOperationWidth: 200,
......@@ -51,6 +49,8 @@ export default {
xbdm: "",
cyzjdm: "",
szzwbh: "",
lrsjKssj: this.$moment().add(-3, 'd').format("YYYY-MM-DD"),
lrsjJssj: this.$moment().format("YYYY-MM-DD"),
page: "1",
limit: "10",
},
......@@ -105,6 +105,24 @@ export default {
codeOptions: [],
codeTree: "CODE_ZJ",
},
{
name: "开始时间",
id: "lrsjKssj",
type: "date",
props: "checkEmpty",
value: "",
placeholder: "请输入",
col: "3",
},
{
name: "结束时间",
id: "lrsjJssj",
type: "date",
props: "checkEmpty",
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{
......@@ -163,13 +181,13 @@ export default {
],
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
},
methods: {
RouteName(scope, m) {
RouteName (scope, m) {
// this.$router.push({
// path: m,
// query: { rybh: scope.row.rybh },
......@@ -183,37 +201,37 @@ export default {
});
window.open(routeUrl.href, "_blank");
},
modelList(scope) {
modelList (scope) {
const rybh = scope.row.rybh;
const userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
window.open(
"http://10.184.14.133:9200/singleLoginAct?rybh=" +
rybh +
"," +
userInfo.account +
",rycj,1,JZTS",
rybh +
"," +
userInfo.account +
",rycj,1,JZTS",
"_blank"
);
},
add() {
add () {
// this.$router.push("addryxx");
// const rybh = scope.row.rybh
const userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
window.open(
"http://10.184.14.133:9200/singleLoginAct?rybh=" +
"," +
userInfo.account +
",rycj,1,JZTS",
"," +
userInfo.account +
",rycj,1,JZTS",
"_blank"
);
},
edit(scope) {
edit (scope) {
this.$router.push({
path: "addryxx",
query: { rybh: scope.row.rybh, type: "xd" },
});
},
dele(scope) {
dele (scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -240,7 +258,7 @@ export default {
});
});
},
toInfor(scope) {
toInfor (scope) {
this.$router.push({
path: "/queryRxxx",
query: {
......@@ -250,7 +268,7 @@ export default {
});
},
},
mounted() {},
mounted () { },
};
</script>
<style>
......
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