|
|
|
|
@ -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"
|
|
|
|
|
<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"
|
|
|
|
|
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>
|
|
|
|
|
: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>
|
|
|
|
|
|