档案合集

master
wanglei 2 years ago
parent fda6c25aab
commit bdb6774090

@ -215,8 +215,14 @@
<el-table v-loading="loading" :data="birthDJList" border>
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="90" fixed/>
<el-table-column label="出生证编号" align="center" prop="birthNum" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="婴儿姓名" align="center" prop="name" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="150" fixed show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" fixed prop="muPath" min-width="150" show-overflow-tooltip/>
<el-table-column label="出生证编号" align="center" prop="birthNum" min-width="100" show-overflow-tooltip/>
<el-table-column label="婴儿姓名" align="center" prop="name" min-width="100" show-overflow-tooltip/>
<el-table-column label="出生时间" align="center" prop="birthday" min-width="100" show-overflow-tooltip/>
<el-table-column label="性别" align="center" prop="sex" min-width="100" show-overflow-tooltip/>
<el-table-column label="出生地点" align="center" prop="bornAddress" min-width="100" show-overflow-tooltip/>
@ -447,8 +453,8 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="档案目录ID" prop="muId">
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
<el-form-item label="档案目录路径" prop="muPath" label-width="110px">
<el-input readonly placeholder="请选择档案目录路径" v-model="form.muPath">
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
</el-input>
</el-form-item>
@ -698,37 +704,26 @@
</el-dialog>
<!--选择档案目录-->
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
<el-table v-if="damlInfo.refreshTable" border
v-loading="damlInfo.loading"
:data="damlInfo.list"
row-key="id"
:default-expand-all="damlInfo.isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
<el-table-column label="业务类型" align="center" prop="ywType" >
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="显示顺序" align="center" prop="orderNum" />
<el-table-column label="状态" align="center" prop="status" >
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="图片" align="center" prop="picPath" >
<template slot-scope="scope">
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="500px" append-to-body>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto">
<el-tree
:data="damlInfo.list"
:props="{
children: 'children',
label: 'muName'
}"
:expand-on-click-node="false"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
/>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="damlInfoSubmit"> </el-button>
</div>
</el-dialog>
</div>
@ -798,8 +793,8 @@ export default {
shiBieList: [],
//
rules: {
muId: [
{ required: true, message: "档案目录ID不能为空", trigger: "blur" }
muPath: [
{ required: true, message: "档案目录路径不能为空", trigger: "blur" }
],
name: [
{ required: true, message: "婴儿姓名不能为空", trigger: "blur" }
@ -843,10 +838,6 @@ export default {
visible: false,
//
loading: false,
//
isExpandAll: false,
//
refreshTable: true,
//
queryParams:{
ywType: 'option4',
@ -854,7 +845,7 @@ export default {
//
list: [],
//
selectRow: null
node: null
}
};
},
@ -884,6 +875,7 @@ export default {
id: null,
ywType: 'option4',
muId: null,
muPath: null,
birthNum: null,
name: null,
birthday: null,
@ -1054,10 +1046,10 @@ export default {
this.damlInfo.loading = false;
});
},
//
damlInfoDblclick(row){
this.damlInfo.selectRow = row;
this.form.muId = row.id
//
damlInfoSubmit(){
this.form.muId = this.damlInfo.node.data.id;
this.form.muPath = this.getAllLabels(this.damlInfo.node);
this.damlInfo.visible = false
},
/** 新增手动识别提交按钮 */
@ -1098,13 +1090,33 @@ export default {
this.getList();
});
}else {
this.$alert(`请先点击【选择档案记录】或【直接上传】选择识别图片`, `提示`, {
this.$alert(`请先点击【选择档案记录】选择识别图片`, `提示`, {
type: 'warning'
});
}
}
});
},
// label
getAllLabels(obj) {
let values = '';
function getValues(obj) {
if(values.length>0){
values = obj.label+'/'+values
}else {
values = obj.label
}
if(obj.level>1){
getValues(obj.parent);
}
}
getValues(obj);
return values;
},
//
handleNodeClick(data, Node) {
this.damlInfo.node = Node;
},
}
};
</script>

