|
|
|
@ -877,8 +877,12 @@ public class CollectModel {
|
|
|
|
|
if (record.getInt("job_type") == 1) record.set("job_type_name", "表单");
|
|
|
|
|
else if (record.getInt("job_type") == 2) record.set("job_type_name", "EXCEL模板");
|
|
|
|
|
|
|
|
|
|
if (record.getInt("publish_state") == 1) record.set("publish_state_name", "已发布");
|
|
|
|
|
else if (record.getInt("publish_state") == 0) {
|
|
|
|
|
if (record.getInt("publish_state") == 1) {
|
|
|
|
|
int finish_count = record.getInt("finish_count");
|
|
|
|
|
int total_count = record.getInt("total_count");
|
|
|
|
|
record.set("fill_progress", finish_count + "/" + total_count);
|
|
|
|
|
record.set("publish_state_name", "已发布");
|
|
|
|
|
} else if (record.getInt("publish_state") == 0) {
|
|
|
|
|
record.set("publish_state_name", "待发布");
|
|
|
|
|
record.set("fill_progress", "-");
|
|
|
|
|
}
|
|
|
|
|