feat:合并

This commit is contained in:
岳佳鑫
2022-11-03 17:48:39 +08:00
57 changed files with 3495 additions and 3981 deletions

View File

@@ -8,8 +8,7 @@
>
<div class="drawerMain">
<div class="header">
<div class="headerTitle" v-if="add">添加讨论</div>
<div class="headerTitle" v-else>编辑讨论</div>
<div class="headerTitle" >添加讨论</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
src="../../assets/images/basicinfo/close.png"
@@ -57,7 +56,7 @@
<span style="margin-right: 3px">讨论设置</span>
</div>
<div class="btnbox">
<a-checkbox v-model:checked="checkedC1">允许</a-checkbox>
<a-checkbox v-model:checked="checkedC1">允许</a-checkbox>
</div>
</div>
</div>
@@ -69,7 +68,7 @@
</div>
</a-drawer>
</template>
<script>
<script>
import { reactive, toRefs, ref } from "vue";
import * as api from "../../api/indexDiscuss";
import * as apiTask from "../../api/indexTaskadd";
@@ -116,13 +115,13 @@ export default {
const afterVisibleChange = (bool) => {
console.log("state", bool);
};
//创建讨论
const createDiscuss = () => {
if(!state.inputV1){
if (!state.inputV1) {
message.destroy();
return message.warning("请输入讨论名称");
}
}
let obj = {
discussName: state.inputV1, //讨论名称
discussExplain: state.textV1, //讨论说明
@@ -144,6 +143,7 @@ export default {
state.textV1 = "";
message.success("创建成功");
ctx.emit("update:adddiscussVisible", false);
//ctx.emit("changeData","传的参数");
//console.log("discussName",obj.discussName);
apiTask
.addTask({
@@ -180,7 +180,7 @@ export default {
},
};
</script>
<style lang="scss">
<style lang="scss">
.ant-table-striped :deep(.table-striped) td {
background-color: #fafafa !important;
}
@@ -260,15 +260,15 @@ export default {
}
.ant-input-textarea-show-count {
position: relative;
}
.ant-input-textarea-show-count::after {
}
.ant-input-textarea-show-count::after {
position: absolute;
right: 10px;
bottom: 0px;
}
.ant-input {
border-radius: 8px;
}
}
.ant-input {
border-radius: 8px;
}
}
}
}
@@ -305,4 +305,3 @@ export default {
}
}
</style>