@ -327,7 +327,13 @@
<el-table v-loading="loading" :data="czrkdjList" border>
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="90" fixed/>
<el-table-column label="姓名" align="center" prop="name" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="150" fixed show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" prop="muPath" min-width="150" show-overflow-tooltip/>
<el-table-column label="姓名" align="center" prop="name" min-width="100" show-overflow-tooltip/>
<el-table-column label="与户主关系" align="center" prop="relation" min-width="100" show-overflow-tooltip/>
<el-table-column label="别名" align="center" prop="otherName" min-width="100" show-overflow-tooltip/>
<el-table-column label="性别" align="center" prop="sex" min-width="100" show-overflow-tooltip/>
@ -640,7 +646,7 @@
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row :gutter="20">
<el-col :span="8">
<el-col :span="6">
<el-form-item label="业务类型" prop="ywType">
<el-select v-model="form.ywType" placeholder="请选择业务类型">
<el-option label="常住人口登记1" value="option1"></el-option>
@ -650,14 +656,14 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="档案目录ID" prop="muId">
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
<el-col :span="14">
<el-form-item label="档案目录路径" prop="muPath">
<el-input readonly placeholder="请选择档案目录路径" v-model="form.muPath">
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="4">
<el-button type="primary" @click="selectDaRecard" style="margin-left: 10px;">选择档案记录</el-button>
</el-col>
</el-row>
@ -970,37 +976,26 @@
</el-dialog>
<!--选择档案目录-->
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
<el-table v-if="damlInfo.refreshTable" border
v-loading="damlInfo.loading"
:data="damlInfo.list"
row-key="id"
:default-expand-all="damlInfo.isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
<el-table-column label="业务类型" align="center" prop="ywType" >
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="显示顺序" align="center" prop="orderNum" />
<el-table-column label="状态" align="center" prop="status" >
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="图片" align="center" prop="picPath" >
<template slot-scope="scope">
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="500px" append-to-body>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto">
<el-tree
:data="damlInfo.list"
:props="{
children: 'children',
label: 'muName'
}"
:expand-on-click-node="false"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
/>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="damlInfoSubmit"> </el-button>
</div>
</el-dialog>
</div>
@ -1087,8 +1082,8 @@ export default {
ywType: [
{ required: true, message: "业务类型不能为空", trigger: "blur" }
],
muId: [
{ required: true, message: "目录ID不能为空", trigger: "blur" }
muPath: [
{ required: true, message: "档案目录路径不能为空", trigger: "blur" }
]
},
//
@ -1129,10 +1124,6 @@ export default {
visible: false,
//
loading: false,
//
isExpandAll: false,
//
refreshTable: true,
//
queryParams:{
ywType: null,
@ -1140,7 +1131,7 @@ export default {
//
list: [],
//
selectRow: null
node: null
}
};
},
@ -1170,6 +1161,7 @@ export default {
id: null,
ywType: null,
muId: null,
muPath: null,
relation: null,
name: null,
otherName: null,
@ -1373,10 +1365,10 @@ export default {
this.damlInfo.loading = false;
});
},
//
damlInfoDblclick(row){
this.damlInfo.selectRow = row;
this.form.muId = row.id
//
damlInfoSubmit(){
this.form.muId = this.damlInfo.node.data.id;
this.form.muPath = this.getAllLabels(this.damlInfo.node);
this.damlInfo.visible = false
},
/** 新增手动识别提交按钮 */
@ -1424,6 +1416,26 @@ export default {
}
});
},
// label
getAllLabels(obj) {
let values = '';
function getValues(obj) {
if(values.length>0){
values = obj.label+'/'+values
}else {
values = obj.label
}
if(obj.level>1){
getValues(obj.parent);
}
}
getValues(obj);
return values;
},
//
handleNodeClick(data, Node) {
this.damlInfo.node = Node;
},
}
};
</script>

