|
@@ -110,7 +110,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="选择审批人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
|
|
|
+ <!-- <el-dialog title="选择审批人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
|
|
|
:modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
<div>
|
|
|
|
|
@@ -134,8 +134,40 @@
|
|
|
<el-button @click="checkexa = false">取 消</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
+ </el-dialog> -->
|
|
|
+ <el-dialog
|
|
|
+ title="选择审批人"
|
|
|
+ :visible.sync="checkexa"
|
|
|
+ width="100%"
|
|
|
+ style="height: 100%"
|
|
|
+ :fullscreen="true"
|
|
|
+ :destroy-on-close="true"
|
|
|
+ :modal-append-to-body="false"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ >
|
|
|
+ <div style="height: 100%">
|
|
|
+ <el-form :model="infolist" ref="infolist" style="height: 100%">
|
|
|
+ <el-form-item prop="visiblec" style="height: 100%">
|
|
|
+ <!-- <span style="width: 80px">审批人员</span> -->
|
|
|
+ <deptTreeOnly
|
|
|
+ @treeCheck="treeCheckonly"
|
|
|
+ :defaultList="defaultList"
|
|
|
+ :type="depttype"
|
|
|
+ :closeList="closeList"
|
|
|
+ ></deptTreeOnly>
|
|
|
+ <div style="text-align: center; margin-top: 30px">
|
|
|
+ <!-- <el-button type="primary" @click="checkProcessUser()"
|
|
|
+ >确 定</el-button
|
|
|
+ > -->
|
|
|
+ <el-button type="primary" @click="checkProcessUser()" v-if="!visionchonly">确 定</el-button>
|
|
|
+ <el-button type="primary" @click="checkProcessUser1()" v-if="visionchonly">确 定</el-button>
|
|
|
+ <el-button @click="checkexa = false">取 消</el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
<myMessage :messTit='messTit' @closeMessage="closeMessage" :centerDialogVisible="centerDialogVisible"
|
|
|
v-if="centerDialogVisible"></myMessage>
|
|
@@ -148,8 +180,8 @@
|
|
|
import toolList from '../../../components/toolList'
|
|
|
import myUpload from '../../../components/upload'
|
|
|
import uploadDown from '../../../components/uploadDown.vue'
|
|
|
- import deptTreeOnly from "../../../components/deptTreeOnly.vue"
|
|
|
-
|
|
|
+ // import deptTreeOnly from "../../../components/deptTreeOnly.vue"
|
|
|
+ import deptTreeOnly from "../../../components/newTree.vue";
|
|
|
export default {
|
|
|
components: {
|
|
|
mySearch,
|
|
@@ -256,12 +288,36 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ checkProcessUser() {
|
|
|
+ let _this = this;
|
|
|
+ if (_this.treeListonly.length > 1) {
|
|
|
+ _this.$message({
|
|
|
+ message: "只能选择一个人",
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ _this.dialogCliadd();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ checkProcessUser1() {
|
|
|
+ let _this = this;
|
|
|
+ if (_this.treeListonly.length > 1) {
|
|
|
+ _this.$message({
|
|
|
+ message: "只能选择一个人",
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ _this.dialogCli(2);
|
|
|
+ }
|
|
|
+ },
|
|
|
deletes() {
|
|
|
this.treeListonly = {};
|
|
|
this.closeList = !this.closeList;
|
|
|
},
|
|
|
treeCheckonly(v) {
|
|
|
this.treeListonly = v;
|
|
|
+ this.treeListonly.leaderAuditName = v[0].label;
|
|
|
+ this.treeListonly.leaderAuditNo = v[0].key;
|
|
|
},
|
|
|
|
|
|
closedia() {
|
|
@@ -648,6 +704,9 @@
|
|
|
}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
+ ::v-deep .el-dialog .flex-box{
|
|
|
+ height: 400px;
|
|
|
+ }
|
|
|
.onetab {
|
|
|
margin-bottom: 20px;
|
|
|
padding: 0 20px;
|