|
@@ -26,7 +26,7 @@
|
|
|
<el-button type="primary">导出成本</el-button>
|
|
|
<el-button type="primary" @click="save">保存设置</el-button>
|
|
|
<el-button type="primary">一键复制</el-button>
|
|
|
- <el-button type="primary">成本通知</el-button>
|
|
|
+ <el-button type="primary" @click="GroupIsShare">成本通知</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="cost-input">
|
|
@@ -3558,6 +3558,23 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ },
|
|
|
+ GroupIsShare() {
|
|
|
+ this.$axios.post('/api/Groups/GroupIsShare', { diid: this.diid }, {
|
|
|
+ headers: {
|
|
|
+ 'Authorization': this.token,
|
|
|
+ }
|
|
|
+ }).then(resp => {
|
|
|
+ console.log(resp.data.data, '------------------------------------');
|
|
|
+ if (resp.data.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: '操作成功!' + resp.data.msg,
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message.error('操作失败!' + resp.data.msg);
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
|