@ -231,8 +231,14 @@
<el-table v-loading="loading" border :data="qyzList">
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="90" fixed/>
<el-table-column label="发文单位" align="center" prop="fwUnit" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="文件序号" align="center" prop="wjXh" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="150" fixed show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" fixed prop="muPath" min-width="150" show-overflow-tooltip/>
<el-table-column label="发文单位" align="center" prop="fwUnit" min-width="100" show-overflow-tooltip/>
<el-table-column label="文件序号" align="center" prop="wjXh" min-width="100" show-overflow-tooltip/>
<el-table-column label="姓名1" align="center" prop="name1" min-width="100" show-overflow-tooltip/>
<el-table-column label="性别1" align="center" prop="sex1" min-width="100" show-overflow-tooltip/>
<el-table-column label="居民身份证编号1" align="center" prop="cardId1" min-width="120" show-overflow-tooltip/>
@ -467,8 +473,8 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="档案目录ID" prop="muId">
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
<el-form-item label="档案目录路径" prop="muPath" label-width="110px">
<el-input readonly placeholder="请选择档案目录路径" v-model="form.muPath">
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
</el-input>
</el-form-item>
@ -721,37 +727,26 @@
</el-dialog>
<!--选择档案目录-->
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
<el-table v-if="damlInfo.refreshTable" border
v-loading="damlInfo.loading"
:data="damlInfo.list"
row-key="id"
:default-expand-all="damlInfo.isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
<el-table-column label="业务类型" align="center" prop="ywType" >
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="显示顺序" align="center" prop="orderNum" />
<el-table-column label="状态" align="center" prop="status" >
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="图片" align="center" prop="picPath" >
<template slot-scope="scope">
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="500px" append-to-body>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto">
<el-tree
:data="damlInfo.list"
:props="{
children: 'children',
label: 'muName'
}"
:expand-on-click-node="false"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
/>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="damlInfoSubmit"> </el-button>
</div>
</el-dialog>
</div>
@ -821,8 +816,8 @@ export default {
shiBieList: [],
//
rules: {
muId: [
{ required: true, message: "档案目录ID不能为空", trigger: "blur" }
muPath: [
{ required: true, message: "档案目录路径不能为空", trigger: "blur" }
],
fwUnit: [
{ required: true, message: "发文单位不能为空", trigger: "blur" }
@ -869,10 +864,6 @@ export default {
visible: false,
//
loading: false,
//
isExpandAll: false,
//
refreshTable: true,
//
queryParams:{
ywType: 'option5',
@ -880,7 +871,7 @@ export default {
//
list: [],
//
selectRow: null
node: null
}
};
},
@ -910,6 +901,7 @@ export default {
id: null,
ywType: 'option5',
muId: null,
muPath: null,
fwUnit: null,
wjXh: null,
name1: null,
@ -1080,10 +1072,10 @@ export default {
this.damlInfo.loading = false;
});
},
//
damlInfoDblclick(row){
this.damlInfo.selectRow = row;
this.form.muId = row.id
//
damlInfoSubmit(){
this.form.muId = this.damlInfo.node.data.id;
this.form.muPath = this.getAllLabels(this.damlInfo.node);
this.damlInfo.visible = false
},
/** 新增手动识别提交按钮 */
@ -1124,13 +1116,33 @@ export default {
this.getList();
});
}else {
this.$alert(`请先点击【选择档案记录】或【直接上传】选择识别图片`, `提示`, {
this.$alert(`请先点击【选择档案记录】选择识别图片`, `提示`, {
type: 'warning'
});
}
}
});
},
// label
getAllLabels(obj) {
let values = '';
function getValues(obj) {
if(values.length>0){
values = obj.label+'/'+values
}else {
values = obj.label
}
if(obj.level>1){
getValues(obj.parent);
}
}
getValues(obj);
return values;
},
//
handleNodeClick(data, Node) {
this.damlInfo.node = Node;
},
}
};
</script>

