|
@@ -658,11 +658,22 @@
|
|
<el-button type="primary" @click="submitForm(1)">确 定</el-button>
|
|
<el-button type="primary" @click="submitForm(1)">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog :visible.sync="menuRoleVisible" :title="title" append-to-body >
|
|
|
|
+
|
|
|
|
+ <bdgldiary
|
|
|
|
+ v-if="menuRoleVisible"
|
|
|
|
+ ref="menuRole"
|
|
|
|
+ :message="wordInfo"
|
|
|
|
+ ></bdgldiary>
|
|
|
|
+
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import bdgldiary from "@/components/look_word/bdgldiary.vue";
|
|
|
|
+
|
|
import {
|
|
import {
|
|
listBdgldiary,
|
|
listBdgldiary,
|
|
getBdgldiary,
|
|
getBdgldiary,
|
|
@@ -689,10 +700,13 @@ import Treeselect from "@riophae/vue-treeselect";
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
import { treeselect } from "@/api/system/dept";
|
|
import { treeselect } from "@/api/system/dept";
|
|
export default {
|
|
export default {
|
|
- components: { Treeselect },
|
|
|
|
|
|
+ components: { Treeselect,bdgldiary },
|
|
name: "Bdgldiary",
|
|
name: "Bdgldiary",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ //查看页面
|
|
|
|
+ menuRoleVisible: false,
|
|
|
|
+ wordInfo: {},
|
|
//判断关闭
|
|
//判断关闭
|
|
style: "2",
|
|
style: "2",
|
|
// 获取首长
|
|
// 获取首长
|
|
@@ -1199,18 +1213,17 @@ export default {
|
|
this.title = "修改要事日记";
|
|
this.title = "修改要事日记";
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- // //查看按钮操作
|
|
|
|
- // handleChakan(row) {
|
|
|
|
- // // 是否隐藏按钮
|
|
|
|
- // this.opens = false;
|
|
|
|
- // const id = row.id || this.ids;
|
|
|
|
- // getBdgldiary(id).then((response) => {
|
|
|
|
- // this.wordInfo = response.data;
|
|
|
|
- // console.log(this.wordInfo);
|
|
|
|
- // this.title = "查看要事日记";
|
|
|
|
- // this.menuRoleVisible = true;
|
|
|
|
- // });
|
|
|
|
- // },
|
|
|
|
|
|
+ //查看按钮操作
|
|
|
|
+ handleChakan(row) {
|
|
|
|
+ // 是否隐藏按钮
|
|
|
|
+ this.opens = false;
|
|
|
|
+ const id = row.id || this.ids;
|
|
|
|
+ getBdgldiary(id).then((response) => {
|
|
|
|
+ this.wordInfo = response.data;
|
|
|
|
+ this.title = "查看要事日记";
|
|
|
|
+ this.menuRoleVisible = true;
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
|
|
/** 提交按钮 */
|
|
/** 提交按钮 */
|
|
submitForm(style) {
|
|
submitForm(style) {
|
|
@@ -1319,9 +1332,10 @@ export default {
|
|
color: #fff !important;
|
|
color: #fff !important;
|
|
}
|
|
}
|
|
::v-deep .el-dialog__body {
|
|
::v-deep .el-dialog__body {
|
|
- margin: 0px 20px;
|
|
|
|
|
|
+ margin: 10px 30px 20px 30px;
|
|
|
|
+ padding-top: 20px !important;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- padding: 30px 12px 30px 28px;
|
|
|
|
|
|
+ /* padding: 30px 12px 30px 28px; */
|
|
}
|
|
}
|
|
/* 表单背景 */
|
|
/* 表单背景 */
|
|
::v-deep .el-input__inner {
|
|
::v-deep .el-input__inner {
|
|
@@ -1588,4 +1602,16 @@ export default {
|
|
/* .greedd {
|
|
/* .greedd {
|
|
background-color: #67c23a
|
|
background-color: #67c23a
|
|
} */
|
|
} */
|
|
|
|
+/* 底部确定取消按钮 */
|
|
|
|
+::v-deep .el-dialog__footer {
|
|
|
|
+ padding: 18px 50px;
|
|
|
|
+ margin-right: 42px;
|
|
|
|
+}
|
|
|
|
+/* 增加按钮弹框 */
|
|
|
|
+::v-deep .el-dialog {
|
|
|
|
+ width: 1060px !important;
|
|
|
|
+}
|
|
|
|
+::v-deep .el-dialog__body{
|
|
|
|
+ padding: none !important;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|