|
@@ -1,11 +1,6 @@
|
|
|
<!-- 用户编辑弹窗 -->
|
|
<!-- 用户编辑弹窗 -->
|
|
|
<template>
|
|
<template>
|
|
|
- <el-form
|
|
|
|
|
- ref="form"
|
|
|
|
|
- :model="form"
|
|
|
|
|
- label-width="82px"
|
|
|
|
|
- :disabled="true"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-form ref="form" :model="form" label-width="82px" :disabled="true">
|
|
|
<el-row :gutter="15">
|
|
<el-row :gutter="15">
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
<el-form-item label="主题" prop="name">
|
|
<el-form-item label="主题" prop="name">
|
|
@@ -48,7 +43,7 @@
|
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<el-form-item label="创建时间" prop="createTime">
|
|
<el-form-item label="创建时间" prop="createTime">
|
|
|
<el-input v-model="form.createTime" style="width: 60%"> </el-input>
|
|
<el-input v-model="form.createTime" style="width: 60%"> </el-input>
|
|
@@ -76,6 +71,16 @@
|
|
|
cache-key="systemOrgUserTable"
|
|
cache-key="systemOrgUserTable"
|
|
|
:needPage="false"
|
|
:needPage="false"
|
|
|
>
|
|
>
|
|
|
|
|
+ <template v-slot:action="{ row }">
|
|
|
|
|
+ <el-link
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ :underline="false"
|
|
|
|
|
+ icon="el-icon-edit"
|
|
|
|
|
+ @click="browseOpen(row)"
|
|
|
|
|
+ >
|
|
|
|
|
+ 浏览
|
|
|
|
|
+ </el-link>
|
|
|
|
|
+ </template>
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -90,12 +95,14 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
+ <browse ref="browseRef"></browse>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import power from './power.vue';
|
|
import power from './power.vue';
|
|
|
import { sendGetById } from '@/api/bpm/components/doc';
|
|
import { sendGetById } from '@/api/bpm/components/doc';
|
|
|
|
|
+import browse from '@/components/addDoc/browse.vue';
|
|
|
|
|
|
|
|
const defaultForm = {
|
|
const defaultForm = {
|
|
|
name: '', //名称
|
|
name: '', //名称
|
|
@@ -107,7 +114,7 @@ const defaultForm = {
|
|
|
remark: ''
|
|
remark: ''
|
|
|
};
|
|
};
|
|
|
export default {
|
|
export default {
|
|
|
- components: { power },
|
|
|
|
|
|
|
+ components: { power, browse },
|
|
|
props: {
|
|
props: {
|
|
|
businessId: {
|
|
businessId: {
|
|
|
default: ''
|
|
default: ''
|
|
@@ -203,7 +210,7 @@ export default {
|
|
|
{
|
|
{
|
|
|
columnKey: 'action',
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
label: '操作',
|
|
|
- width: 200,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
resizable: false,
|
|
resizable: false,
|
|
|
slot: 'action',
|
|
slot: 'action',
|
|
@@ -240,6 +247,9 @@ export default {
|
|
|
this.$refs.powerRef &&
|
|
this.$refs.powerRef &&
|
|
|
this.$refs.powerRef.setTableList(data.userAuthority);
|
|
this.$refs.powerRef.setTableList(data.userAuthority);
|
|
|
});
|
|
});
|
|
|
|
|
+ },
|
|
|
|
|
+ browseOpen(row) {
|
|
|
|
|
+ this.$refs.browseRef.open(row);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|