@ -183,6 +183,12 @@
<el-table v-loading="loading" :data="ytzmList" border>
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="90" fixed/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="150" fixed show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" prop="muPath" min-width="150" show-overflow-tooltip/>
<el-table-column label="年份" align="center" prop="year" min-width="100" show-overflow-tooltip/>
<el-table-column label="序号" align="center" prop="xh" min-width="100" show-overflow-tooltip/>
<el-table-column label="姓名女" align="center" prop="wName" min-width="100" show-overflow-tooltip/>
@ -394,8 +400,8 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="档案目录ID" prop="muId" label-width="110px">
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
<el-form-item label="档案目录路径" prop="muPath" label-width="110px">
<el-input readonly placeholder="请选择档案目录路径" v-model="form.muPath">
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
</el-input>
</el-form-item>
@ -624,37 +630,26 @@
</el-dialog>
<!--选择档案目录-->
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
<el-table v-if="damlInfo.refreshTable" border
v-loading="damlInfo.loading"
:data="damlInfo.list"
row-key="id"
:default-expand-all="damlInfo.isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
<el-table-column label="业务类型" align="center" prop="ywType" >
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="显示顺序" align="center" prop="orderNum" />
<el-table-column label="状态" align="center" prop="status" >
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="图片" align="center" prop="picPath" >
<template slot-scope="scope">
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="500px" append-to-body>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto">
<el-tree
:data="damlInfo.list"
:props="{
children: 'children',
label: 'muName'
}"
:expand-on-click-node="false"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
/>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="damlInfoSubmit"> </el-button>
</div>
</el-dialog>
</div>
@ -720,9 +715,9 @@ export default {
shiBieList: [],
//
rules: {
muId: [
{ required: true, message: "档案目录ID不能为空", trigger: "blur" }
],
muPath: [
{ required: true, message: "档案目录路径不能为空", trigger: "blur" }
]
},
//
shenHe:{
@ -762,10 +757,6 @@ export default {
visible: false,
//
loading: false,
//
isExpandAll: false,
//
refreshTable: true,
//
queryParams:{
ywType: 'option6',
@ -773,7 +764,7 @@ export default {
//
list: [],
//
selectRow: null
node: null
}
};
},
@ -803,6 +794,7 @@ export default {
id: null,
ywType: 'option6',
muId: null,
muPath: null,
year: null,
xh: null,
wName: null,
@ -969,10 +961,10 @@ export default {
this.damlInfo.loading = false;
});
},
//
damlInfoDblclick(row){
this.damlInfo.selectRow = row;
this.form.muId = row.id
//
damlInfoSubmit(){
this.form.muId = this.damlInfo.node.data.id;
this.form.muPath = this.getAllLabels(this.damlInfo.node);
this.damlInfo.visible = false
},
/** 新增手动识别提交按钮 */
@ -1020,6 +1012,26 @@ export default {
}
});
},
// label
getAllLabels(obj) {
let values = '';
function getValues(obj) {
if(values.length>0){
values = obj.label+'/'+values
}else {
values = obj.label
}
if(obj.level>1){
getValues(obj.parent);
}
}
getValues(obj);
return values;
},
//
handleNodeClick(data, Node) {
this.damlInfo.node = Node;
},
}
};
</script>

