85972a8e by xiaomiao

--no commit message

1 parent dcde6da8
......@@ -20,7 +20,8 @@
此环节为流程最后环节,转出后流程将结束
</el-form-item>
</el-form>
<div class="invalid-reson">审批意见:</div>
<div v-if="this.formData.showidea">
<div class="invalid-reson">审批意见:</div>
<el-input
class="opinion"
v-model="shyj"
......@@ -28,6 +29,8 @@
type="textarea"
:rows="4"
></el-input>
</div>
<!-- <el-button class="opinion_btn" @click="commonOpinion">常用意见</el-button> -->
<el-button style="float: right" @click="cancelBack">取消转出</el-button>
<el-button type="primary" @click="submitForm" style="float: right"
......
......@@ -387,7 +387,6 @@ export default {
dname: "历史",
},
],
tdxz: null,
isShow: false,
disabled: true,
czrOptions: [],
......@@ -462,11 +461,11 @@ export default {
this.ssqlxxshow = false;
}
this.$endLoading();
if (this.ruleForm.tdytqxList.length > 0) {
this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
} else {
this.tdxz = null;
}
// if (this.ruleForm.tdytqxList.length > 0) {
// this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
// } else {
// this.tdxz = null;
// }
this.isShow = true;
}
});
......
......@@ -19,7 +19,7 @@ import {
} from "@/api/workFlow.js";
import { mapGetters } from 'vuex'
export default {
data () {
data() {
return {
//是否开启材料分屏
splitScreen: false,
......@@ -35,10 +35,12 @@ export default {
batchButtonName: '',
// 受理申请信息
slsq: {},
ableOperation: true
ableOperation: true,
showidea: false
}
},
mounted () {
mounted() {
this.flowInitParam();
},
methods: {
......@@ -47,7 +49,7 @@ export default {
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam () {
flowInitParam() {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -58,6 +60,10 @@ export default {
stepExpandInfo(formdata).then((res) => {
if (res.code === 200) {
this.leftButtonList = res.result.button;
if (res.result.properties.length) {
this.showidea = res.result.properties[0].value
}
this.rightButtonList = res.result.operation;
let arr = this.rightButtonList.filter((item) => {
return item.name == "删除"
......@@ -79,7 +85,7 @@ export default {
* @param {*} item
* @author: renchao
*/
operation (item) {
operation(item) {
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
let that = this;
......@@ -107,21 +113,21 @@ export default {
})
break;
case "B2": //材料分屏按钮
this.splitScreen = this.splitScreen ? false : true;
this.$store.dispatch("app/settScreen", this.splitScreen);
if (this.splitScreen) {
this.splitScreen = this.splitScreen ? false : true;
this.$store.dispatch("app/settScreen", this.splitScreen);
if (this.splitScreen) {
//如果当前选项卡为材料信息内容,递减到上一个选项卡内容
if (this.tabName == this.clxxTab.value) {
this.tabName = this.tabList[this.clxxIndex - 1].value;
this.getFromRouter(this.tabList[this.clxxIndex - 1].value);
//如果当前选项卡为材料信息内容,递减到上一个选项卡内容
if (this.tabName == this.clxxTab.value) {
this.tabName = this.tabList[this.clxxIndex - 1].value;
this.getFromRouter(this.tabList[this.clxxIndex - 1].value);
}
//删除材料信息选项卡数据
this.tabList.splice(this.clxxIndex, 1);
} else {
//新增材料信息选项卡数据
this.tabList.splice(this.clxxIndex, 0, this.clxxTab);
}
//删除材料信息选项卡数据
this.tabList.splice(this.clxxIndex, 1);
} else {
//新增材料信息选项卡数据
this.tabList.splice(this.clxxIndex, 0, this.clxxTab);
}
// this.closefp()
// if (this.splitScreen) {
......@@ -289,7 +295,7 @@ export default {
* @description: del
* @author: renchao
*/
del () {
del() {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
this.$confirm("确定要删除吗, 是否继续?", "提示", {
......@@ -324,24 +330,27 @@ export default {
* @param {*} obj
* @author: renchao
*/
sendToNext (obj) {
sendToNext(obj) {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:obj,
obj: obj,
bsmSlsq: this.bsmSlsq,
tabList: this.tabList
}, '800px', true)
tabList: this.tabList,
tshowidea: this.showidea
}, '600px', true)
},
//转出最后一个流程
/**
* @description: 转出最后一个流程
* @author: renchao
*/
sendToEnd () {
sendToEnd() {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj:"",
obj: "",
bsmSlsq: this.bsmSlsq,
tabList: this.tabList
}, '800px', true)
tabList: this.tabList,
showidea: this.showidea
}, '600px', true)
},
//批量操作
......@@ -349,7 +358,7 @@ export default {
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
handleBatchDel() {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
width: "50%",
btnShow: false,
......@@ -363,7 +372,7 @@ export default {
* @param {*} file
* @author: renchao
*/
handleChange (file) {
handleChange(file) {
var formdata = new FormData();
formdata.append("file", file.raw);
formdata.append("bsmSldy", this.currentSelectProps.bsmSldy);
......@@ -382,7 +391,7 @@ export default {
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
beforeUpload(file) {
return true;
}
}
......