35e8abce by 任超

style:文件夹整理

1 parent 33e9943a
......@@ -36,7 +36,7 @@
<script>
import table from "@/utils/mixin/table";
import { getCertificateList } from "@/api/fqsq.js";
import { datas } from "./fzxxdata";
import { datas } from "../javascript/fzxxdata";
export default {
mixins: [table],
components: {},
......
<template>
<dialogBox title="退回" @submitForm="submitForm" saveButton="确认退回" width="80%"
@closeDialog="closeDialog" v-model="value">
<dialogBox title="退回" @submitForm="submitForm" saveButton="确认退回" width="80%" @closeDialog="closeDialog"
v-model="value">
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form ref="queryForm" label-width="120px">
<div>
<!-- <el-form-item label="不动产单元号:">
<p>{{item.bdcdyh}}</p>
</el-form-item> -->
<lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting
:data="tableData">
</lb-table>
<el-form-item label="退回意见:">
<el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input>
</el-form-item>
</div>
<div>
<lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting :data="tableData">
</lb-table>
<el-form-item label="退回意见:">
<el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input>
</el-form-item>
</div>
</el-form>
</div>
</div>
......@@ -23,33 +19,27 @@
</template>
<script>
import { getTaskBackNode,sendBackTask } from "@/api/fqsq.js"
import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js"
export default {
components: {
},
props: {
value: { type: Boolean, default: false },
queryForm:{type:Object},
taskId:{type:String},
bsmBusiness:{type:String}
queryForm: { type: Object },
taskId: { type: String },
bsmBusiness: { type: String }
},
data () {
const columns=[
// {
// label: '',
// align: 'center',
// render: (h, scope) => {
// return <el-radio label={scope.row.taskid} v-model={this.radioVal} >{''}</el-radio>
// }
// },
const columns = [
{
label: "",
width: "36px",
render: (h, scope) => {
return (
<div class="orgColumn">
<el-radio v-model={this.radioVal} label={scope.row.taskid} onChange={() => {this.radioClick(scope.row);
}}>
<el-radio v-model={this.radioVal} label={scope.row.taskid} onChange={() => {
this.radioClick(scope.row);
}}>
{" "}
&ensp;
</el-radio>
......@@ -65,62 +55,61 @@ export default {
prop: "assignee",
label: "办理人",
},
];
return {
columns,
radioVal:"",
outstepopinion:"",
tableData:[],
list:{
bsmSlsq:"",
backNodeList:[],
},
sumbitList:{},
activityId:"",
columns,
radioVal: "",
outstepopinion: "",
tableData: [],
list: {
bsmSlsq: "",
backNodeList: [],
},
sumbitList: {},
activityId: "",
}
},
mounted(){
if(this.$route.query.bsmSlsq){
this.list.bsmSlsq = this.$route.query.bsmSlsq
mounted () {
if (this.$route.query.bsmSlsq) {
this.list.bsmSlsq = this.$route.query.bsmSlsq
}
},
methods: {
tablelistFn(){
getTaskBackNode({bsmBusiness:this.bsmBusiness}).then(res => {
tablelistFn () {
getTaskBackNode({ bsmBusiness: this.bsmBusiness }).then(res => {
if (res.code === 200) {
this.tableData = res.result
this.tableData = res.result
}
})
},
radioClick(scope){
radioClick (scope) {
this.activityId = scope.activityId
this.sumbitList = scope
},
submitForm () {
if(this.activityId==undefined){
if (this.activityId == undefined) {
this.$message.error('请至少选择一条数据');
return
}
this.list.backNodeList.push({
id:this.taskId,
taskid:this.activityId,
processInstanceId:this.sumbitList.processInstanceId,
bsmBusiness:this.bsmBusiness,
outstepopinion:this.outstepopinion
})
id: this.taskId,
taskid: this.activityId,
processInstanceId: this.sumbitList.processInstanceId,
bsmBusiness: this.bsmBusiness,
outstepopinion: this.outstepopinion
})
sendBackTask(this.list).then(res => {
if (res.code === 200) {
this.$message.success('退回成功')
setTimeout(() => {
window.opener = null;
window.open("about:blank", "_self");
window.close();
this.$emit('input', false)
window.open("about:blank", "_self");
window.close();
this.$emit('input', false)
}, 1000);
}else{
} else {
this.$message.error(res.message)
}
})
......@@ -128,12 +117,13 @@ export default {
closeDialog () {
this.$emit("input", false);
},
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
.textArea {
/deep/.el-textarea__inner {
min-height: 90px !important;
......
......@@ -28,7 +28,7 @@
<script>
import table from "@/utils/mixin/table";
import { getCertificateList, issueCertificate } from "@/api/fqsq.js";
import { datas } from "./fzxxdata";
import { datas } from "../javascript/fzxxdata";
import { mapGetters } from 'vuex'
export default {
mixins: [table],
......
......@@ -49,7 +49,7 @@
</template>
<script>
import { datas } from "./zsyl.js";
import { datas } from "../javascript/zsyl.js";
import { readYsxlh,certificate } from "@/api/fqsq.js"
export default {
components: {
......
......@@ -6,7 +6,7 @@ export function getForm (tabName) {
form = require("@/views/ywbl/jsydsyq/slxx.vue");
break;
case "slxxCfdj":
form = require("@/views/workflow/components/slxxCfdj.vue");
form = require("@/views/ywbl/cfdj/slxx.vue");
break;
case "clxx":
form = require("@/views/workflow/components/clxx.vue");
......
import filter from '@/utils/filter.js'
class data extends filter {
constructor() {
super()
......
......@@ -129,7 +129,7 @@
</div>
</template>
<script>
import InformationTable from "./InformationTable";
import InformationTable from "@/views/workflow/components/InformationTable";
import { Init, fristReg } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
......
......@@ -168,7 +168,6 @@ import { Init, fristReg } from "@/api/jsydsyqFlow.js";
import { mapGetters } from "vuex";
export default {
async created () {
//var bsmSldy = this.$parent._data.unitData[0].bsmSldy;
this.propsParam = this.$attrs;
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.bsmSldy);
......