@ -247,6 +247,12 @@
<el-table v-loading="loading" :data="zfnyhkcgList" border>
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="90" fixed/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="150" fixed show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" fixed prop="muPath" min-width="150" show-overflow-tooltip/>
<el-table-column label="编号" align="center" prop="num" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="申请人姓名" align="center" prop="name" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="住址" align="center" prop="address" min-width="100" show-overflow-tooltip/>
@ -496,8 +502,8 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="档案目录ID" prop="muId">
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
<el-form-item label="档案目录路径" prop="muPath">
<el-input readonly placeholder="档案目录路径" v-model="form.muPath">
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
</el-input>
</el-form-item>
@ -731,9 +737,9 @@
</el-form-item>
</el-form>
<el-table v-loading="dalsInfo.loading" :data="dalsInfo.list" border height="500" @selection-change="dalsInfoDblclick">
<el-table-column type="selection" width="50" align="center" fixed/>
<el-table-column label="档案目录ID" align="center" prop="muId" fixed min-width="50"/>
<el-table-column label="档案目录路径" align="center" prop="muPath" fixed min-width="100" show-overflow-tooltip/>
<el-table-column type="selection" width="50" align="center" />
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="50"/>
<el-table-column label="档案目录路径" align="center" prop="muPath" min-width="100" show-overflow-tooltip/>
<el-table-column label="物理书架路径" align="center" prop="wlsjPath" min-width="100" show-overflow-tooltip/>
<el-table-column label="是否已经识别" align="center" prop="recognize" >
<template slot-scope="scope">
@ -761,37 +767,26 @@
</el-dialog>
<!--选择档案目录-->
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
<el-table v-if="damlInfo.refreshTable" border
v-loading="damlInfo.loading"
:data="damlInfo.list"
row-key="id"
:default-expand-all="damlInfo.isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
<el-table-column label="业务类型" align="center" prop="ywType" >
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="显示顺序" align="center" prop="orderNum" />
<el-table-column label="状态" align="center" prop="status" >
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="图片" align="center" prop="picPath" >
<template slot-scope="scope">
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="500px" append-to-body>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto">
<el-tree
:data="damlInfo.list"
:props="{
children: 'children',
label: 'muName'
}"
:expand-on-click-node="false"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
/>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="damlInfoSubmit"> </el-button>
</div>
</el-dialog>
</div>
@ -863,8 +858,8 @@ export default {
shiBieList: [],
//
rules: {
muId: [
{ required: true, message: "档案目录ID不能为空", trigger: "blur" }
muPath: [
{ required: true, message: "档案目录路径不能为空", trigger: "blur" }
],
num: [
{ required: true, message: "编号不能为空", trigger: "blur" }
@ -908,10 +903,6 @@ export default {
visible: false,
//
loading: false,
//
isExpandAll: false,
//
refreshTable: true,
//
queryParams:{
ywType: 'option7',
@ -919,7 +910,7 @@ export default {
//
list: [],
//
selectRow: null
node: null
}
};
},
@ -949,6 +940,7 @@ export default {
id: null,
ywType: 'option7',
muId: null,
muPath: null,
num: null,
name: null,
address: null,
@ -1121,10 +1113,10 @@ export default {
this.damlInfo.loading = false;
});
},
//
damlInfoDblclick(row){
this.damlInfo.selectRow = row;
this.form.muId = row.id
//
damlInfoSubmit(){
this.form.muId = this.damlInfo.node.data.id;
this.form.muPath = this.getAllLabels(this.damlInfo.node);
this.damlInfo.visible = false
},
/** 新增手动识别提交按钮 */
@ -1165,13 +1157,33 @@ export default {
this.getList();
});
}else {
this.$alert(`请先点击【选择档案记录】或【直接上传】选择识别图片`, `提示`, {
this.$alert(`请先点击【选择档案记录】选择识别图片`, `提示`, {
type: 'warning'
});
}
}
});
},
// label
getAllLabels(obj) {
let values = '';
function getValues(obj) {
if(values.length>0){
values = obj.label+'/'+values
}else {
values = obj.label
}
if(obj.level>1){
getValues(obj.parent);
}
}
getValues(obj);
return values;
},
//
handleNodeClick(data, Node) {
this.damlInfo.node = Node;
},
}
};
</script>

