0f908d24 by tianhaohao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents cfc2b887 aae1eeed
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-26 16:05:28
* @LastEditTime: 2024-02-02 16:51:02
-->
<!-- 批量删除弹框 -->
<template>
......@@ -16,7 +16,7 @@
</div>
</template>
<script>
import { deleteFlow } from "@/api/workFlow.js"
import { deleteSlbdcdy } from "@/api/workFlow.js"
import store from '@/store/index.js'
export default {
components: {},
......@@ -74,7 +74,7 @@
var formdata = new FormData();
formdata.append("bsmSldyList", this.selectBdcdy);
formdata.append("bsmSlsq", this.formData.bsmSlsq);
deleteFlow(formdata).then(res => {
deleteSlbdcdy(formdata).then(res => {
if (res.code == 200) {
this.$popupCacel();
store.dispatch('user/refreshPage', true);
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-31 11:28:05
* @LastEditTime: 2024-02-04 16:11:40
-->
<template>
<!-- 受理信息 -->
......@@ -168,7 +168,15 @@
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="用途:">
<el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.yt"></el-input>
<treeselect
:disabled="!viewEdit"
v-model="ruleForm.tdcbjyq.yt"
noOptionsText="暂无数据"
:default-expand-level="1"
placeholder=""
:normalizer="normalizer"
:show-count="true"
:options="dictData['tdyt']" />
</el-form-item>
</el-col>
<el-col :span="8">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-26 16:19:43
* @LastEditTime: 2024-02-02 14:56:22
-->
<template>
<div class="from-clues">
......@@ -76,7 +76,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -175,11 +176,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:05:06
* @LastEditTime: 2024-02-02 16:35:05
-->
<template>
<!-- 抵押权利信息查询 -->
......@@ -67,7 +67,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitFormClick()" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -167,11 +168,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:53:42
* @LastEditTime: 2024-02-02 16:35:20
-->
<template>
<div class="from-clues">
......@@ -81,7 +81,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
<div v-show="activeName == 'dz'">
......@@ -131,7 +132,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</div>
......@@ -314,11 +316,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:56:54
* @LastEditTime: 2024-02-02 16:35:39
-->
<template>
<div class="from-clues">
......@@ -119,7 +119,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</div>
......@@ -284,11 +285,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:58:30
* @LastEditTime: 2024-02-02 16:35:49
-->
<template>
<div class="from-clues">
......@@ -52,7 +52,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -152,11 +153,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 15:01:22
* @LastEditTime: 2024-02-02 16:36:00
-->
<template>
<div class="from-clues">
......@@ -40,7 +40,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -141,11 +142,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:49:27
* @LastEditTime: 2024-02-02 16:36:10
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -67,7 +67,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -145,11 +146,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 15:53:22
* @LastEditTime: 2024-02-02 16:36:20
-->
<template>
<div class="from-clues">
......@@ -51,7 +51,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -166,11 +167,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 15:57:34
* @LastEditTime: 2024-02-02 16:36:30
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -59,7 +59,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -158,11 +159,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:00:47
* @LastEditTime: 2024-02-02 16:36:39
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -59,7 +59,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -158,11 +159,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:02:00
* @LastEditTime: 2024-02-02 16:36:47
-->
<template>
<div class="from-clues">
......@@ -60,7 +60,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -160,11 +161,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-16 14:12:20
* @LastEditTime: 2024-02-02 16:36:54
-->
<template>
<div class="from-clues">
......@@ -46,7 +46,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -124,11 +125,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:04:42
* @LastEditTime: 2024-02-02 16:37:04
-->
<template>
<div class="from-clues">
......@@ -58,7 +58,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -159,11 +160,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:05:52
* @LastEditTime: 2024-02-02 16:37:13
-->
<template>
<div class="from-clues">
......@@ -60,7 +60,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -161,11 +162,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:08:02
* @LastEditTime: 2024-02-02 16:37:21
-->
<template>
<div class="from-clues">
......@@ -46,7 +46,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -124,11 +125,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:10:05
* @LastEditTime: 2024-02-02 16:37:29
-->
<template>
<div class="from-clues">
......@@ -58,7 +58,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -158,11 +159,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:11:09
* @LastEditTime: 2024-02-02 16:37:36
-->
<template>
<div class="from-clues">
......@@ -61,7 +61,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -138,11 +139,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:13:02
* @LastEditTime: 2024-02-02 16:37:47
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -46,7 +46,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -122,11 +123,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:13:24
* @LastEditTime: 2024-02-02 16:37:56
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -47,7 +47,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -123,11 +124,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:14:33
* @LastEditTime: 2024-02-02 16:38:03
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -46,7 +46,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -122,11 +123,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:15:38
* @LastEditTime: 2024-02-02 16:38:11
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -59,7 +59,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -158,11 +159,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 14:05:14
* @LastEditTime: 2024-02-02 16:38:20
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -59,7 +59,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -135,11 +136,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:20:18
* @LastEditTime: 2024-02-02 16:38:27
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -46,7 +46,8 @@
</div>
<div class="submit_button" style="text-align:center">
<el-button @click="close">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -127,11 +128,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:20:35
* @LastEditTime: 2024-02-02 16:38:34
-->
<template>
<div class="from-clues">
......@@ -52,7 +52,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -152,11 +153,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:21:39
* @LastEditTime: 2024-02-02 16:38:43
-->
<template>
<div class="from-clues">
......@@ -52,7 +52,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</template>
......@@ -153,11 +154,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-02-01 16:26:28
* @LastEditTime: 2024-02-02 16:38:54
-->
<template>
<div class="from-clues">
......@@ -119,7 +119,8 @@
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
</div>
</div>
</div>
......@@ -283,11 +284,14 @@
that.$refs.table.clearSelection()
}
store.dispatch('user/reMenuRefresh', true)
that.queryClick()
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
} else {
that.$message.error(res.message);
}
}).catch(() => {
that.loading = false
......