mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
合并
This commit is contained in:
@@ -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 {
|
||||
@@ -321,13 +321,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
|
||||
})
|
||||
@@ -438,6 +436,7 @@ export default {
|
||||
align-items: center;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
margin-top: 32px;;
|
||||
.signbox {
|
||||
width: 120px;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user