@ -287,7 +287,13 @@
<el-table v-loading="loading" :data="zqzList" border>
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="90" fixed/>
<el-table-column label="编号" align="center" prop="num" fixed min-width="100" show-overflow-tooltip/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="150" fixed show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" fixed prop="muPath" min-width="150" show-overflow-tooltip/>
<el-table-column label="编号" align="center" prop="num" min-width="100" show-overflow-tooltip/>
<el-table-column label="申请人姓名" align="center" prop="name" min-width="100" show-overflow-tooltip/>
<el-table-column label="申请人身份证号" align="center" prop="cardId" min-width="120" show-overflow-tooltip/>
<el-table-column label="住址" align="center" prop="address" min-width="100" show-overflow-tooltip/>
@ -573,8 +579,8 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="档案目录ID" prop="muId">
<el-input readonly placeholder="请选择档案目录ID" v-model="form.muId">
<el-form-item label="档案目录路径" prop="muPath" label-width="110px">
<el-input readonly placeholder="请选择档案目录路径" v-model="form.muPath">
<el-button slot="append" icon="el-icon-search" @click="muIdChange"></el-button>
</el-input>
</el-form-item>
@ -836,9 +842,9 @@
</el-form-item>
</el-form>
<el-table v-loading="dalsInfo.loading" :data="dalsInfo.list" border height="500" @selection-change="dalsInfoDblclick">
<el-table-column type="selection" width="50" align="center" fixed/>
<el-table-column label="档案目录ID" align="center" prop="muId" fixed min-width="50"/>
<el-table-column label="档案目录路径" align="center" prop="muPath" fixed min-width="100" show-overflow-tooltip/>
<el-table-column type="selection" width="50" align="center"/>
<el-table-column label="档案目录ID" align="center" prop="muId" min-width="50"/>
<el-table-column label="档案目录路径" align="center" prop="muPath" min-width="100" show-overflow-tooltip/>
<el-table-column label="物理书架路径" align="center" prop="wlsjPath" min-width="100" show-overflow-tooltip/>
<el-table-column label="是否已经识别" align="center" prop="recognize" >
<template slot-scope="scope">
@ -866,37 +872,26 @@
</el-dialog>
<!--选择档案目录-->
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="1200px" append-to-body>
<el-table v-if="damlInfo.refreshTable" border
v-loading="damlInfo.loading"
:data="damlInfo.list"
row-key="id"
:default-expand-all="damlInfo.isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}" @cell-dblclick="damlInfoDblclick">
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"/>
<el-table-column label="业务类型" align="center" prop="ywType" >
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="显示顺序" align="center" prop="orderNum" />
<el-table-column label="状态" align="center" prop="status" >
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="图片" align="center" prop="picPath" >
<template slot-scope="scope">
<image-preview :src="scope.row.picPath" :width="50" :height="50" v-if="scope.row.pid===0"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
</el-table>
<el-dialog title="选择档案目录" :visible.sync="damlInfo.visible" width="500px" append-to-body>
<div style="min-height: 300px;max-height: 500px;overflow-y: auto">
<el-tree
:data="damlInfo.list"
:props="{
children: 'children',
label: 'muName'
}"
:expand-on-click-node="false"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
/>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="damlInfoSubmit"> </el-button>
</div>
</el-dialog>
</div>
@ -977,9 +972,9 @@ export default {
shiBieList: [],
//
rules: {
muId: [
{ required: true, message: "档案目录ID不能为空", trigger: "blur" }
],
muPath: [
{ required: true, message: "档案目录路径不能为空", trigger: "blur" }
]
},
//
shenHe:{
@ -1019,10 +1014,6 @@ export default {
visible: false,
//
loading: false,
//
isExpandAll: false,
//
refreshTable: true,
//
queryParams:{
ywType: 'option8',
@ -1030,7 +1021,7 @@ export default {
//
list: [],
//
selectRow: null
node: null
}
};
},
@ -1060,6 +1051,7 @@ export default {
id: null,
ywType: 'option8',
muId: null,
muPath: null,
num: null,
name: null,
cardId: null,
@ -1240,10 +1232,10 @@ export default {
this.damlInfo.loading = false;
});
},
//
damlInfoDblclick(row){
this.damlInfo.selectRow = row;
this.form.muId = row.id
//
damlInfoSubmit(){
this.form.muId = this.damlInfo.node.data.id;
this.form.muPath = this.getAllLabels(this.damlInfo.node);
this.damlInfo.visible = false
},
/** 新增手动识别提交按钮 */
@ -1291,6 +1283,26 @@ export default {
}
});
},
// label
getAllLabels(obj) {
let values = '';
function getValues(obj) {
if(values.length>0){
values = obj.label+'/'+values
}else {
values = obj.label
}
if(obj.level>1){
getValues(obj.parent);
}
}
getValues(obj);
return values;
},
//
handleNodeClick(data, Node) {
this.damlInfo.node = Node;
},
}
};
</script>

Loading…
Cancel
Save