mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:修改归属权及查看权
This commit is contained in:
27
package-lock.json
generated
27
package-lock.json
generated
@@ -13,6 +13,7 @@
|
|||||||
"axios": "^1.1.3",
|
"axios": "^1.1.3",
|
||||||
"core-js": "^3.8.3",
|
"core-js": "^3.8.3",
|
||||||
"element-plus": "^2.2.17",
|
"element-plus": "^2.2.17",
|
||||||
|
"element-resize-detector": "^1.2.4",
|
||||||
"html2canvas": "^1.4.1",
|
"html2canvas": "^1.4.1",
|
||||||
"jquery": "^3.6.1",
|
"jquery": "^3.6.1",
|
||||||
"qrcode.vue": "^3.3.3",
|
"qrcode.vue": "^3.3.3",
|
||||||
@@ -3536,6 +3537,11 @@
|
|||||||
"integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==",
|
"integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/batch-processor": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/batch-processor/-/batch-processor-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA=="
|
||||||
|
},
|
||||||
"node_modules/big.js": {
|
"node_modules/big.js": {
|
||||||
"version": "5.2.2",
|
"version": "5.2.2",
|
||||||
"resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz",
|
"resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz",
|
||||||
@@ -4934,6 +4940,14 @@
|
|||||||
"resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
|
"resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
|
||||||
"integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ=="
|
"integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ=="
|
||||||
},
|
},
|
||||||
|
"node_modules/element-resize-detector": {
|
||||||
|
"version": "1.2.4",
|
||||||
|
"resolved": "https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz",
|
||||||
|
"integrity": "sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==",
|
||||||
|
"dependencies": {
|
||||||
|
"batch-processor": "1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/emoji-regex": {
|
"node_modules/emoji-regex": {
|
||||||
"version": "8.0.0",
|
"version": "8.0.0",
|
||||||
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||||
@@ -14162,6 +14176,11 @@
|
|||||||
"integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==",
|
"integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"batch-processor": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/batch-processor/-/batch-processor-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA=="
|
||||||
|
},
|
||||||
"big.js": {
|
"big.js": {
|
||||||
"version": "5.2.2",
|
"version": "5.2.2",
|
||||||
"resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz",
|
"resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz",
|
||||||
@@ -15332,6 +15351,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"element-resize-detector": {
|
||||||
|
"version": "1.2.4",
|
||||||
|
"resolved": "https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz",
|
||||||
|
"integrity": "sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==",
|
||||||
|
"requires": {
|
||||||
|
"batch-processor": "1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"emoji-regex": {
|
"emoji-regex": {
|
||||||
"version": "8.0.0",
|
"version": "8.0.0",
|
||||||
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
"axios": "^1.1.3",
|
"axios": "^1.1.3",
|
||||||
"core-js": "^3.8.3",
|
"core-js": "^3.8.3",
|
||||||
"element-plus": "^2.2.17",
|
"element-plus": "^2.2.17",
|
||||||
|
"element-resize-detector": "^1.2.4",
|
||||||
"html2canvas": "^1.4.1",
|
"html2canvas": "^1.4.1",
|
||||||
"jquery": "^3.6.1",
|
"jquery": "^3.6.1",
|
||||||
"qrcode.vue": "^3.3.3",
|
"qrcode.vue": "^3.3.3",
|
||||||
|
|||||||
BIN
src/assets/images/projectadd/go.png
Normal file
BIN
src/assets/images/projectadd/go.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 264 B |
BIN
src/assets/images/projectadd/pickUp.png
Normal file
BIN
src/assets/images/projectadd/pickUp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 275 B |
@@ -1021,17 +1021,17 @@ export default {
|
|||||||
state.selectedRowKeys2 = selectedRowKeys;
|
state.selectedRowKeys2 = selectedRowKeys;
|
||||||
};
|
};
|
||||||
|
|
||||||
const getMousePosition = () => {
|
const getClientHeight = () => {
|
||||||
state.screenHeight = document.body.clientHeight;
|
state.screenHeight = document.body.clientHeight;
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// console.log("11111", 1);
|
// console.log("11111", 1);
|
||||||
window.addEventListener("resize", getMousePosition, false);
|
window.addEventListener("resize", getClientHeight, false);
|
||||||
// judgeUrl();
|
// judgeUrl();
|
||||||
});
|
});
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
window.removeEventListener("resize", getMousePosition, false);
|
window.removeEventListener("resize", getClientHeight, false);
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
|
|||||||
@@ -80,7 +80,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs, ref } from "vue";
|
import { reactive, toRefs, ref } from "vue";
|
||||||
const columns1 = [
|
const columns1 = [
|
||||||
@@ -205,9 +206,9 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.ant-table-striped :deep(.table-striped) td {
|
// .ant-table-striped :deep(.table-striped) td {
|
||||||
background-color: #fafafa !important;
|
// background-color: #fafafa !important;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.corpowerlistDrawer {
|
.corpowerlistDrawer {
|
||||||
.drawerMain {
|
.drawerMain {
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="2" tab="添加组织" force-render>
|
<!-- <a-tab-pane key="2" tab="添加组织" force-render>
|
||||||
<div class="tab2">
|
<div class="tab2">
|
||||||
<div class="t1">
|
<div class="t1">
|
||||||
<div class="organize">选择组织:</div>
|
<div class="organize">选择组织:</div>
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 选完后出现下面 -->
|
|
||||||
<div class="searchdown">
|
<div class="searchdown">
|
||||||
<div class="btns">
|
<div class="btns">
|
||||||
<div class="btn1">
|
<div class="btn1">
|
||||||
@@ -213,19 +213,7 @@
|
|||||||
<div class="wz">重置</div>
|
<div class="wz">重置</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="line">
|
|
||||||
<div class="inline">
|
|
||||||
<div class="left1">
|
|
||||||
<div class="img"></div>
|
|
||||||
<div class="text" style="margin-left: 10px">已选择</div>
|
|
||||||
<div class="text2">2</div>
|
|
||||||
<div class="text">项</div>
|
|
||||||
<div class="text3">列表选项总计:</div>
|
|
||||||
<div class="text4">9条</div>
|
|
||||||
</div>
|
|
||||||
<div class="right1">清空</div>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
<div class="tabb" style="margin-top: 16px">
|
<div class="tabb" style="margin-top: 16px">
|
||||||
<a-table
|
<a-table
|
||||||
style="border: 1px solid #f2f6fe"
|
style="border: 1px solid #f2f6fe"
|
||||||
@@ -256,7 +244,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane> -->
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -50,11 +50,7 @@
|
|||||||
@expand="expandTable"
|
@expand="expandTable"
|
||||||
:scroll="{ x: 900 }"
|
:scroll="{ x: 900 }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{
|
|
||||||
columnWidth: 30,
|
|
||||||
selectedRowKeys: selectedRowKeys,
|
|
||||||
onChange: onSelectChange,
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -562,7 +558,7 @@ export default {
|
|||||||
.classify {
|
.classify {
|
||||||
// margin-left: 11px !important;
|
// margin-left: 11px !important;
|
||||||
// padding-left: 9px !important;
|
// padding-left: 9px !important;
|
||||||
padding-left: 0px !important;
|
padding-left: 20px !important;
|
||||||
}
|
}
|
||||||
.ant-checkbox-wrapper {
|
.ant-checkbox-wrapper {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<div class="tableBox" style="margin-top: 10px">
|
<div class="tableBox" style="margin-top: 10px">
|
||||||
<a-table
|
<a-table
|
||||||
style="border: 1px solid #f2f6fe"
|
style="border: 1px solid #f2f6fe;"
|
||||||
:columns="tableDataFunc()"
|
:columns="tableDataFunc()"
|
||||||
:data-source="tableData"
|
:data-source="tableData"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
@@ -50,11 +50,7 @@
|
|||||||
@expand="expandTable"
|
@expand="expandTable"
|
||||||
:scroll="{ x: 900 }"
|
:scroll="{ x: 900 }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{
|
|
||||||
columnWidth: 30,
|
|
||||||
selectedRowKeys: selectedRowKeys,
|
|
||||||
onChange: onSelectChange,
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="tableBox">
|
<div class="tableBox">
|
||||||
@@ -107,7 +103,7 @@
|
|||||||
<div class="close_exit" @click="closeCancelModal"></div>
|
<div class="close_exit" @click="closeCancelModal"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<span>是否取消当前用户对此数据的权限</span>
|
<span>您确定要取消该用户的授权吗</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="del_btnbox">
|
<div class="del_btnbox">
|
||||||
<div class="del_btn btn1">
|
<div class="del_btn btn1">
|
||||||
@@ -255,13 +251,13 @@ export default {
|
|||||||
// width: "30%",
|
// width: "30%",
|
||||||
key: "name",
|
key: "name",
|
||||||
width: 70,
|
width: 70,
|
||||||
align: "left",
|
// align: "left",
|
||||||
className: "classify",
|
className: "classify",
|
||||||
scopedSlots: { customRender: "action" }, //引入的插槽
|
scopedSlots: { customRender: "action" }, //引入的插槽
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
// console.log(text.record.checked1);
|
// console.log(text.record.checked1);
|
||||||
return (
|
return (
|
||||||
<div class="racona">
|
<div class="racona" >
|
||||||
<span> {text.record.name}</span>
|
<span> {text.record.name}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -450,7 +446,7 @@ export default {
|
|||||||
.classify {
|
.classify {
|
||||||
// margin-left: 11px !important;
|
// margin-left: 11px !important;
|
||||||
// padding-left: 9px !important;
|
// padding-left: 9px !important;
|
||||||
padding-left: 0px !important;
|
padding-left: 20px !important;
|
||||||
}
|
}
|
||||||
.ant-checkbox-wrapper {
|
.ant-checkbox-wrapper {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -234,17 +234,17 @@ export default {
|
|||||||
const closeModal = () => {
|
const closeModal = () => {
|
||||||
state.visible = false;
|
state.visible = false;
|
||||||
};
|
};
|
||||||
const getMousePosition = () => {
|
const getClientHeight = () => {
|
||||||
state.screenHeight = document.body.clientHeight;
|
state.screenHeight = document.body.clientHeight;
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// console.log("11111", 1);
|
// console.log("11111", 1);
|
||||||
window.addEventListener("resize", getMousePosition, false);
|
window.addEventListener("resize", getClientHeight, false);
|
||||||
// judgeUrl();
|
// judgeUrl();
|
||||||
});
|
});
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
window.removeEventListener("resize", getMousePosition, false);
|
window.removeEventListener("resize", getClientHeight, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -51,7 +51,10 @@
|
|||||||
<div class="imgIcon"></div>
|
<div class="imgIcon"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="boxs_right">
|
<div class="boxs_right">
|
||||||
<div class="imgIcon" @click="deleteChapter(element.chapterId)"></div>
|
<div
|
||||||
|
class="imgIcon"
|
||||||
|
@click="deleteChapter(element.chapterId)"
|
||||||
|
></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="items2">
|
<div class="items2">
|
||||||
@@ -1776,16 +1779,20 @@ export default {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
//删除关卡
|
//删除关卡
|
||||||
const deleteChapter=(chapterId)=>{
|
const deleteChapter = (chapterId) => {
|
||||||
let obj={
|
console.log('chapterId',chapterId)
|
||||||
chapterId:chapterId
|
let obj = {
|
||||||
}
|
chapterId: chapterId,
|
||||||
api.deleteChapter(obj).then(res=>{
|
};
|
||||||
console.log('删除关卡成功',res)
|
api
|
||||||
}).catch(err=>{
|
.deleteChapter(obj)
|
||||||
console.log('删除关卡失败',err)
|
.then((res) => {
|
||||||
})
|
console.log("删除关卡成功", res);
|
||||||
}
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
console.log("删除关卡失败", err);
|
||||||
|
});
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
// tableDataFunc,
|
// tableDataFunc,
|
||||||
|
|||||||
Reference in New Issue
Block a user