@@ -104,6 +104,30 @@ const _getProjectProgress = (serviceUnitId) => {
loading2.value = false;
table2data.value = res || [];
+ if (!table2data.value.length) {
+ table2data.value = [
+ {
+ process: 'PREPARE',
+ sopNum: 0,
+ },
+ process: 'SCAN',
+ process: 'MARK',
+ process: 'FINAL',
+ process: 'FINISH',
+ ];
+ }
});
};
const loading3 = ref(false);
@@ -92,8 +92,10 @@ const fields = computed(() => {
label: '考生人数',
labelWidth: 120,
colSpan: 12,
+ type: 'number',
attrs: {
clearable: true,
+ min: 0,
},
props.isCloud
@@ -2,6 +2,7 @@
<t-input
v-model="valueData"
:disabled="!config.writable"
+ :maxlength="config.maxlength || undefined"
@change="emitChange"
></t-input>
</template>
@@ -3,6 +3,7 @@
autosize
></t-textarea>