|
@@ -50,6 +50,7 @@
|
|
|
<span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
<span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
|
|
+ <span v-if="scope.row.Type=='6'" style="color:#E6A23C">企业注册-待审批</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<!--<el-table-column label="当前状态" prop="Status" align="center">-->
|
|
<!--<el-table-column label="当前状态" prop="Status" align="center">-->
|
|
@@ -93,6 +94,7 @@
|
|
|
<span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
<span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
|
|
+ <span v-if="scope.row.Type=='6'" style="color:#E6A23C">企业注册-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="类别" prop="SupplierTypeCode">
|
|
<el-table-column label="类别" prop="SupplierTypeCode">
|
|
@@ -119,6 +121,122 @@
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
|
|
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
+ <!-- 公司审核信息 -->
|
|
|
|
|
+ <el-dialog title="企业注册信息" :visible.sync="dialogVisible">
|
|
|
|
|
+ <el-form label-width="135px" ref="formData" :model="formData" size="small">
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="公司名称" label-width="150px" style="width: 100%" prop="SupplierName">
|
|
|
|
|
+ <el-input v-model="formData.SupplierName" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="统一社会信用代码" label-width="150px" style="width: 100%" prop="CommercialNo">
|
|
|
|
|
+ <el-input v-model="formData.CommercialNo" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="法定代表人姓名" label-width="150px" style="width: 100%" prop="LegalPerson">
|
|
|
|
|
+ <el-input v-model="formData.LegalPerson" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="法定代表人身份证号" label-width="150px" style="width: 100%" prop="LegalPersonId">
|
|
|
|
|
+ <el-input v-model="formData.LegalPersonId" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="法定代表人身份证扫描件" label-width="170px" prop="LegalPersonImg">
|
|
|
|
|
+ <div class="block" style="overflow: auto;">
|
|
|
|
|
+ <template>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12" v-for="(url, index) in urlList" :key="index">
|
|
|
|
|
+ <span @click="bigImg(url)">
|
|
|
|
|
+ <el-image style="width: 170px; height: 100px; cursor: pointer" :src="url"></el-image>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="联系人姓名" label-width="150px" style="width: 100%" prop="ContactName">
|
|
|
|
|
+ <el-input v-model="formData.ContactName" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="联系人身份证号" label-width="150px" style="width: 100%" prop="ContactId">
|
|
|
|
|
+ <el-input v-model="formData.ContactId" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="联系人身份证扫描件" label-width="170px" prop="ContactImg">
|
|
|
|
|
+ <div class="block" style="overflow: auto;">
|
|
|
|
|
+ <template>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12" v-for="(url, index) in urlList2" :key="index">
|
|
|
|
|
+ <span @click="bigImg(url)">
|
|
|
|
|
+ <el-image style="width: 170px; height: 100px; cursor: pointer" :src="url"></el-image>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="账号/Email" label-width="150px" style="width: 100%" prop="UserName">
|
|
|
|
|
+ <el-input v-model="formData.UserName" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="用户名" label-width="150px" style="width: 100%" prop="UserRealName">
|
|
|
|
|
+ <el-input v-model="formData.UserRealName" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="手机号" style="width: 100%" prop="UserTelephone">
|
|
|
|
|
+ <el-input v-model="formData.UserTelephone" disabled></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <!--<el-row style="margin-left: 35%; margin-top: 10px; margin-bottom: 20px;">-->
|
|
|
|
|
+ <!--<el-button size="mini" @click="cancelOption" v-if="formData.CheckStatus==0">审核未通过</el-button>-->
|
|
|
|
|
+ <!--<el-button size="mini" type="primary" @click="ensureOption" style="margin-left: 20%;" v-if="formData.CheckStatus==0">审核通过</el-button>-->
|
|
|
|
|
+ <!--</el-row>-->
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer" style="margin-top: -25px">
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="ComAudit">审核</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+ <el-dialog title="审核" :visible.sync="Auditshow">
|
|
|
|
|
+ <el-form :model="shenheForm" label-width="100px" ref="shenheForm">
|
|
|
|
|
+ <el-form-item label="审核状态">
|
|
|
|
|
+ <template>
|
|
|
|
|
+ <el-radio class="radio" v-model="shenheForm.SuccessStatus" :label="1">通过</el-radio>
|
|
|
|
|
+ <el-radio class="radio" v-model="shenheForm.SuccessStatus" :label="2">未通过</el-radio>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="意见" :rules="[{ required: true, message: '请输入审批意见', trigger: 'blur' }]">
|
|
|
|
|
+ <el-input type="textarea" v-model="shenheForm.AuditorRemark" placeholder="请输入审核说明"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer" style="margin-top: -25px">
|
|
|
|
|
+ <el-button size="small" @click="Auditshow = false">取 消</el-button>
|
|
|
|
|
+ <el-button type="primary" size="small" @click="makeSure()">确 定</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+
|
|
|
|
|
+ <!--点击图片放大区域-->
|
|
|
|
|
+ <el-dialog
|
|
|
|
|
+ title="法定代表人身份证扫描件"
|
|
|
|
|
+ :visible.sync="legalPersonImgVisible"
|
|
|
|
|
+ width="40%">
|
|
|
|
|
+ <el-image :src="bigUrl"></el-image>
|
|
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -137,6 +255,12 @@
|
|
|
|
|
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ urlList: [], // 照片地址数组
|
|
|
|
|
+ urlList2: [], // 照片地址数组2
|
|
|
|
|
+ bigUrl: '',
|
|
|
|
|
+ Auditshow: false,
|
|
|
|
|
+ dialogVisible: false,
|
|
|
|
|
+ legalPersonImgVisible: false,
|
|
|
tabindex: '',
|
|
tabindex: '',
|
|
|
activeName: 'first',
|
|
activeName: 'first',
|
|
|
currentDate: new Date(),
|
|
currentDate: new Date(),
|
|
@@ -146,6 +270,10 @@
|
|
|
size: 10,
|
|
size: 10,
|
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
|
currentItemCount: 0,
|
|
currentItemCount: 0,
|
|
|
|
|
+ shenheForm: {
|
|
|
|
|
+ SuccessStatus: 1,
|
|
|
|
|
+ AuditorRemark: ''
|
|
|
|
|
+ },
|
|
|
// 列表排序
|
|
// 列表排序
|
|
|
Column: {
|
|
Column: {
|
|
|
Order: '',
|
|
Order: '',
|
|
@@ -166,6 +294,65 @@
|
|
|
ModifiedBy: ''
|
|
ModifiedBy: ''
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ Id: '', //int
|
|
|
|
|
+ UserId: '', //int
|
|
|
|
|
+ UserName: '', //账号/Email
|
|
|
|
|
+ UserRealName: '', //用户真实姓名
|
|
|
|
|
+ UserTelephone: '', //用户手机号
|
|
|
|
|
+ UserPass: '',
|
|
|
|
|
+ UserPass2: '',
|
|
|
|
|
+ SupplierName: '',
|
|
|
|
|
+ OilCertificateNo: '',
|
|
|
|
|
+ Grade: '',
|
|
|
|
|
+ MgrUnit: '',
|
|
|
|
|
+ OperType: '',
|
|
|
|
|
+ Country: '',
|
|
|
|
|
+ CommercialNo: '',
|
|
|
|
|
+ OrganCode: '',
|
|
|
|
|
+ CountryTaxNo: '',
|
|
|
|
|
+ LocalTaxNo: '',
|
|
|
|
|
+ Address: '',
|
|
|
|
|
+ DetailAddress: '',
|
|
|
|
|
+ Province: '',
|
|
|
|
|
+ City: '',
|
|
|
|
|
+ Street: '',
|
|
|
|
|
+ HouseNo: '',
|
|
|
|
|
+ ZipCode: '',
|
|
|
|
|
+ BusinessScope: '',
|
|
|
|
|
+ LegalPerson: '',
|
|
|
|
|
+ LegalPersonId: '',
|
|
|
|
|
+ LegalPersonURL: '',
|
|
|
|
|
+ CategoryCode: '',
|
|
|
|
|
+ CategoryName: '',
|
|
|
|
|
+ RegCapital: 0, //float32
|
|
|
|
|
+ Currency: '',
|
|
|
|
|
+ ContactName: '',
|
|
|
|
|
+ ContactId: '',
|
|
|
|
|
+ ContactURL: '',
|
|
|
|
|
+ CompanyType: '',
|
|
|
|
|
+ SetupTime: '', //time
|
|
|
|
|
+ DepositBank: '',
|
|
|
|
|
+ BankAccount: '',
|
|
|
|
|
+ EMail: '',
|
|
|
|
|
+ BankCreditRating: '',
|
|
|
|
|
+ Mobile: '',
|
|
|
|
|
+ Telphone: '',
|
|
|
|
|
+ Fax: '',
|
|
|
|
|
+ CompanyTel: '',
|
|
|
|
|
+ QQ: '',
|
|
|
|
|
+ CompanyUrl: '',
|
|
|
|
|
+ Remark: '',
|
|
|
|
|
+ CheckStatus: 0, // 二级单位审核状态,0:未通过,1:通过 默认0
|
|
|
|
|
+ IsDelete: 0, // 删除状态,0正常,1已删除
|
|
|
|
|
+ LinkAddress: '',
|
|
|
|
|
+ LinkProvince: '',
|
|
|
|
|
+ LinkCity: '',
|
|
|
|
|
+ LinkStreet: '',
|
|
|
|
|
+ LinkHouseNo: '',
|
|
|
|
|
+ LinkZipCode: '',
|
|
|
|
|
+ HseTraining: ''
|
|
|
|
|
+ },
|
|
|
entityList: []
|
|
entityList: []
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -173,6 +360,34 @@
|
|
|
this.initDatas()
|
|
this.initDatas()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ initDatas () {
|
|
|
|
|
+ // 分页及列表条件
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ _currentPage: this.currentPage,
|
|
|
|
|
+ _size: this.size,
|
|
|
|
|
+ Order: this.Column.Order,
|
|
|
|
|
+ Prop: this.Column.Prop,
|
|
|
|
|
+ Statustype: 2
|
|
|
|
|
+ }
|
|
|
|
|
+ let myCreateOn = []
|
|
|
|
|
+ // 解析时间
|
|
|
|
|
+ if (this.CreateOn.length === 2) {
|
|
|
|
|
+ this.CreateOn[1].setHours(23)
|
|
|
|
|
+ this.CreateOn[1].setMinutes(59)
|
|
|
|
|
+ this.CreateOn[1].setSeconds(59)
|
|
|
|
|
+ myCreateOn.push(this.formatDateTime(this.CreateOn[0]))
|
|
|
|
|
+ myCreateOn.push(this.formatDateTime(this.CreateOn[1]))
|
|
|
|
|
+ }
|
|
|
|
|
+ // 查询条件
|
|
|
|
|
+ Object.assign(params, this.searchForm)
|
|
|
|
|
+ // 访问接口
|
|
|
|
|
+ api.getTodoList(params, this.$axios).then(res => {
|
|
|
|
|
+ this.entityList = res.data.items
|
|
|
|
|
+ this.currentItemCount = res.data.currentItemCount
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
handleSearch () {
|
|
handleSearch () {
|
|
|
this.currentPage = 1
|
|
this.currentPage = 1
|
|
|
if (this.tabindex === '0') {
|
|
if (this.tabindex === '0') {
|
|
@@ -217,37 +432,124 @@
|
|
|
this.$router.push('/oilsupplier/infochangech/' + val.Id + '/auditoperation?InfoStatus='+ val.Status+'&SupId='+val.SupplierId)
|
|
this.$router.push('/oilsupplier/infochangech/' + val.Id + '/auditoperation?InfoStatus='+ val.Status+'&SupId='+val.SupplierId)
|
|
|
} else if (val.Type === '5') {
|
|
} else if (val.Type === '5') {
|
|
|
this.$router.push('oilsupplier/qualchange/' + val.SupplierId + '/auditoperation?certid=' + val.CertId + '&QualId=' + val.Id + '&QualStatus=' + val.Status)
|
|
this.$router.push('oilsupplier/qualchange/' + val.SupplierId + '/auditoperation?certid=' + val.CertId + '&QualId=' + val.Id + '&QualStatus=' + val.Status)
|
|
|
|
|
+ } else if (val.Type === '6') {
|
|
|
|
|
+ this.initDataregister(val.Id)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- finishedData () {
|
|
|
|
|
- // 分页及列表条件
|
|
|
|
|
- let params = {
|
|
|
|
|
- _currentPage: this.currentPage,
|
|
|
|
|
- _size: this.size,
|
|
|
|
|
- Order: this.Column.Order,
|
|
|
|
|
- Prop: this.Column.Prop,
|
|
|
|
|
- Statustype: 2
|
|
|
|
|
|
|
+ bigImg (url) {
|
|
|
|
|
+ this.bigUrl = url
|
|
|
|
|
+ this.legalPersonImgVisible = true
|
|
|
|
|
+ },
|
|
|
|
|
+ initDataregister (Id) {
|
|
|
|
|
+ let _this = this
|
|
|
|
|
+ const params = {
|
|
|
|
|
+ _currentPage: _this.currentPage,
|
|
|
|
|
+ _size: _this.size,
|
|
|
|
|
+ Name: _this.searchForm.SupplierName
|
|
|
}
|
|
}
|
|
|
- let myCreateOn = []
|
|
|
|
|
- // 解析时间
|
|
|
|
|
- if (this.CreateOn.length === 2) {
|
|
|
|
|
- this.CreateOn[1].setHours(23)
|
|
|
|
|
- this.CreateOn[1].setMinutes(59)
|
|
|
|
|
- this.CreateOn[1].setSeconds(59)
|
|
|
|
|
- myCreateOn.push(this.formatDateTime(this.CreateOn[0]))
|
|
|
|
|
- myCreateOn.push(this.formatDateTime(this.CreateOn[1]))
|
|
|
|
|
|
|
+ this.$axios.get("/register/get/" + Id)
|
|
|
|
|
+ .then(function (response) {
|
|
|
|
|
+ _this.formData = response.data
|
|
|
|
|
+ _this.dialogVisible = true
|
|
|
|
|
+ // 处理URL
|
|
|
|
|
+ _this.urlList = []
|
|
|
|
|
+ let urlArr = _this.formData.LegalPersonURL.split('&')
|
|
|
|
|
+ if (urlArr) {
|
|
|
|
|
+ for (let i = 0; i < urlArr.length; i++) {
|
|
|
|
|
+ let tempURL = urlArr[i].split('|')
|
|
|
|
|
+ if (tempURL[0].indexOf('/upfile') === 0) {
|
|
|
|
|
+ const myDomain = window.location.host
|
|
|
|
|
+ _this.urlList.push('http://' + myDomain + tempURL[0])
|
|
|
|
|
+ } else {
|
|
|
|
|
+ _this.urlList.push('http://' + tempURL[0])
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ _this.urlList2 = []
|
|
|
|
|
+ let urlArr2 = _this.formData.ContactURL.split('&')
|
|
|
|
|
+ if (urlArr2) {
|
|
|
|
|
+ for (let i = 0; i < urlArr2.length; i++) {
|
|
|
|
|
+ let tempURL = urlArr2[i].split('|')
|
|
|
|
|
+ if (tempURL[0].indexOf('/upfile') === 0) {
|
|
|
|
|
+ const myDomain = window.location.host
|
|
|
|
|
+ _this.urlList2.push('http://' + myDomain + tempURL[0])
|
|
|
|
|
+ } else {
|
|
|
|
|
+ _this.urlList2.push('http://' + tempURL[0])
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(function (error) {
|
|
|
|
|
+ console.log(error)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ ComAudit () {
|
|
|
|
|
+ this.Auditshow = true
|
|
|
|
|
+ },
|
|
|
|
|
+ // 审核
|
|
|
|
|
+ makeSure () {
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 1) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请填写审批意见!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
}
|
|
}
|
|
|
- // 查询条件
|
|
|
|
|
- Object.assign(params, this.searchForm)
|
|
|
|
|
- api.getMyTaskFinished(params, this.$axios).then(res => {
|
|
|
|
|
- this.entityList = res.data.items
|
|
|
|
|
- console.log(this.entityList, 'this.entityList')
|
|
|
|
|
- this.currentItemCount = res.data.currentItemCount
|
|
|
|
|
- }).catch(err => {
|
|
|
|
|
- console.error(err)
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ this.checkstatus()
|
|
|
},
|
|
},
|
|
|
- initDatas () {
|
|
|
|
|
|
|
+ // 审核未通过
|
|
|
|
|
+ checkstatus () {
|
|
|
|
|
+ let _this = this
|
|
|
|
|
+ const params = _this.shenheForm
|
|
|
|
|
+ _this.$axios.post('/register/comaudit/', _this.formData, {params})
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ _this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message,
|
|
|
|
|
+ })
|
|
|
|
|
+ // 关闭dialog
|
|
|
|
|
+ _this.Auditshow = false
|
|
|
|
|
+ _this.dialogVisible = false
|
|
|
|
|
+ // 更新列表
|
|
|
|
|
+ _this.initDatas()
|
|
|
|
|
+ } else {
|
|
|
|
|
+ _this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ ensureOption() {
|
|
|
|
|
+ let _this = this
|
|
|
|
|
+ _this.$axios.post('/register/adduser/', _this.formData)
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ _this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message,
|
|
|
|
|
+ })
|
|
|
|
|
+ // 关闭dialog
|
|
|
|
|
+ _this.dialogVisible = false
|
|
|
|
|
+ // 更新列表
|
|
|
|
|
+ this.initDatas()
|
|
|
|
|
+ } else {
|
|
|
|
|
+ _this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ finishedData () {
|
|
|
// 分页及列表条件
|
|
// 分页及列表条件
|
|
|
let params = {
|
|
let params = {
|
|
|
_currentPage: this.currentPage,
|
|
_currentPage: this.currentPage,
|
|
@@ -267,10 +569,8 @@
|
|
|
}
|
|
}
|
|
|
// 查询条件
|
|
// 查询条件
|
|
|
Object.assign(params, this.searchForm)
|
|
Object.assign(params, this.searchForm)
|
|
|
- // 访问接口
|
|
|
|
|
- api.getTodoList(params, this.$axios).then(res => {
|
|
|
|
|
|
|
+ api.getMyTaskFinished(params, this.$axios).then(res => {
|
|
|
this.entityList = res.data.items
|
|
this.entityList = res.data.items
|
|
|
- console.log(this.entityList, 'this.entityList')
|
|
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
@@ -278,16 +578,28 @@
|
|
|
},
|
|
},
|
|
|
statusStr (val, type) {
|
|
statusStr (val, type) {
|
|
|
switch (val) {
|
|
switch (val) {
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return '审核通过'
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return '审核未通过'
|
|
|
case '':
|
|
case '':
|
|
|
return '待提交'
|
|
return '待提交'
|
|
|
case '0':
|
|
case '0':
|
|
|
return '待提交'
|
|
return '待提交'
|
|
|
case '1':
|
|
case '1':
|
|
|
- return '待初审'
|
|
|
|
|
|
|
+ if (type == '6') {
|
|
|
|
|
+ return '审核通过'
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return '待初审'
|
|
|
|
|
+ }
|
|
|
case '-1':
|
|
case '-1':
|
|
|
return '初审未通过'
|
|
return '初审未通过'
|
|
|
case '2':
|
|
case '2':
|
|
|
- return '待复审'
|
|
|
|
|
|
|
+ if (type == '6') {
|
|
|
|
|
+ return '审核未通过'
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return '待复审'
|
|
|
|
|
+ }
|
|
|
case '-2':
|
|
case '-2':
|
|
|
return '复审未通过'
|
|
return '复审未通过'
|
|
|
case '3':
|
|
case '3':
|