任务抽屉样式修改

This commit is contained in:
zhangyc
2022-11-16 08:28:05 +08:00
parent 9659ebef3a
commit a9ba5f6b5e
17 changed files with 1381 additions and 1267 deletions

View File

@@ -123,9 +123,9 @@ export default {
type: Boolean,
default: false,
},
editStem: {
type: Boolean,
default: false,
ballotId: {
type: Number,
default: null,
},
},
setup(props, ctx) {
@@ -204,13 +204,13 @@ export default {
};
const afterVisibleChange = (bool) => {
console.log("state", bool);
if (props.editStem == true) {
if (props.ballotId != 0) {
queryStemText()
}
};
//创建题干还是编辑题干
const creoredi = () => {
if (props.eidtStem == false) {
if (props.ballotId) {
createQueTit()
}
else {
@@ -320,13 +320,11 @@ export default {
}
//根据id获取题干信息
const queryStemText = () => {
let objqurst = {
stemId: 1,
ballotId: "",
}
api
.queryStemByStemId(objqurst)
.queryStemByStemId({ballotId:props.ballotId})
.then((res) => {
console.log('获取题干信息成功', res);
state.inputV1 = res.data.data.voteName
})
@@ -436,6 +434,7 @@ export default {
display: flex;
align-items: center;
margin-bottom: 32px;
margin-top: 32px;;
.signbox {
width: 120px;
display: flex;